about summary refs log tree commit diff stats
path: root/css/_common.css
blob: 19fdf9de41368e40fe88a192de7aa770eba53a5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
/* Common CSS for all of Autocento at the breakfast table
 * should include ONLY the following:
 * margins & widths
 * text sizes & font assignments
 * link rendering
 * vim: fdm=marker
 */
/* Import rules {{{ */
@import url("./fonts/playfair.css");
@import url("./fonts/fira.css");
/* @import url("fonts/courier-prime.css");
 * ^^^^^^ for typewriter pages in Paul */
/* }}} */
/* Body & Links {{{ */
html, body {
    font-family: Fira, sans-serif;
    font-size: 12pt;
    margin: 0;
    padding: 0;
    height: 100%;
}
#wrapper { /*makes sure nav is at bottom of window*/
    min-height: 100%;
    position: relative;
}
.thing {
    max-width: 39em;
    margin: auto;
    padding-bottom: 3em; /*height of nav*/
}
/* Tables */
table { border-collapse: collapse; }
td {
    vertical-align: top;
}
tr {
    border-bottom: 1px solid #aaa;
}
/* Links */
a:link {
    color: inherit;
    text-decoration: underline;
}
a:visited {
    color: inherit;
}
a:hover {
    text-decoration: underline;
}
a:active {
    text-decoration: underline;
}
/* }}} */
/* Header section {{{ */
header {
    max-width: 39em;
    margin: auto;
}
/* headings */
h1.title {
    font-family: Playfair, serif;
    font-size: 16pt;
    font-weight: bold;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
h1.subtitle {
    font-family: Playfair, serif;
    font-size: 15pt;
    font-style: italic;
    position: relative;
    top: -0.5em;
}
h2 {
    font-family: Fira, sans-serif;
    font-size: 14pt;
    font-weight: 600;
}
/* Epigraph & Dedication */
.dedication {
    font-style: italic;
    font-size: 10pt;
    margin-top: -0.5em;
    margin-bottom: 1em;
}
.dedication:before {
    content: 'for ';
    font-style: italic;
}

.epigraph {
    text-align: right;
    font-size: 10pt;
    font-style: italic;
}
.epigraph p {
    margin: 0;
}
.epigraph-attrib {
    text-align: right;
    margin-top: 0;
    font-size: 10pt;
    font-style: italic;
}
.epigraph-attrib:before {
    content: '– ';
}
/* }}} */
/* Navigation {{{ */
nav {
    width: 100%;
    height: 3em;
    position: absolute;
    bottom: 0;
    left: 0;
    text-align: center;
}
nav .prevlink:before {
    content: '« '
}
nav .nextlink:after {
    content: ' »'
}
/* }}} */