-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
executable file
·72 lines (59 loc) · 1.01 KB
/
style.css
File metadata and controls
executable file
·72 lines (59 loc) · 1.01 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
html, body {
--size: 20px;
--scale: 1;
font-family: DejavuMono, monospace;
max-width: 100ch;
}
div {
position: relative;
}
.margin {
margin: 1em 1ch;
}
html, body, h1, h2, h3, h4, h5, h6, p, pre {
margin: 0;
font-size: var(--real-size);
line-height: var(--real-size);
--real-size: calc(var(--size) * var(--scale));
}
p {
margin: 1em 0;
max-width: 60ch;
}
h1 {
--scale: 4;
}
h2 {
--scale: 3;
}
h3 {
--scale: 2;
}
h4 {
--scale: 2;
}
h5 {
--scale: 1.5;
}
.inline {
display: inline-block;
vertical-align: top;
}
.half {--scale: 0.5;}
.qr {--scale: 0.3;}
.grey {color: grey;}
.right {float:right;}
.highlight {background-color: yellow;}
.bold {font-weight:bold;}
@font-face {
font-family: FiraCode;
src: url(./Fira_Code_v6.2/woff/FiraCode-Regular.woff);
}
@font-face {
font-family: DejavuMono;
src: url(./fonts/DejaVuSansMono/DejaVuSansMNerdFont-Regular.ttf);
}
@font-face {
font-family: ComicMono;
src: url(./ComicMono.ttf);
}