-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
122 lines (105 loc) · 2.09 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
:root {
--primary-50: #fafafa;
--primary-100: #f4f4f5;
--primary-200: #e4e4e7;
--primary-300: #d4d4d8;
--primary-400: #a1a1aa;
--primary-500: #71717a;
--primary-600: #52525b;
--primary-700: #3f3f46;
--primary-800: #27272a;
--primary-900: #18181b;
--primary-950: #09090b;
--secondary-50: #faf5ff;
--secondary-100: #f3e8ff;
--secondary-200: #e9d5ff;
--secondary-300: #d8b4fe;
--secondary-400: #c084fc;
--secondary-500: #a855f7;
--secondary-600: #9333ea;
--secondary-700: #7e22ce;
--secondary-800: #6b21a8;
--secondary-900: #581c87;
--secondary-950: #3b0764;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
line-height: 1.5;
}
a {
color: inherit;
text-decoration: none;
}
button,
input {
background-color: transparent;
color: inherit;
font-family: inherit;
font-size: inherit;
font-weight: inherit;
line-height: inherit;
border: none;
cursor: pointer;
}
input {
cursor: text;
}
body {
background-color: var(--primary-100);
color: var(--primary-900);
font-family: "Space Grotesk", sans-serif;
}
body.dark {
background-color: var(--primary-900);
color: var(--primary-100);
}
#header {
position: sticky;
top: 0.5rem;
display: flex;
align-items: center;
margin: 0.5rem;
padding: 0.5rem;
height: 3rem;
border-radius: 0.25rem;
background-color: var(--primary-200);
box-shadow: 0 4px 8px rgba(0, 0, 0, 30%);
user-select: none;
}
.dark #header {
background-color: var(--primary-800);
}
#header > a {
font-size: 2rem;
font-weight: 700;
}
.header-button {
display: flex;
align-items: center;
justify-content: center;
margin-left: 0.25rem;
padding: 0.25rem;
border-radius: 0.25rem;
transition: 150ms background-color ease;
}
.header-button:hover {
background-color: var(--primary-300);
}
.dark .header-button:hover {
background-color: var(--primary-700);
}
.header-button:active {
background-color: var(--primary-400);
transition: none;
}
.dark .header-button:active {
background-color: var(--primary-600);
}
.header-button:nth-of-type(1) {
margin-left: auto;
}
.hidden {
display: none;
}