From 8861d28c171c5d759253c6b9ab48b7b10c40858c Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Wed, 31 Jul 2019 13:46:48 +0200 Subject: [PATCH 1/1] Fix ugly picture theme lists. --- src/wolnelektury/static/css/master.picture.css | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) 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; + } } -- 2.20.1