From 2d0952a550e9234eb8f2fc807e15b2e7e10ef870 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Tue, 3 Mar 2015 22:10:50 -0700 Subject: Navlink changes --- css/common.css | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'css/common.css') diff --git a/css/common.css b/css/common.css index c51fe31..50abb87 100644 --- a/css/common.css +++ b/css/common.css @@ -123,7 +123,7 @@ h2 { margin-top: -0.5em; margin-bottom: 1em; } -.dedication:before { +.dedication::before { content: 'for '; font-style: italic; } @@ -143,7 +143,7 @@ h2 { font-size: 10pt; font-style: italic; } -.epigraph-attrib:before { +.epigraph-attrib::before { content: '– '; } /* epigraph }}} */ @@ -153,20 +153,22 @@ nav .nextlink { float: right; text-align: right; } /* Properties both types of navlinks share */ nav .prevlink, nav .nextlink { margin: 0 0.5em; - max-width: 25%; + width: 20%; + display: block; font-size: 10pt; font-family: "Playfair Display", Georgia, serif; font-style: italic; text-transform: lowercase; height: 20px; overflow: hidden; + text-overflow: ellipsis; text-decoration: none; } -nav .prevlink:before { +nav .prevlink::before { content: ' «'; font-style: normal; } -nav .nextlink:after { +nav .nextlink::after { content: ' »'; font-style: normal; } -- cgit 1.4.1-21-gabe81