forked from sa-pardo/html5-semantic-tags
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
82 lines (69 loc) · 1.19 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
76
77
78
79
80
81
82
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
width: 100vw;
height: 100vh;
padding: 30px;
font-family: 'Poppins', sans-serif;
font-size: 20px;
background-color: #fff;
}
.container {
display: grid;
grid-template-areas:
"header header header"
"main main navigation"
"main main aside"
"footer footer footer";
/* grid-template-columns: 1fr 1fr 1fr; */
grid-template-rows: 20% 5% 65% 10%;
column-gap: 10px;
row-gap: 16px;
height: 95%;
}
.container * {
border-radius: 10px;
padding: 10px;
}
.header {
grid-area: header;
background-color: #df5c53;
}
.navigation {
grid-area: navigation;
background-color: #eafa73;
}
.aside {
grid-area: aside;
background-color: #13b6c5;
}
.main {
grid-area: main;
background-color: #3993DD;
height: 100%;
padding: 10px;
}
.article {
background-color: #44CF6C;
margin: 10px;
height: 20rem;
}
.second-article {
height: 27%;
}
.section {
background-color: #A9FDAC;
margin: 10px;
height: 5rem;
}
.footer-main {
background-color: #E0ACD5;
}
.footer {
grid-area: footer;
background-color: #E0ACD5;
}