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
|
:root {
--bg: white;
--bg-rgb: 255,255,255;
--fg: black;
--dialog-bg: white;
--dark-red: #910e0e;
--dark-blue: #6d99c6;
--error-highlight: rgb(179, 60, 60);
--selection: rgb(60, 179, 113);
--hover-selection: rgba(60, 179, 113, 0.85);
--delete: rgb(179, 60, 72);
--delete-faint: rgba(179, 60, 72, 0.6);
--link: royalblue;
--link-hover: #6d99c6;
--key-bg-base: #f2f2f2;
--key-bg-hover: white;
--key-bg-highlight: sandybrown;
--key-color-base: hsl(0, 0%, 30%);
--key-color-extreme: #313131;
--key-color-hover: white;
--code-bg: rgba(0, 0, 0, 0.15);
}
html {
font-family: sans-serif;
}
html, body {
width: 100vw;
height: 100vh;
overflow: auto;
padding: 0;
margin: 0;
background-color: var(--bg);
color: var(--fg);
}
h1, h2, h3, h4, h5, h6 {
font-family: Quicksand, avenir, sans-serif;
}
body[data-theme="dark"] {
color-scheme: dark;
--fg: white;
--bg: hsl(211, 31.9%, 13%);
--bg-rgb: 17,34,51;
--dialog-bg: hsl(210, 30%, 17%);
--key-bg-base: hsl(208.2, 23%, 25%);
--key-color-base: hsl(0, 0%, 90%);
--key-color-extreme: #e7e7e7;
}
@media (prefers-color-scheme: dark) {
body[data-theme="system"] {
color-scheme: dark;
--fg: white;
--bg: hsl(211, 31.9%, 13%);
--bg-rgb: 17,34,51;
--dialog-bg: hsl(210, 30%, 17%);
--key-bg-base: hsl(208.2, 23%, 25%);
--key-color-base: hsl(0, 0%, 90%);
--key-color-extreme: #e7e7e7;
}
}
h3 {
margin: 10px 0;
}
a { color: var(--link) }
a:hover { color: var(--link-hover) }
code {
background-color: var(--code-bg);
border-radius: 2px;
padding: .15em .3em .05em;
}
p {
line-height: 1.3rem;
}
#settings-bar {
position: absolute;
z-index: 5;
top: 10px;
right: 10px;
}
#settings-bar button {
background: none;
color: var(--fg);
border: none;
}
#settings-bar button:hover {
cursor: pointer;
color: royalblue;
}
.fa-delete-right::before {
content: '\f55a';
transform-origin: center;
transform: rotateZ(180deg);
display: inline-block;
}
|