summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Equipment/CNC_Portalfraese.mdwn2
-rwxr-xr-xcss/local.css10
2 files changed, 10 insertions, 2 deletions
diff --git a/Equipment/CNC_Portalfraese.mdwn b/Equipment/CNC_Portalfraese.mdwn
index a7ff7a74..efa242b8 100644
--- a/Equipment/CNC_Portalfraese.mdwn
+++ b/Equipment/CNC_Portalfraese.mdwn
@@ -54,7 +54,7 @@ Er würde sich freuen, wenn dieses Brett, das jetzt bei der Maschine im Eingang
## Die Maschine
-[[!img image4.jpg size="800x" alt="" class="thumbnail"]]
+[[!img image4.jpg size="800x" alt="" class="img-fill-container thumbnail"]]
[[Artikelbeschreibung der Technischen Fachschule Bern|Gravier-CNC-Ad_TF-Bern.pdf]]
diff --git a/css/local.css b/css/local.css
index a0b99951..2d557249 100755
--- a/css/local.css
+++ b/css/local.css
@@ -9,10 +9,18 @@
.urlwordbreakall {
word-break: break-all;
}
+
+/*
+.half-width-img have to table cols at 50% each and fit image in col
+*/
table.half-width-img th {
width: 50%;
}
-table.half-width-img img {
+/*
+.img-fill-container scale an image to fit container in x axis
+*/
+table.half-width-img img,
+.img-fill-container {
width: 100%;
height: auto;
}