-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathresponsive.css
157 lines (128 loc) · 2.61 KB
/
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
@media (min-width:1025px) and (max-width:1275px) {
.left {
padding: 6vw 5vw;
}
.left p {
font-size: 1.4vw;
margin-top: 2.5vw;
margin-bottom: 3.5vw;
}
}
@media (min-width:875px) and (max-width:1025px) {
.left {
padding: 6vw 5vw;
}
.left h1 {
font-size: 4.5vw;
line-height: 4.8vw;
}
.left p {
font-size: 1.6vw;
margin-top: 2.5vw;
margin-bottom: 3.5vw;
}
}
@media (min-width:600px) and (max-width:875px) {
nav h2{
font-size: 2.7vw;
}
.nav_options i {
display: initial;
font-size: 3vw;
}
.nav_options h4 {
display: none;
}
.nav_options button {
display: none;
}
.left {
padding: 6vw 5vw;
}
.left h1 {
font-size: 4.8vw;
line-height: 4.9vw;
}
.left p {
font-size: 1.8vw;
margin-top: 2.5vw;
margin-bottom: 3.5vw;
}
.left button {
font-size: 1.7vw;
padding: 1.5vw 2.8vw;
background-color: #74c69d;
}
.right img {
width: 100%;
height: 80%;
object-fit: cover;
border-top-left-radius: 50%;
border-top-right-radius: 50%;
}
}
@media (max-width:600px) {
nav {
height: 60px;
padding: 0 7vw;
}
.nav_options i {
display: initial;
font-size: 3.5vw;
}
.nav_options h4 {
display: none;
}
.nav_options button {
display: none;
}
nav h2 {
font-size: 4vw;
font-weight: 700;
}
.container {
width: 100%;
height: calc(100% - 60px);
flex-direction: column;
}
.left {
width: 100%;
height: 40%;
/* background-color: blueviolet; */
padding: 4vw 7vw;
}
.right {
width: 100%;
height: 60%;
/* background-color: rgb(202, 236, 171); */
padding: 0 7vw;
display: flex;
justify-content: center;
}
.left h1 {
font-size: 8vw;
line-height: 8.5vw;
font-weight: 700;
}
.left p {
font-size: 3.5vw;
width: 90%;
font-weight: 500;
color: rgb(135, 121, 102);
margin-top: 3vw;
margin-bottom: 6vw;
}
.left button {
font-size: 2.5vw;
font-weight: 600;
padding: 2vw 4.5vw;
border-radius: 3px;
}
.right img {
width: 90%;
height: 90%;
object-fit: cover;
border-top-left-radius: 50%;
border-top-right-radius: 50%;
}
}