-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathmain.css
66 lines (56 loc) · 958 Bytes
/
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
* {
box-sizing: border-box;
}
body {
font-family: sans-serif;
margin: 0;
display: grid;
grid-template-columns: 30% auto;
grid-template-rows: 60px auto 60px;
grid-template-areas: "hd hd"
"sidebar main"
"footer footer";
}
header,
aside,
main,
footer {
padding: 16px;
text-align: center;
}
header {
background: #521751;
grid-area: hd;
}
aside {
background: #fa923f;
grid-area: sidebar;
}
main {
grid-area: main;
}
footer {
background: black;
grid-area: footer;
}
.navigation-list {
list-style: none;
margin: 0;
padding: 0;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
height: 100%;
}
.navigation-item {
margin: 0 10px;
}
.navigation-item a {
text-decoration: none;
color: white;
}
.navigation-item a:hover,
.navigation-item a:active {
color: #fa923f;
}