about summary refs log tree commit diff stats
path: root/css/_common.css
blob: 0e06824d5dc58eedfb19d716531229326888dbac (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
/* 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 {{{ */
body {
    font-family: Fira, sans-serif;
    font-size: 12pt;
}
.thing {
    max-width: 39em;
    margin: auto;
}

/* Links */
a:link {
    color: inherit;
    text-decoration: none;
}
a:visited {
    color: inherit;
    font-weight: lighter;
}
a:hover {
    color: blue;
    font-style: italic;
}
a:active {
    color: green;
}
/* }}} */
/* 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;
}
h2 {
    font-family: Fira, sans-serif;
    font-size: 14pt;
    font-weight: 600;
}
/* Epigraph & Dedication */
.epigraph {
    text-align: right;
}
.epigraph p {
    margin: 0;
}
.epigraph-attrib {
    text-align: right;
    margin-top: 0;
}
.epigraph-attrib:before {
    content: '– ';
}

.dedication {
    font-style: italic;
    text-align: right;
}
.dedication:before {
    content: 'for ';
    font-style: italic;
}
/* }}} */
/* Navigation {{{ */
nav {
    max-width: 39em;
    margin: auto;
    text-align: center;
}
/* }}} */