From 8558bcda00c4ec0fb953ff64e4b44e985b37951e Mon Sep 17 00:00:00 2001 From: paul Date: Wed, 12 Oct 2016 10:11:51 +0000 Subject: [PATCH] tabbing in quicklinks, small screen menu svn path=/trunk/; revision=153 --- static/common.css | 9 +++++---- templates/quicklinks.html.sh | 20 +++++++++++++++++--- 2 files changed, 22 insertions(+), 7 deletions(-) diff --git a/static/common.css b/static/common.css index 94c0c29..ede3339 100644 --- a/static/common.css +++ b/static/common.css @@ -115,16 +115,17 @@ body.playctl:before { input[name=topmenu] {display: none;} input[name=topmenu] + label { position: relative; - top: -3em; - max-width: 25%; - margin: .5em 0 0 0; + top: -2.5em; display: inline-block; text-decoration: none; - padding: .5em 1.5em; + padding: .5em .5em; line-height: 1.25em; transition: none; border: 1px none #FFF; + text-align: center; } +@media (min-width: 620px){input[name=topmenu] + label { padding: .5em 1.5em; }} + input[name=topmenu]:checked + label { background-color: #333; margin-left: -1px; margin-top: -1px; diff --git a/templates/quicklinks.html.sh b/templates/quicklinks.html.sh index d85b595..099916c 100755 --- a/templates/quicklinks.html.sh +++ b/templates/quicklinks.html.sh @@ -16,6 +16,7 @@ # along with Serve0 If not, see . cat <