Mercurial > hg > mgallery
changeset 177:724fac3d21e9
Use .imageBox class selector instead of more specific div.imageBox.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 14 Mar 2018 01:48:39 +0200 |
parents | d7d773f6b246 |
children | fa0a19123601 |
files | basic.css |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/basic.css Wed Mar 14 01:47:44 2018 +0200 +++ b/basic.css Wed Mar 14 01:48:39 2018 +0200 @@ -163,22 +163,22 @@ /* * */ -div.imageBox { +.imageBox { text-align: center; } -div.imageBox img, +.imageBox img, div.imageCtrl img { border: 0.2em solid black; border-radius: 0.3em; } -div.imageBox a:hover img, div.imageBox a:active img, div.imageBox a:focus img, +.imageBox a:hover img, .imageBox a:active img, .imageBox a:focus img, div.imageCtrl a:hover img, div.imageCtrl a:active img, div.imageCtrl a:focus img { border: 0.2em solid white; } -.galleryEntry div.imageBox img { +.galleryEntry .imageBox img { box-shadow: 2px 2px 4px -2px black; }