diff options
Diffstat (limited to 'css')
-rw-r--r-- | css/common.css | 12 | ||||
-rw-r--r-- | css/paul.css | 2 | ||||
-rw-r--r-- | css/prose.css | 3 |
3 files changed, 10 insertions, 7 deletions
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 { | |||
123 | margin-top: -0.5em; | 123 | margin-top: -0.5em; |
124 | margin-bottom: 1em; | 124 | margin-bottom: 1em; |
125 | } | 125 | } |
126 | .dedication:before { | 126 | .dedication::before { |
127 | content: 'for '; | 127 | content: 'for '; |
128 | font-style: italic; | 128 | font-style: italic; |
129 | } | 129 | } |
@@ -143,7 +143,7 @@ h2 { | |||
143 | font-size: 10pt; | 143 | font-size: 10pt; |
144 | font-style: italic; | 144 | font-style: italic; |
145 | } | 145 | } |
146 | .epigraph-attrib:before { | 146 | .epigraph-attrib::before { |
147 | content: '– '; | 147 | content: '– '; |
148 | } | 148 | } |
149 | /* epigraph }}} */ | 149 | /* epigraph }}} */ |
@@ -153,20 +153,22 @@ nav .nextlink { float: right; text-align: right; } | |||
153 | /* Properties both types of navlinks share */ | 153 | /* Properties both types of navlinks share */ |
154 | nav .prevlink, nav .nextlink { | 154 | nav .prevlink, nav .nextlink { |
155 | margin: 0 0.5em; | 155 | margin: 0 0.5em; |
156 | max-width: 25%; | 156 | width: 20%; |
157 | display: block; | ||
157 | font-size: 10pt; | 158 | font-size: 10pt; |
158 | font-family: "Playfair Display", Georgia, serif; | 159 | font-family: "Playfair Display", Georgia, serif; |
159 | font-style: italic; | 160 | font-style: italic; |
160 | text-transform: lowercase; | 161 | text-transform: lowercase; |
161 | height: 20px; | 162 | height: 20px; |
162 | overflow: hidden; | 163 | overflow: hidden; |
164 | text-overflow: ellipsis; | ||
163 | text-decoration: none; | 165 | text-decoration: none; |
164 | } | 166 | } |
165 | nav .prevlink:before { | 167 | nav .prevlink::before { |
166 | content: ' «'; | 168 | content: ' «'; |
167 | font-style: normal; | 169 | font-style: normal; |
168 | } | 170 | } |
169 | nav .nextlink:after { | 171 | nav .nextlink::after { |
170 | content: ' »'; | 172 | content: ' »'; |
171 | font-style: normal; | 173 | font-style: normal; |
172 | } | 174 | } |
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 { | |||
23 | blockquote ul { | 23 | blockquote ul { |
24 | list-style-type: none; | 24 | list-style-type: none; |
25 | } | 25 | } |
26 | blockquote ul li:before { | 26 | blockquote ul li::before { |
27 | content: '- '; | 27 | content: '- '; |
28 | } | 28 | } |
29 | 29 | ||
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 @@ | |||
10 | hyphens: auto; | 10 | hyphens: auto; |
11 | -moz-hyphens: auto; | 11 | -moz-hyphens: auto; |
12 | } | 12 | } |
13 | .prose p:first-child::first-line { | 13 | .prose p::first-child::first-line { |
14 | font-variant: small-caps; | 14 | font-variant: small-caps; |
15 | letter-spacing: 0.1em; | ||
15 | } | 16 | } |