aboutsummaryrefslogtreecommitdiff
path: root/source/css/theme.css
diff options
context:
space:
mode:
authorZhiming Wang <zmwangx@gmail.com>2016-09-02 15:31:18 +0800
committerZhiming Wang <zmwangx@gmail.com>2016-09-02 15:31:18 +0800
commit1255eac7d9c0b0cdd364cde82e25ad99cb1471b1 (patch)
treecd8bd9ac43be633f89dd424a6dd13391351bc2a5 /source/css/theme.css
parent24d78c8f76d091b44edc773e8465ea31431d0c20 (diff)
downloadmy_new_personal_website-1255eac7d9c0b0cdd364cde82e25ad99cb1471b1.tar.xz
my_new_personal_website-1255eac7d9c0b0cdd364cde82e25ad99cb1471b1.zip
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.
Diffstat (limited to 'source/css/theme.css')
-rw-r--r--source/css/theme.css10
1 files changed, 8 insertions, 2 deletions
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 {