-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
115 lines (96 loc) · 1.65 KB
/
style.css
File metadata and controls
115 lines (96 loc) · 1.65 KB
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
@font-face {
font-family: "ZedPlexMono";
/* src: url("ZedPlexSans-Regular.ttf"); */
src: url("files/ZedPlexMono.ttf");
}
:root {
/* --font-color: #2C2E3A; */
/* --main-bg-color: #E2E2E3; */
--main-bg-color: #2C2E3A;
--font-color: #E2E2E3;
--code-color: #ECC664;
--btn-color: #B39DF3;
}
html {
font-family: 'ZedPlexMono', serif, monospace, sans-serif;
background-color: var(--main-bg-color);
color: var(--font-color);
}
main {
max-width: 800px;
margin: auto;
}
h1 {
margin-top: 32px;
}
h1,
h2 {
color: #76CCE0;
}
h2 {
margin-top: 32px;
margin-bottom: 32px;
}
h4 {
margin-left: 60px;
margin-bottom: -10px;
}
p {
margin: 0;
}
a {
color: #B39DF3;
}
code {
color: var(--code-color);
background-color: #354157;
font-size: 16px;
padding: 0 8px;
}
ul#publications,
ul#teaching,
ul#talk {
padding: 0;
}
ul#publications li,
ul#teaching li,
ul#talk li {
list-style: none;
display: flex;
margin: 2em 1em;
}
ul#publications li::before,
ul#teaching li::before,
ul#talk li::before {
width: 1em;
height: 1em;
margin-right: 1.5em;
}
ul#publications li::before {
content: url("files/svg/file-text.svg");
}
ul#teaching li::before {
content: url("files/svg/school.svg");
}
ul#talk li::before {
content: url("files/svg/presentation.svg");
}
ul#talk li p:first-of-type a {
color: var(--font-color);
}
p.btn {
margin-top: 0.5em;
}
p.btn a {
color: var(--btn-color);
transition: color 0.3s, background-color 0.3s, text-decoration-color 0.3s;
border: 1px solid var(--btn-color);
border-radius: 0.25em;
text-decoration: none;
padding: 0.3em;
font-size: small;
}
p.btn a:hover {
color: var(--main-bg-color);
background-color: var(--btn-color);
}