summaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authorCedric Spindler <cedric.spindler@gmail.com>2019-09-06 09:08:05 +0200
committerCedric Spindler <cedric.spindler@gmail.com>2019-09-06 09:08:05 +0200
commite47424fdef341990b69a8d14721d3feb93cd6da1 (patch)
treeddf6b292e927c45c41f63ff873dbd630c5d8af00 /css
parent69e03ffde1e94af6f579c363969d3403c468ed6a (diff)
Add class to let image fill container in x
Diffstat (limited to 'css')
-rwxr-xr-xcss/local.css10
1 files changed, 9 insertions, 1 deletions
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;
}