-
Notifications
You must be signed in to change notification settings - Fork 0
/
mediaqueries.css
70 lines (57 loc) · 1.23 KB
/
mediaqueries.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
@media screen and (min-width: 1330px){
body {
main {
display: grid;
grid-template-columns: repeat(4, 1fr);
}
}
}
@media screen and (min-width: 1105px) and (max-width: 1720px) {
body {
main {
margin: 30px 450px 200px 450px;
flex-wrap: wrap;
flex-direction: row;
justify-content: center;
}
}
}
@media screen and (min-width: 620px) {
body {
main {
margin: 30px 100px 200px 100px;
flex-wrap: wrap;
flex-direction: row;
justify-content: center;
margin-bottom: 4rem;
}
}
}
@media screen and (max-width: 620px ) {
body {
figure {
overflow: hidden;
width: 150px;
height: 150px;
border-radius: 70%;
margin: 3.7rem auto 0 auto
}
h1 {
margin: 30px 0 0 0;
font-size: 30px;
}
h2 {
margin: 0;
font-size: 14px;
font-weight: 400;
}
main {
margin-bottom: 4rem;
}
}
footer {
position: relative;
height: 40px;
bottom: 30px;
}
}