summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuliane Clausen <git@juliane-clausen.de>2014-08-07 15:02:16 +0200
committerJuliane Clausen <git@juliane-clausen.de>2014-08-07 15:02:16 +0200
commit4675eb6ff63edf0cecc2e9ec39f18bc62e32c006 (patch)
tree9d99713b6a4bbbb18704a5f3cdfaa13447f08087
parentbd2e122b3abe76fb2375e0e1aa1b1b287edc4509 (diff)
Created a non-fluid table class to fix the 100% width tables
-rw-r--r--Material/Elektronik/Preisliste.mdwn20
-rwxr-xr-xcss/local.css5
2 files changed, 15 insertions, 10 deletions
diff --git a/Material/Elektronik/Preisliste.mdwn b/Material/Elektronik/Preisliste.mdwn
index d2a40537..0c357bed 100644
--- a/Material/Elektronik/Preisliste.mdwn
+++ b/Material/Elektronik/Preisliste.mdwn
@@ -8,19 +8,19 @@ Folgende Komponenten haben wir im Angebot:
# Widerstände
-[[!table class="table table-hover" format="csv" file="Material/Elektronik/Preisliste-Widerstaende.csv"]]
+[[!table class="table table-hover table-nonfluid" format="csv" file="Material/Elektronik/Preisliste-Widerstaende.csv"]]
# Kondensatoren
-[[!table class="table table-hover" format="csv" file="Material/Elektronik/Preisliste-Kondensatoren.csv"]]
+[[!table class="table table-hover table-nonfluid" format="csv" file="Material/Elektronik/Preisliste-Kondensatoren.csv"]]
# Transistoren
-[[!table class="table table-hover" format="csv" file="Material/Elektronik/Preisliste-Transistoren.csv"]]
+[[!table class="table table-hover table-nonfluid" format="csv" file="Material/Elektronik/Preisliste-Transistoren.csv"]]
# LEDs
-[[!table class="table table-hover" format="csv" file="Material/Elektronik/Preisliste-LEDs.csv"]]
+[[!table class="table table-hover table-nonfluid" format="csv" file="Material/Elektronik/Preisliste-LEDs.csv"]]
# Spulen
@@ -28,11 +28,11 @@ Leider noch keine.
# Kabel
-[[!table class="table table-hover" format="csv" file="Material/Elektronik/Preisliste-Kabel.csv"]]
+[[!table class="table table-hover table-nonfluid" format="csv" file="Material/Elektronik/Preisliste-Kabel.csv"]]
# Motoren
-[[!table class="table table-hover" format="csv" file="Material/Elektronik/Preisliste-Motoren.csv"]]
+[[!table class="table table-hover table-nonfluid" format="csv" file="Material/Elektronik/Preisliste-Motoren.csv"]]
# Sensoren
@@ -40,16 +40,16 @@ Leider noch keine.
# Mikrocontroller
-[[!table class="table table-hover" format="csv" file="Material/Elektronik/Preisliste-Mikrocontroller.csv"]]
+[[!table class="table table-hover table-nonfluid" format="csv" file="Material/Elektronik/Preisliste-Mikrocontroller.csv"]]
# Mikrocontrollerteile
-[[!table class="table table-hover" format="csv" file="Material/Elektronik/Preisliste-Mikrocontrollerteile.csv"]]
+[[!table class="table table-hover table-nonfluid" format="csv" file="Material/Elektronik/Preisliste-Mikrocontrollerteile.csv"]]
# Displays
-[[!table class="table table-hover" format="csv" file="Material/Elektronik/Preisliste-Displays.csv"]]
+[[!table class="table table-hover table-nonfluid" format="csv" file="Material/Elektronik/Preisliste-Displays.csv"]]
# EL-Wire + Inverter
-[[!table class="table table-hover" format="csv" file="Material/Elektronik/Preisliste-EL-Inverter.csv"]]
+[[!table class="table table-hover table-nonfluid" format="csv" file="Material/Elektronik/Preisliste-EL-Inverter.csv"]]
diff --git a/css/local.css b/css/local.css
index db6e57e6..746e35c4 100755
--- a/css/local.css
+++ b/css/local.css
@@ -1,3 +1,8 @@
/* ikiwiki local style sheet */
/* Add local styling here, instead of modifying bootstrap.min.css. */
+
+/* Add this class to a bootstrap table to not make it take 100% of the width */
+.table-nonfluid {
+ width: auto;
+}