forked from zero-to-mastery/book-tracker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
68 lines (59 loc) · 1.19 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
/* Declaring CSS Varibales for colors below */
:root {
--header-color: #FF7167; /*Pinkish color*/
--header-color2: #2d2c2e;
--body-color: #f2f2f2; /*Grey*/
--primary-color: #74CEFF; /*Light Bluish Color*/
--secondary-color: #92FF86; /*Greenish Color*/
--alt-color: #FFE28F; /*Light Brownish color*/
}
*{
margin: 0;
padding: 0;
}
#body_wrapper {
display:grid;
height: 100%;
width: 100%;
grid-auto-columns: repeat(6, 1fr);
grid-template-rows: auto auto auto;
grid-template-areas:
"header header header header header header"
"body body body body body body"
"footer footer footer footer footer footer"
}
#header {
grid-area: header;
background-color: var(--header-color2);
height: 100px;
display: flex;
align-items: center;
}
#menu-items {
padding-left: 12%;
width: 100%;
}
#menu_item {
text-decoration: none;
font-size: 1.1em;
font-weight: bold;
color: var(--header-color) !important;
padding-left: 10px;
}
#menu_item:hover {
color: var(--alt-color) !important;
}
#logo {
height: 100px;
/* width: 100px; */
padding-left: 20px;
}
#body {
grid-area: body;
background-color: var(--body-color);
height: 100vh;
padding: 25px;
}
#heading {
font-family: 'Raleway', sans-serif;
}