-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
85 lines (69 loc) · 1.34 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
83
84
85
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@700&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
font-family: Comfortaa;
background: skyblue;
}
img{
min-width: 100%;
max-width: 100%;
}
.header{
font-size: 3em;
justify-self: center;
}
.line1{
background: lightblue;
}
/* Part 1 */
.block1{
display: grid;
grid-template-areas:
"T T T T T T C C C C C C"
"H H H H H H B B B B B B";
justify-content: center;
justify-self: center;
margin: 0 10% 1em 10%;
column-gap: 5%;
/* background-color: aqua; */
}
.text1{
grid-area: B;
max-width: 20em;
/* background-color: lightblue; */
}
.image1{
grid-area: C;
min-width: 5em;
max-width: 10em;
justify-self: center;
/* background-color: lightblue; */
}
/* Part 2 */
/* .block2{
display: grid;
grid-template-areas:
"A A A A A A A A A A A A"
"C C C C C C C C C C C C"
"B B B B B B B B B B B B";
justify-content: center;
justify-self: left;
margin: 0 10% 1em 10%;
} */
.text2{
grid-area: H;
max-width: 20em;
justify-self: left;
/* background-color: lightblue; */
}
.image2{
grid-area: T;
min-width: 5em;
max-width: 10em;
justify-self: center;
/* background-color: lightblue; */
}