-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
112 lines (93 loc) · 2.14 KB
/
main.css
File metadata and controls
112 lines (93 loc) · 2.14 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
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
:root {
--background: #181825;
--background-below: #11111b;
--background-above: #1e1e2e;
--background-above-above: #363a4f;
--accent-color: #beabee;
--accent-color-darker: lch(from var(--accent-color) calc(l - 15) c calc(h - 5));
--accent-color-lighter: lch(from var(--accent-color) calc(l + 15) c calc(h + 5));
--text-color: whitesmoke;
--text-color-title: hsl(from var(--accent-color) calc(h + 5) calc(s - 5) calc(l + 10));
--text-color-dark: hsl(from var(--accent-color) calc(h - 5) calc(s - 50) calc(l - 25));
--border-width: 2px;
--ease-out-quint: cubic-bezier(0.23, 1, 0.32, 1);
--ease-out-circ: cubic-bezier(0.075, 0.82, 0.165, 1);
}
*,
*::before,
*::after {
box-sizing: border-box;
}
html,
body {
/* text */
font-family: "Inter", sans-serif;
font-size: 16px;
line-height: 1.5;
/* colours */
color: var(--text-color);
background-color: var(--background-below);
/* screen */
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
body {
display: flex;
flex-direction: column;
}
header {
text-align: left;
padding: 0.5rem 1rem;
}
footer {
text-align: right;
padding: 0.5rem 1rem;
}
dialog {
background-color: var(--background);
border: var(--border-width) solid var(--background-above);
color: inherit;
max-width: 25vw;
}
p, h1, h2, h3, h4, h5 {
margin: 0.5rem 0;
}
h1, h2, h3, h4, h5 {
font-weight: 800;
color: var(--text-color-title);
}
a {
color: inherit;
text-decoration: underline transparent var(--border-width);
font-weight: bolder;
cursor: pointer;
transition: all var(--ease-out-circ) 0.75s;
&:link {
color: var(--accent-color);
}
&:visited {
color: var(--accent-color);
}
&:hover {
color: var(--accent-color-lighter);
text-decoration: underline var(--accent-color-lighter) var(--border-width);
font-weight: 900;
}
&.basic:hover {
text-decoration: transparent var(--border-width);
font-weight: bold;
}
}
svg {
width: 1em;
height: 1em;
color: currentColor;
fill: currentColor;
display: inline-block;
vertical-align: middle;
position: relative;
top: -0.1em;
}