-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
55 lines (45 loc) · 960 Bytes
/
style.css
File metadata and controls
55 lines (45 loc) · 960 Bytes
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
:root {
--colour-primary: oklch(80% 0.1 190);
--colour-secondary: white;
--colour-action: oklch();
}
* {
margin: 0;
padding: 0;
}
body {
display: flex;
flex-direction: column;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
height: 100dvh;
justify-content: space-between;
}
header, footer {
background-color: var(--colour-primary);
color: var(--colour-secondary);
display: flex;
justify-content: center;
padding: 12px 0;
}
h1 {
font-weight: 400;
}
main {
display: flex;
flex-direction: column;
flex-grow: 1;
align-items: center;
padding: 24px;
}
section {
width: 100%;
@media (min-width: 1280px) {
max-width: 1280px;
}
@media (min-width: 1536px) {
max-width: 1536px;
}
}
section:not(:first-child) {
margin-top: 36px;
}