diff options
Diffstat (limited to 'css/_common.css')
-rw-r--r-- | css/_common.css | 56 |
1 files changed, 50 insertions, 6 deletions
diff --git a/css/_common.css b/css/_common.css index 751b5de..0e06824 100644 --- a/css/_common.css +++ b/css/_common.css | |||
@@ -3,16 +3,22 @@ | |||
3 | * margins & widths | 3 | * margins & widths |
4 | * text sizes & font assignments | 4 | * text sizes & font assignments |
5 | * link rendering | 5 | * link rendering |
6 | * vim: fdm=marker | ||
6 | */ | 7 | */ |
7 | 8 | /* Import rules {{{ */ | |
8 | @import url("./fonts/playfair.css"); | 9 | @import url("./fonts/playfair.css"); |
9 | @import url("./fonts/fira.css"); | 10 | @import url("./fonts/fira.css"); |
10 | /* @import url("fonts/courier-prime.css"); | 11 | /* @import url("fonts/courier-prime.css"); |
11 | * ^^^^^^ for typewriter pages in Paul */ | 12 | * ^^^^^^ for typewriter pages in Paul */ |
12 | 13 | /* }}} */ | |
14 | /* Body & Links {{{ */ | ||
13 | body { | 15 | body { |
14 | font-family: Fira, serif; | 16 | font-family: Fira, sans-serif; |
15 | font-size: 14pt; | 17 | font-size: 12pt; |
18 | } | ||
19 | .thing { | ||
20 | max-width: 39em; | ||
21 | margin: auto; | ||
16 | } | 22 | } |
17 | 23 | ||
18 | /* Links */ | 24 | /* Links */ |
@@ -31,12 +37,19 @@ a:hover { | |||
31 | a:active { | 37 | a:active { |
32 | color: green; | 38 | color: green; |
33 | } | 39 | } |
34 | 40 | /* }}} */ | |
35 | /* Headings */ | 41 | /* Header section {{{ */ |
42 | header { | ||
43 | max-width: 39em; | ||
44 | margin: auto; | ||
45 | } | ||
46 | /* headings */ | ||
36 | h1.title { | 47 | h1.title { |
37 | font-family: Playfair, serif; | 48 | font-family: Playfair, serif; |
38 | font-size: 16pt; | 49 | font-size: 16pt; |
39 | font-weight: bold; | 50 | font-weight: bold; |
51 | letter-spacing: 0.1em; | ||
52 | text-transform: uppercase; | ||
40 | } | 53 | } |
41 | h1.subtitle { | 54 | h1.subtitle { |
42 | font-family: Playfair, serif; | 55 | font-family: Playfair, serif; |
@@ -48,3 +61,34 @@ h2 { | |||
48 | font-size: 14pt; | 61 | font-size: 14pt; |
49 | font-weight: 600; | 62 | font-weight: 600; |
50 | } | 63 | } |
64 | /* Epigraph & Dedication */ | ||
65 | .epigraph { | ||
66 | text-align: right; | ||
67 | } | ||
68 | .epigraph p { | ||
69 | margin: 0; | ||
70 | } | ||
71 | .epigraph-attrib { | ||
72 | text-align: right; | ||
73 | margin-top: 0; | ||
74 | } | ||
75 | .epigraph-attrib:before { | ||
76 | content: '– '; | ||
77 | } | ||
78 | |||
79 | .dedication { | ||
80 | font-style: italic; | ||
81 | text-align: right; | ||
82 | } | ||
83 | .dedication:before { | ||
84 | content: 'for '; | ||
85 | font-style: italic; | ||
86 | } | ||
87 | /* }}} */ | ||
88 | /* Navigation {{{ */ | ||
89 | nav { | ||
90 | max-width: 39em; | ||
91 | margin: auto; | ||
92 | text-align: center; | ||
93 | } | ||
94 | /* }}} */ | ||