-
Notifications
You must be signed in to change notification settings - Fork 1
/
media-responsive.css
113 lines (87 loc) · 1.66 KB
/
media-responsive.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
@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: white;
left: -100%;
top: 100%;
width: 100%;
padding-block: 20px;
transition: 0.2s ease-in-out;
}
.nav-links.active {
left: 0;
}
.nav-links ul {
flex-direction: column;
}
.examples-area {
gap: 20px;
}
.examples-card {
width: calc(50% - 10px);
height: 180px;
}
.cta-section {
padding-block: 80px;
}
}
@media screen and (max-width: 767px) {
.primary-button {
width: 100%;
}
.header-section {
flex-direction: column-reverse;
}
.header-left {
max-width: 100vw;
text-align: center;
}
.features-card {
min-width: calc(50% - 10px);
}
.big-feature-container, #second-big-feature {
flex-direction: column;
}
.footer-container {
flex-direction: column;
gap: 40px;
text-align: center;
align-items: center;
}
.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;
}
h3 {
font-size: 1.5rem;
}
p {
font-size: 1rem;
}
.features-card {
min-width: 100%;
}
.examples-card {
width: 100%;
}
}