From 1255eac7d9c0b0cdd364cde82e25ad99cb1471b1 Mon Sep 17 00:00:00 2001 From: Zhiming Wang Date: Fri, 2 Sep 2016 15:31:18 +0800 Subject: Move nav-title and nav-author to :before This is so that when CSS is disabled, the nav component is hidden entirely instead of being displayed as two lines: dl? cmplnts? by Zhiming Wang This for one makes the site look slightly nicer in text-based browsers, e.g. w3m. --- source/css/theme.css | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'source/css/theme.css') diff --git a/source/css/theme.css b/source/css/theme.css index 3a77d7f3..01b666d4 100644 --- a/source/css/theme.css +++ b/source/css/theme.css @@ -67,14 +67,20 @@ only screen and ( min-resolution: 1.25dppx) { font-size: 17px; font-weight: bold; margin: 2px 0 1px 0; + text-decoration: none; +} + +.nav-title:before { + content: "dl? cmplnts?"; } .nav-author { font-size: 13px; + text-decoration: none; } -.nav-link { - text-decoration: none; +.nav-author:before { + content: "by Zhiming Wang"; } .content, .content-separator, .footer { -- cgit v1.2.1