summaryrefslogtreecommitdiffstats
path: root/public/base.css
blob: 716dcebbd52bf6d3a650ced52350d7f30c8f3031 (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
/* fonts */
@font-face {
  font-family: 'CMU Typewriter Text Variable Width';
  src: url('https://static.nomath.org/cmunvt.otf'); }
@font-face {
  font-family: 'CMU Typewriter Text Regular';
  src: url('https://static.nomath.org/cmuntt.otf'); }

/* layout */
* {
  box-sizing: border-box; }
html {
  width: 100%;
  max-width: 600px; }
body {
  margin: 10px; }

/* typography */
html {
  font: 16px 'CMU Typewriter Text Variable Width', serif;
  color: black;
  hyphens: auto; }
h1, h2, h3 {
  font-size: 1rem;
  font-weight: normal; }
h1 {
  font-weight: bold;
  font-style: italic; }
h1, h2, h3, p {
  margin-top: 10px;
  margin-bottom: 10px; }

/* links */
a:link, a:hover {
  color: coral; }
a:visited {
  color: chocolate; }
a:focus {
  outline: dashed darkorange; }

/* code */
pre, code {
  font: 16px 'CMU Typewriter Text Regular', serif;
  }