-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmedia-queries.css
76 lines (75 loc) · 1.24 KB
/
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
/* Media Queries */
/* Devices Below 600px */
@media screen and (max-width: 600px) {
.nav-ul {
width: 100%;
flex-direction: column;
display: none;
margin-top: 1rem;
background-color: black;
z-index: 1000;
}
.nav .logo {
font-size: 3.3rem;
}
.nav-ul li {
width: 100%;
text-align: center;
border-top: 1px solid rgba(255, 255, 255, 0.4);
}
.nav-ul li:last-child {
border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}
.nav-link::before,
.active::before {
content: "";
display: none;
}
.searching {
display: none;
}
.hamburger {
display: block;
}
.nav-ul .close {
display: block;
}
.show {
display: flex;
}
.hide {
display: none;
}
.intro-text {
width: 100%;
}
.intro-text h1 {
font-size: 6rem;
}
.contact {
flex-direction: column;
}
.contact > * {
margin: 3rem 0;
}
.services .service {
padding: 1.6rem 0.8rem;
}
.about {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}
.image-text {
width: 100%;
}
.image-text h3 {
font-size: 1rem !important;
}
.image-text h3,
.image-text p {
text-align: center;
}
.about-text {
text-align: center;
}
}