-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathresponsiveStyle.css
More file actions
220 lines (177 loc) · 3.76 KB
/
responsiveStyle.css
File metadata and controls
220 lines (177 loc) · 3.76 KB
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
/* Responsive style sheet starts for 980px starts here */
@media (max-width: 980px) {
.navbar-nav {
width: 100%;
padding: 20px 0;
border-radius: 20px;
text-align: center;
background-color: #ffffff1a;
-webkit-backdrop-filter: blur(5px);
backdrop-filter: blur(5px);
}
/* Button class style starts here */
.btn-1 {
padding: 5px 20px;
font-size: 16px;
}
/* Font class starts here */
.h1-70-70-900 {
font-size: 50px;
line-height: 1em;
font-weight: 900;
}
.h2-60-60-400 {
font-size: 40px;
line-height: 1em;
font-weight: 400;
}
.h2-40-40-700 {
font-size: 30px;
line-height: 1em;
font-weight: 700;
}
.p-18-25-400 {
font-size: 16px;
line-height: 1.2em;
font-weight: 400;
}
.p-24-24-600 {
font-size: 18px;
line-height: 1em;
font-weight: 600;
}
.p-18-18-500 {
font-size: 16px;
line-height: 1em;
font-weight: 500;
}
.p-18-18-400 {
font-size: 16px;
line-height: 1em;
font-weight: 400;
}
.p-24-24-700 {
font-size: 18px;
line-height: 1em;
font-weight: 700;
}
/* Hero section style starts here */
.hero-section {
height: 100vh;
padding: 150px 0 0 0;
text-align: center;
background-image: url(./images/tab-size-hero-img.svg);
background-size: cover;
background-position: center;
background-repeat: no-repeat;
background-attachment: fixed;
}
/* About section style starts here */
.about-section {
padding: 50px 0;
}
.about-section img {
height: 100%;
}
.about-text-wrapper {
padding: 20px 20px;
}
/* My advantage section starts here */
.skill-wrapper {
display: -ms-grid;
display: grid;
-ms-grid-columns: auto 30px auto 30px auto 30px auto 30px auto;
grid-template-columns: auto auto auto auto auto;
gap: 30px;
}
.skill-card {
padding: 30px 20px;
}
.skill-card img {
width: 80%;
}
/* Contact section style starts here */
.contact-section form {
margin-top: 70px;
}
}
/* Responsive style sheet starts for 576px starts here */
@media (max-width: 768px) {
/* Fonst class starts here */
.h2-60-60-400 {
font-size: 30px;
line-height: 1em;
font-weight: 400;
}
.h1-70-70-900 {
font-size: 34px;
line-height: 1em;
font-weight: 900;
}
/* My advantage section starts here */
.skill-wrapper {
display: -ms-grid;
display: grid;
-ms-grid-columns: auto 15px auto 15px auto 15px auto 15px auto;
grid-template-columns: auto auto auto auto auto;
gap: 15px;
}
.skill-card {
padding: 25px 15px;
}
.skill-card img {
width: 90%;
}
}
/* Responsive style sheet starts for 576px starts here */
@media (max-width: 576px) {
/* Font class style starts here */
.h2-40-40-700 {
font-size: 40px;
line-height: 1em;
font-weight: 700;
}
.h2-60-60-400 {
font-size: 30px;
line-height: 1em;
font-weight: 400;
}
.h1-70-70-900 {
font-size: 34px;
line-height: 1em;
font-weight: 900;
}
/* Header section style starts here */
.navbar-brand {
width: 80px;
}
.navbar-brand img {
width: 100%;
}
/* Hero section style starts here */
.hero-section {
height: 100vh;
padding-top: 300px;
background-image: url(./images/phone-size-hero-img.png);
background-size: cover;
background-position: center;
background-repeat: no-repeat;
background-attachment: fixed;
}
/* My advantage section starts here */
.skill-wrapper {
padding: 0 30px;
display: -ms-grid;
display: grid;
-ms-grid-columns: auto 70px auto;
grid-template-columns: auto auto;
gap: 70px;
}
.skill-card {
padding: 50px 20px;
}
.skill-card img {
width: 70%;
height: 70%;
}
}