Mercurial > hg > mgallery
changeset 227:a57b5fa51e07
Attempt to get rid of the hard-coded pixel sizes for thumbnails in the stylesheet.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 26 Mar 2018 14:56:15 +0300 |
parents | 5b57d442cc11 |
children | a0a1fe8d2fe0 |
files | basic.css |
diffstat | 1 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/basic.css Mon Mar 26 14:55:34 2018 +0300 +++ b/basic.css Mon Mar 26 14:56:15 2018 +0300 @@ -151,14 +151,12 @@ } div.galleryEntry { - min-width: 145px; - width: 15em; + width: 12em; padding: 1em; text-align: center; } div.galleryEntry img { - min-width: 145px; width: 100%; } @@ -227,7 +225,7 @@ div.imageCtrl { position: absolute; - min-width: 150px; + min-width: 10em; width: 14%; top: 0; bottom: 0; @@ -256,6 +254,7 @@ position: relative; display: block; margin: auto; + width: 85%; }