-
Notifications
You must be signed in to change notification settings - Fork 0
/
all.sass
409 lines (351 loc) · 7.15 KB
/
all.sass
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
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
//--------------------------------** RESET CSS **--------------------------------//
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video
margin: 0
padding: 0
border: 0
font-size: 100%
vertical-align: baseline
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section
display: block
body
line-height: 1
overflow-x: hidden
ol, ul
list-style: none
blockquote, q
quotes: none
blockquote::before,
blockquote::after,
q::before,
q::after
content: ''
content: none
table
border-collapse: collapse
border-spacing: 0
img
max-width: 100%
height: auto
*,
*::before,
*::after
box-sizing: border-box
position: relative
//--------------------------------** font family **--------------------------------//
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200;300;400;500;600;700&display=swap');
*
font-family: 'Oswald'
// border: solid 1px black !important
//--------------------------------** var CSS **--------------------------------//
$color_blue: #282f44
$color_brown: #e6af2e
$color_Yolo: #f5d061
$color_white: #ececec
$color_dark: #343a40
//--------------------------------** navbar **--------------------------------//
nav.navbar-bg
background-color: $color_white
transition: 1s
& .navbar-logo
color: $color_dark !important
& .nav-link
color: $color_dark !important
.nav-item
width: 100px
text-align: center
.nav-link
padding: 15px 100px
&:hover
color: $color_brown !important
//--------------------------------** header **--------------------------------//
header
background-color: $color_blue
text-align: center
.header-logo
max-width: 300px
padding: 250px 0px
.header-bottom
position: absolute
bottom: -1px
right: -20px
animation: upin 2s both
@keyframes upin
0%
bottom: -100px
100%
bottom: -1px
.explore
position: absolute
bottom: 30px
left: 50%
transform: translateX(-50%)
color: $color_Yolo
opacity: 1
transition: 1s
&::after
display: block
content: "≫"
transform: rotate(90deg)
margin-top: 10px
.explore-transparent
opacity: 0
//--------------------------------** section#about **--------------------------------//
section#about
padding: 60px 0px
background-color: $color_brown
.about-bottom
position: absolute
top: 99%
width: 70%
z-index: 3
#cross
position: absolute
&:before, &:after
content: " "
display: block
position: absolute
width: 60px
height: 10px
background-color: #FFFFFF
left: 50%
top: 50%
transform: rotate(45deg)
&:after
transform: rotate(-45deg)
#cat
width: 300px
position: absolute
bottom: -5px
left: 85%
transform: translateX(-50%)
.container
transform: rotate(15deg) scale(0.9)
.row
height: 150px
.text1
font-size: 70px
.text2
font-size: 40px
.text3
font-size: 50px
margin-top: 100px
.btn-box
height: 100%
a
top: 50%
left: 50%
transform: translate(-50%,-50%) rotate(10deg)
.tri
transform: rotate(-10deg)
.tri1
width: 350px
.tri2
width: 20px
margin-left: 20px
.tri3
width: 150px
margin-left: 70%
.tri4
width: 70px
margin-left: 100%
.tri5
width: 80px
margin-left: 100%
//--------------------------------** section#service **--------------------------------//
section#service
padding: 60px 0px
background-color: $color_white
.row
h2
font-size: 30px
.col-sm-4
text-align: center
img
width: 60%
h3
font-size: 24px
//----------------------------**section#works **--------------------------------//
section#works
padding: 60px 0px
background-color: $color_white
.works-bottom
position: absolute
z-index: 20
top: 100%
width: 100%
.container
.row
.col-md-12.p-0
h2
font-size: 30px
.row
.works-big-pic
cursor: pointer
&::after
content: ""
display: block
position: absolute
top: 0
left: 0
right: 0
bottom: 0
background-color: rgba(#000000,0.7)
opacity: 0
transition: 0.7s
.big-img
width: 100%
height: 100%
object-fit: cover
.works-big-content
position: absolute
top: 50%
left: 50%
transform: translate(-50%,-50%)
color: $color_white
z-index: 10
opacity: 0
transition: 0.7s
&:hover
&::after,.works-big-content
opacity: 1
.col-md-6.p-0
overflow: hidden
.row
.works-pic
cursor: pointer
&::after
content: ""
display: block
position: absolute
top: 0
left: 0
right: 0
bottom: 0
background-color: rgba(#000000,0.7)
opacity: 0
transition: 0.7s
img
width: 100%
height: 230px
.works-content
position: absolute
top: 50%
left: 50%
transform: translate(-50%,-50%)
color: $color_white
z-index: 10
opacity: 0
transition: 0.7s
&:hover
&::after,.works-content
opacity: 1
//--------------------------------** section#contact **--------------------------------//
section#contact
padding: 250px 0px
background-color: $color_blue
color: $color_white
.cat
position: absolute
bottom: -40px
width: 150px
right: 0
transition: 0.5s
.cat#cat_blue
right: 25%
.cat#cat_grey
right: 15%
.cat#cat_yellow
right: 5%
.jump
bottom: 0
transition: 0.5s
.mailbox
.mail-bg
transform: rotate(10deg)
.mail-body
position: absolute
top: 0
padding: 50px 100px
padding-left: 40px
background-color: $color_white
color: $color_blue
label
padding-top: 20px
input,textarea
width: 350px
display: block
.mail-text
padding-left: 70px
h2
margin-top: 30px
font-size: 30px
p
line-height: 1.8
font-size: 20px
//--------------------------------** footer **--------------------------------//
footer
background-color: $color_brown
text-align: center
padding: 50px 0px
.container-fluid
img
width: 20%
//--------------------------------** 992 **--------------------------------//
@media (max-width:992px)
section#about
#cat
width: 20%
.container
.row
.text1
font-size: 60px
.text2
font-size: 30px
.text3
font-size: 40px
section#contact
padding: 100px 0px
.cat
width: 20%
.mail-text
margin-top: 100px
footer
.container-fluid
img
width: 30%
//--------------------------------** 576 **--------------------------------//
@media (max-width:576px)
section#about
#cat
display: none
.container
.row
.text1
font-size: 50px
.text2
font-size: 20px
.text3
font-size: 30px
section#contact
padding: 100px 0px
.cat
display: none
.mail-text
margin-top: 100px
footer
.container-fluid
img
width: 50%