-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
68 lines (56 loc) · 1.1 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
h1 {
color: white;
font-family: 'sonsie one';
font-size: 40px;
margin: 10px;
text-align: center;
margin: 50px;
}
body {
background: black;
}
main {
height: 60vh;
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-template-rows: repeat(6, 1fr);
grid-gap: 5px;
margin: 100px;
}
img {
height: auto;
width: 100%;
border-radius: 25px;
grid-column: span 2;
grid-row: span 1;
}
div {
grid-column: span 1;
}
@media only screen and (min-width: 600px) {
main {
height: 60vh;
display: grid;
grid-template-rows: repeat(5, 1fr);
grid-template-columns: repeat(9, 1fr);
margin: 10px;
grid-gap: 2px;
}
img {
height: auto;
width: 100%;
display: grid;
grid-row: span 1;
grid-column: span 2;
}
}
@media only screen and (min-width: 800px) {
main {
height: 60vh;
display: grid;
grid-template-rows: repeat(4, 1fr);
grid-template-columns: repeat(11, 1fr);
margin: 10px;
grid-gap: 2px;
}
}