summaryrefslogtreecommitdiffstats
path: root/assets/css/main.css
blob: ebaf1ddbc78bffc28eee56b8eabbd81bdcc1b9a2 (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
body {
  font: 17px/1.6 sans-serif;
  text-rendering: optimizeLegibility;
  padding: 2rem;
  max-width: 70ch;
  margin: 0 auto;
}

h1, h2, h3, h4, h5 {
  font-size: inherit;
  font-weight: inherit;
  text-decoration: underline;
}

header h1 {
  display: inline;
}

pre, code {
  font-size: inherit;
  background: #eee;
}

pre {
  margin-bottom: 2rem;
}

pre code {
  display: block;
  border: none;
  padding: 1em;
  background: none;
  overflow-x: auto;
}

ol, ul {
  list-style: outside; 
  padding: 0;
  margin-left: 1em; 
}

#post-list {
  margin-left: 0;
}

#post-list li {
  list-style-type: none;
  display: flex;
  font-variant-numeric: tabular-nums;
}

#post-list li a {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#post-list a {
  text-decoration: none;
  color: inherit;
}

time {
  padding-right: 1rem;
}

blockquote {
  margin: 1em 0;
  padding: 0 2em;
  border-left: 3px solid #eee;
}

img {
  max-width: 100%;
}

a, a:visited {
  color: initial;
}