-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathglobal.css
More file actions
119 lines (94 loc) · 1.74 KB
/
global.css
File metadata and controls
119 lines (94 loc) · 1.74 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
116
117
118
119
/* resets */
body {
margin: 0;
}
ul {
list-style: none;
padding: 0;
margin: 0;
}
h1,
h2,
h3,
h4 {
margin: 0;
}
a {
text-decoration: none;
text-decoration-color: none;
color: unset;
}
input {
outline: unset;
border: unset;
background: unset;
color: unset;
}
/* ########################### */
/* ###### END OF RESETS ###### */
/* ########################### */
/* ########################### */
/* #### START OF DEFAULTS #### */
*,
*::before,
*::after {
box-sizing: border-box;
}
svg {
/* width: 100%; */
height: 100%;
}
/* ##### END OF DEFAULTS ##### */
/* ########################### */
/* ########################### */
/* ##### START OF UTILS ###### */
/* ########################### */
.flex-spacer {
flex: 1;
}
/* ########################### */
/* ###### END OF UTILS ####### */
/* ########################### */
:root {
--blue: #25bffd;
--red: #ff1460;
--green: #06fdaf;
--yellow: #fce44b;
--purple: #ae23db;
}
body {
background-color: var(--background-color);
color: var(--text-color);
scroll-behavior: smooth;
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
header {
grid-area: header;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: var(--size-8) var(--size-9);
nav ul {
display: flex;
gap: var(--size-8);
font-weight: 600;
font-size: var(--size-5);
}
a > * {
display: inline;
vertical-align: middle;
}
& > *:not(:last-child) {
margin-bottom: var(--size-7);
}
}
header img {
height: var(--size-10);
margin-right: var(--size-6);
}
svg.icon {
width: var(--size-5);
aspect-ratio: 1/1;
}