# HG changeset patch # User Matti Hamalainen # Date 1520984919 -7200 # Node ID 724fac3d21e9b34f68a255081552f3dab65286c9 # Parent d7d773f6b2462c9566afd9beacff81a8cd968a6e Use .imageBox class selector instead of more specific div.imageBox. diff -r d7d773f6b246 -r 724fac3d21e9 basic.css --- 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; }