-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmedia-queries.css
123 lines (88 loc) · 1.73 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
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
/* size for the tablet */
@media screen and (max-width: 992px) {
h3{
font-size: 1.0rem;
}
.nav-toggle {
display: block;
margin-right: 20px;
}
.main-nav {
overflow: initial;
}
.nav-link {
position: absolute;
background-color: white;
left: -100%;
top: 100%;
width: 100%;
padding-block: 20px;
}
.nav-link.active {
left: 0;
transition: 0.2s ease-in-out;
}
.nav-link ul {
flex-direction: column;
}
.examples-area {
gap: 20px;
}
.examples-card {
/* to provide the gap between the images */
width: calc(50% - 10px);
height: 180px;
}
.cta-section {
padding-block: 80px;
}
}
@media screen and (max-width: 767px){
.header-section{
flex-direction: column-reverse;
}
.header-left h1 {
text-align: center;
}
.primary-button {
width: 100%;
}
.features-card{
min-width: calc(50% - 10px);
}
.big-feature-container, #second-big-feature {
flex-direction: column;
}
.footer-container {
flex-direction: column;
gap: 20px;
text-align: center;
align-items: center;
}
.ok {
padding-left: 10px;
}
.link-column {
align-items: stretch;
}
}
@media screen and (max-width: 479px) {
.root {
--padding-inline-section: 10px;
}
h1 {
font-size: 2rem;
}
h2 {
font-size: 1.5rem;
}
p {
font-size: 1rem;
}
.features-card{
min-width: 100%;
}
.examples-card {
width: 100%;
}
}