-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
83 lines (73 loc) · 1.58 KB
/
main.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
@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@300&display=swap');
:root {
--primary-color: #be185d;
--secondary-color: #dd8bad;
--body-color: #f0d8e2;
--success-color: #27dd27;
--lit-green-color: #cbf1cb;
--warning-color: #f0e116;
--lit-yellow-color: #f1f1bc;
--failure-color: #f13c3c;
--lit-red-color: #f1bdbd;
--white-color: #fff;
--offwhite-color: #a1a5ad;
}
h1 {
color: var(--white-color);
}
body {
display: grid;
grid-template-areas: "head head" "nav main" "nav main";
grid-template-rows: 95px 1fr;
grid-template-columns: 260px 1fr;
background-color: var(--body-color);
font-family: 'Heebo', sans-serif;
}
body>header {
grid-area: head;
justify-content: space-between;
padding: 1% 87%;
min-width: 90%;
position: relative;
}
body>header>h2>a {
text-decoration: none;
color: var(--primary-color);
}
.body-contents {
/* display: flex; */
/* flex-direction: column; */
}
.sections {
grid-area: main;
border-radius: 15px;
padding: 8px 38px;
position: absolute;
background-color: var(--body-color);
}
.sideNav {
grid-area: nav;
position: fixed;
z-index: 1;
width: 20%;
height: 100%;
top: 0;
left: 0;
text-align: center;
background-color: var(--secondary-color);
padding: 5px 5px;
}
.sideNav>a {
text-decoration: none;
padding: 5px 5px;
color: var(--white-color);
font-weight: bold;
text-align: center;
}
.sideNav>hr {
color: var(--primary-color);
width: 70px;
}
body>main {
padding: 5px 15%;
}