From: Radek Czajka Date: Wed, 31 Jul 2019 11:46:48 +0000 (+0200) Subject: Fix ugly picture theme lists. X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/8861d28c171c5d759253c6b9ab48b7b10c40858c?ds=inline Fix ugly picture theme lists. --- diff --git a/src/wolnelektury/static/css/master.picture.css b/src/wolnelektury/static/css/master.picture.css index 43abda40a..cd55d4922 100644 --- a/src/wolnelektury/static/css/master.picture.css +++ b/src/wolnelektury/static/css/master.picture.css @@ -54,7 +54,20 @@ } .dropdown-body { + display: none; font-size: 0.8rem; - background-color: #444; + position: absolute; + left: 76px; + background-color: rgba(255, 255, 255, .8); + padding: 1em 1em 1em 0; + z-index: 500; + box-shadow: 1px 1px 10px black; +} + + +@media screen and (min-width: 37.5em) { + .dropdown-body { + left: 0; + } }