-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
122 lines (106 loc) · 1.59 KB
/
style.css
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
122
/* slightly adapted from https://codepen.io/dredmorbius/pen/KpMqqB */
html {
font-size: 22px;
}
body {
background-color: #fffff6;
color: #330;
font-family: georgia, times, serif;
margin: 2rem auto 8rem;
max-width: 40em;
padding: 0 2em;
width: auto;
font-size: 1rem;
line-height: 1.4;
}
a {
color: #1e6b8c;
font-size: 1em;
text-decoration: none;
transition-delay: 0.1s;
transition-duration: 0.3s;
transition-property: color, background-color;
transition-timing-function: linear;
}
a:visited {
color: #6f32ad;
font-size: 1em;
}
a:hover {
background: #f0f0ff;
font-size: 1em;
text-decoration: underline;
}
a:active {
background-color: #427fed;
color: #fffff6;
color: white;
font-size: 1em;
}
h1,
h2,
h3,
h4,
h5,
h6 {
color: #703820;
font-weight: bold;
line-height: 1.2;
margin-bottom: 1em;
margin-top: 2em;
}
h1 {
font-size: 1.45em;
text-align: center;
}
h2 {
font-size: 1.6em;
border-bottom: solid 0.1rem #703820;
}
h3 {
font-size: 1.5em;
}
h4 {
font-size: 1.3em;
text-decoration: underline;
}
h5 {
font-size: 1.2em;
font-style: italic;
}
h6 {
font-size: 1.1em;
margin-bottom: 0.5rem;
color: #330;
}
pre,
code,
xmp {
font-family: courier;
font-size: 1.1rem;
line-height: 1.4;
white-space: pre-wrap;
}
img {
margin: 2em auto;
padding: 1em;
outline: solid 1px #ccc;
max-width: 90%;
}
/* smooth scroll */
html {
scroll-behavior: smooth;
}
/* table of contents */
#toc {
position: fixed;
left: 2em;
top: 2em;
font-size: 0.9em;
max-width: 30em;
}
#github {
position: absolute;
right: 2em;
top: 2em;
}