summaryrefslogtreecommitdiff
path: root/site.css
blob: 48f2d0f41798d5574a93196a69858a9e60a2858e (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
 /* site.css -- 6.947 CSS rules
  * Copyright (C) 2013  Benjamin Barenblat <bbaren@mit.edu>
  *
  * This file is a part of 6.947.
  *
  * 6.947 is is free software: you can redistribute it and/or modify it under
  * the terms of the GNU Affero General Public License as published by the Free
  * Software Foundation, either version 3 of the License, or (at your option)
  * any later version.
  *
  * 6.947 is distributed in the hope that it will be useful, but WITHOUT ANY
  * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
  * FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for
  * more details.
  *
  * You should have received a copy of the GNU Affero General Public License
  * along with 6.947.  If not, see <http://www.gnu.org/licenses/>. */

@import url("//bbaren.scripts.mit.edu/urweb/6.947/normalize.css");

/* Base color: black
 * Background color: white
 * Highlight color: hsl(10, 90%, 35%);
 * Mute color: hsl(0, 0%, 65%);
 * Hiding color: hsl(0, 0%, 85%) */

html {
    font-family: "TeX Gyre Pagella", TeXGyrePagella, Palatino, "Palatino Linotype", serif;
    background: white;
}

a:link, a:visited {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dotted hsl(0, 0%, 85%);
}
a:hover, a:active {
    color: hsl(0, 90%, 35%);
    border-bottom: 1px dotted hsl(340, 90%, 40%);
}

.smallCaps {
    font-variant: small-caps;
}

.siteTitle,
.content,
.footer {
    margin-left: 12.5%;
}

.content,
.footer {
    max-width: 70%;
}

.content p,
.footer p {
    max-width: 30em;
    text-align: justify;
}


.siteTitle {
    font-size: 4em;
    margin-top: 0;
    margin-bottom: 0;
}
.siteTitle:after {
    color: hsl(0, 0%, 85%);
    content: " ❧";
}
.siteTitle a:link {
    border-bottom: none;
}

ul.navBar {
    list-style-type: none;
    padding: 0 17%;
    border-bottom: 1px solid black;
}
ul.navBar li {
    display: inline;
    margin-right: 1em;
    padding: 0 0.5em;
    border: 1px solid black;
}
ul.navBar li.active {
    border-bottom: 1px solid white;
}
ul.navBar a:link {
    border-bottom: none;
}

h2 {
    font-size: 2.5em;
    margin-bottom: 0;
}

h3 {
    font-size: 1.15em;
    margin: 0;
}

.dropcap:first-letter {
    color: hsl(0, 90%, 35%);
    font-size: 3.3em;
    padding-right: 0.03em;
    line-height: 1em;
}

.content:after {
    margin-left: 0.75em;
    color: hsl(0, 0%, 85%);
    content: " ❦";
}

.footer {
    margin-top: 3em;
    color: hsl(0, 0%, 85%);
}