-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
75 lines (60 loc) · 1.4 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
/* CSS ordering broadly following: https://9elements.com/css-rule-order/ */
:root {
--colour-gray: #d7d7d7;
--colour-dark-gray: #cccccc;
--colour-red: #ffaaaa;
--colour-orange: #ffc089;
--colour-yellow: #ffe18b;
--colour-green: #c8df91;
--colour-turqoise: #98eccc;
--colour-blue: #9dd6ff;
--colour-purple: #c9c5ff;
--colour-pink: #ffa4d0;
}
body {
align-items: center;
flex-direction: column;
display: flex;
font-family: 'Noto Sans', sans-serif;
}
.page-header {
justify-content: center;
display: flex;
margin: 0.5rem;
border-radius: 1em;
border: 2px solid var(--colour-gray);
width: clamp(320px, 80%, 50rem);
background-color: var(--colour-gray);
}
.nav-item {
border-radius: 1em;
padding-left: 0.5em;
padding-right: 0.5em;
color: inherit;
text-decoration: inherit;
&:hover {
background-color: var(--colour-dark-gray);
}
}
.page-main {
align-items: center;
flex-direction: column;
display: flex;
width: clamp(280px, 75%, 50rem);
}
.card {
margin: 0.5rem;
border-radius: 3px;
border: 2px solid var(--card-colour, var(--colour-red));
& .card-header {
margin: 0px;
padding: 0.2em;
background-color: var(--card-colour, var(--colour-red));
& h3 {
margin: 0px;
}
}
& .card-body {
padding: 0.2em;
}
}