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

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

header h1 {
  display: inline;
  overflow: hidden;
  margin: 0;
}

pre, code {
  font-size: 95%;
  background: #005577;
  color: #eeeeee;
  line-height: 1.5; 
  border-radius: 4px; 
}

.pre-no-style {
  display: block;
  border: none;
  background: none;
  color: inherit;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

pre::-webkit-scrollbar {
  display: none;
}

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

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;
  min-width: 0;
}

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

time {
  padding-right: 1rem;
  white-space: nowrap;
}

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

img {
  max-width: 100%;
}

a, a:visited {
  color: initial;
}

footer {
  margin-top: 2rem;
  font-size: 0.85em;
  color: #888;
}

footer a,
footer a:visited {
  color: #888;
}