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 +++++++----- css/paul.css | 2 +- css/prose.css | 3 ++- 3 files changed, 10 insertions(+), 7 deletions(-) (limited to '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; } diff --git a/css/paul.css b/css/paul.css index 4c2f28d..badac15 100644 --- a/css/paul.css +++ b/css/paul.css @@ -23,7 +23,7 @@ blockquote p::first-line { blockquote ul { list-style-type: none; } -blockquote ul li:before { +blockquote ul li::before { content: '- '; } diff --git a/css/prose.css b/css/prose.css index 053b446..9287279 100644 --- a/css/prose.css +++ b/css/prose.css @@ -10,6 +10,7 @@ hyphens: auto; -moz-hyphens: auto; } -.prose p:first-child::first-line { +.prose p::first-child::first-line { font-variant: small-caps; + letter-spacing: 0.1em; } -- cgit 1.4.1-21-gabe81