From: paul Date: Mon, 3 Aug 2015 08:30:27 +0000 (+0000) Subject: display improvements for small screens X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=a20243ee10172ff9a661275dff0e4c07b1db947c;p=serve0 display improvements for small screens svn path=/trunk/; revision=75 --- diff --git a/templates/common.css.sh b/templates/common.css.sh index da390b5..b8c7ec4 100755 --- a/templates/common.css.sh +++ b/templates/common.css.sh @@ -164,7 +164,7 @@ a.clearsearch, a.show, .pagination_nav { vertical-align: top; word-wrap: break-word; } -@media (min-width: 480px){#thumblist .thumb{width: 50%;}} +@media (min-width: 480px){#thumblist .thumb{width: 49.5%;}} @media (min-width: 640px){#thumblist .thumb{width: 33%;}} @media (min-width: 1024px){#thumblist .thumb{width: 256px;}} @@ -187,10 +187,16 @@ a.clearsearch, a.show, .pagination_nav { margin: .75em .5em; } -#tagger { display: none; } -#tagger:target { +#tagger, +#preferences { + display: none; +} +#tagger:target, +#preferences:target { display: block; z-index: 1; + max-height: 100%; + overflow-y: scroll; } #tagger .newtag select, #tagger .newtag .label{ @@ -198,11 +204,6 @@ a.clearsearch, a.show, .pagination_nav { width: 10em; } -#preferences { display: none; } -#preferences:target { - display: block; - z-index: 1; -} #preferences > fieldset { border: solid 1px; border-radius: .25em;