-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgrid_style.css
More file actions
109 lines (84 loc) · 1.14 KB
/
grid_style.css
File metadata and controls
109 lines (84 loc) · 1.14 KB
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
*{
margin: 0;
padding: 0;
}
body{
background-color: #E3E9C2;
display: flex;
place-items: center;
min-height: 100vh;
}
main {
display: grid;
max-width: 100vw;
grid-gap: 10px;
width: 50%;
margin: auto;
background-color: #1A1C28;
padding: 20px 150px 30px 40px;
}
main div{
padding: 2em;
}
.container{
grid-template-areas:
'a a b'
'd c c '
'd e e';
margin-top: 150px;
margin-bottom: 100px;
}
.box1{
background-color: #EB5020;
grid-area: a;
}
.box2{
background-color: #FFA401;
grid-area: b;
}
.box3{
background-color: #FFA401;
grid-area: c;
height: 50px;
}
.box4{
background-color: #05AA42;
grid-area: d;
height: 200px;
}
.box5{
background-color: #01AEFD;
grid-area: e;
height: 70px;
}
.box1, .box2{
height: 100px;
}
header{
background-color: #555B6E;
position: fixed;
width: 100%;
padding: 10px 0;
top: 0;
margin-bottom: 30px;
display: flex;
justify-content: center;
}
header a{
font-size: 30px;
font-weight: 500;
text-decoration: none;
font-family: 'Roboto', sans-serif;
}
a:link {
color: #DBCDC6;
}
a:visited {
color: #AEB4A9;
}
a:hover {
color: #E0C1B3;
}
a:active {
color: #DBCDC6;
}