-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
74 lines (60 loc) · 1.26 KB
/
style.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
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
html {
scroll-padding-top: 80px !important;
margin-top: 80px;
scroll-behavior: smooth;
}
#home {
height: calc(100vh - 80px)
}
#about {
min-height: calc(100vh - 80px);
}
#home > div {
position: relative;
top: 50%;
transform: translateY(-50%);
margin-inline: auto;
}
@media screen and (min-width: 576px) and (max-width: 1023px) {
#about {
height: auto;
}
}
.bar-1, .bar-2, .bar-3 {
width: 35px;
height: 5px;
background-color: black;
margin: 6px;
transition: 0.25s;
}
.change .bar-1 {
transform: translate(0, 11px) rotate(-45deg);
}
.change .bar-2 {
opacity: 0;
}
.change .bar-3 {
transform: translate(0, -11px) rotate(45deg);
}
portfolio-project img {
transition: 0.15s;
}
portfolio-project img:hover {
transform: scale(1.02);
}
@media screen and (min-width: 768px) {
#projects {
min-height: calc(100vh - 80px);
}
}
@media (hover: hover) {
.nav-link:hover {
color: #3961C9;
}
}
@media (hover: none) {
.nav-link:active {
color: #3961C9;
}
}