-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmediaquery.css
98 lines (93 loc) · 1.77 KB
/
mediaquery.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
@media screen and (max-width:991px){
h3{
font-size: 1.2rem;
}
.nav-toggle{
display: block;
margin-right:20px;
}
.nav-links{
position: absolute;
}
.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;
}
.example-area{
gap: 20px;
}
.example-card{
width: 40%;
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;
}
.feature-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:479) {
:root{
--padding-inline-section:10px;
}
h1{
font-size: 2rem;;
}
h2{
font-size: 1.5rem;;
}
.feature-card{
min-width: 100%;
}
p{
font-size: 1rem;
}
.example-card{
width: 100%;
}
.feature-card{
min-width: 100%;
}
.example-card{
width: 100%;
}
}