-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
114 lines (98 loc) · 1.89 KB
/
styles.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
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
110
111
112
113
114
@media(min-width:320px) {
.main-container {
display: grid;
grid-template-columns: 100%;
grid-template-rows: 25% auto auto auto;
grid-template-areas:
"header"
"block-1"
"block-2"
"block-3";
color: black;
}
header {
grid-area: header;
background-color: #A35822;
padding: 55px;
}
article {
background-color: lightgrey;
}
.block-1 {
grid-area: block-1;
}
.block-2 {
grid-area: block-2;
}
.block-3 {
grid-area: block-3;
}
}
@media(min-width:992px) {
.main-container {
height: 100vh;
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: repeat(2, 1fr);
grid-template-areas:
"header header header"
"block-1 block-2 block-3";
color: white;
}
header {
grid-area: header;
background-color: #2999A3;
}
article {
background-color: rgb(20, 20, 20);
}
.block-1 {
grid-area: block-1;
}
.block-2 {
grid-area: block-2;
}
.block-3 {
grid-area: block-3;
}
}
header {
display: flex;
justify-content: center;
align-items: center;
}
article {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
padding: 60px;
line-height: 20px;
}
p {
display: inline-block;
width: 200px;
font-family: 'Nunito', sans-serif;
}
h1 {
color: white;
font-family: 'Shippori Mincho B1', serif;
font-size: 55px;
}
h2 {
font-family: 'Shippori Mincho B1', serif;
font-size: 40px;
}
.color-block {
width: 200px;
height: 30px;
}
#color-1 {
background-color: #A35822;
}
#color-2 {
background-color: #B5F4FA;
}
#color-3 {
background-color:#2999A3;
}