-
Notifications
You must be signed in to change notification settings - Fork 0
/
mediaqueries.css
100 lines (98 loc) · 1.78 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
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
/* *********************** Media Queries*************************************** */
@media screen and (max-width: 991px) {
h3 {
font-size: 1.2rem;
}
.nav-toggle {
display: block;
margin-right: 20px;
}
.main-nav {
overflow: initial;
}
.nav-links {
position: absolute;
background-color: #fff;
left: -100%;
top: 100%;
width: 100%;
padding-block: 20px;
transition: 0.2s ease-out;
}
.nav-links.active {
left: 0;
}
.nav-links ul {
flex-direction: column;
}
.examples-area {
gap: 20px;
}
.examples-card {
width: 48%;
height: 200px;
}
.cta-section {
padding-block: 80px;
}
}
@media screen and (max-width: 767px) {
.primary-button {
width: 100%;
text-align: center;
}
.header-section {
flex-direction: column-reverse;
}
.header-left {
max-width: 100%;
text-align: center;
}
.feature-card {
min-width: calc(50% - 10px);
}
.big-feature-container,
#Second-bg-feature-container {
flex-direction: column;
}
.footer-container {
flex-direction: column;
gap: 40px;
text-align: center;
text-align: center;
}
.link-column,
.footer-container {
align-items: center;
justify-content: center;
}
.big-feature-section > .big-feature-container > .feature-desc > h3,
h4 {
text-align: center;
align-items: center;
justify-content: center;
}
}
@media screen and (max-width: 479px) {
:root {
--padding-inline-section: 10px;
}
h1 {
font-size: 2rem;
}
h2 {
font-size: 1.5rem;
}
h3 {
font-size: 1.2rem;
}
p {
font-size: 1rem;
}
.feature-card {
min-width: 100%;
}
.examples-card {
width: 100%;
}
}