generated from imd1005-web-development-winter-2023/assignment-03-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
55 lines (48 loc) · 985 Bytes
/
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
/*
CSS File
*/
/*
VARIABLES
*/
:root {
/* Core colours */
/* https://coolors.co/palette/e63946-f1faee-a8dadc-457b9d-1d3557 */
--colour-amaranth: #e63946;
--colour-peppermint: #f1faee;
--colour-aquaisland: #a8dadc;
--colour-wedgewood: #457b9d;
--colour-cello: #1d3557;
/* Header configuration */
--header-heading-colour: var(--colour-peppermint);
/* Body configuration */
--body-default-colour: var(--colour-cello);
--body-background-colour: var(--colour-peppermint);
}
/*
PAGE / BODY
*/
body {
font-family: Arial, Helvetica, sans-serif;
color: var(--body-default-colour);
background-color: var(--body-background-colour);
}
main {
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
/*
Screen reader text utility class
*/
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border-width: 0;
}