-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbook-media-queries.css
103 lines (85 loc) · 1.58 KB
/
book-media-queries.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
/* ************************* */
/* BELOW 1152px (laptops)*/
/* ************************* */
@media (max-width: 72em) {
html {
font-size: 56.25%;
}
.section {
margin: 8rem 2rem;
}
}
/* ************************* */
/* BELOW 864px (bigger tablets)*/
/* ************************* */
@media (max-width: 54em) {
html {
font-size: 56.25%;
}
.title {
font-size: 5rem;
}
.bild-box {
align-self: center;
}
}
/* ************************* */
/* BELOW 734px (mobiles)*/
/* ************************* */
@media (max-width: 46em) {
.header {
display: flex;
padding: 2rem 3rem;
height: auto;
}
.nav-main {
width: 50%;
align-self: center;
padding-top: 0;
}
.nav-list {
display: flex;
flex-direction: column;
text-align: center;
}
.nav-link {
font-size: 40%;
border-radius: 1rem;
background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
padding: 0.5rem 2.3rem;
}
.cta-btn {
border: none;
}
.p-link {
display: inline;
border-radius: 1rem;
background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
padding: 0.5rem 2.3rem;
}
.hero-title {
padding: 9rem 0 0 0;
font-size: 6rem;
justify-self: center;
width: 50%;
}
.container {
flex-direction: column-reverse;
}
.bild-box,
.form-box {
width: 100%;
padding: 2rem 4rem 3rem 4rem;
}
.button {
margin-top: 5rem;
}
.footer-container {
grid-template-columns: repeat(2, 1fr);
gap: 2rem;
row-gap: 0;
}
.copyright {
align-self: end;
}
}