-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathabout.scss
90 lines (71 loc) · 1.31 KB
/
about.scss
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
.about {
text-align: center;
//padding-top: 5rem;
//padding-bottom: 5rem;
.about_logo {
font-size: 90px;
width: 120px;
height: 120px;
margin-bottom: 2rem;
border-radius: 50%;
}
.big_title {
font-weight: 600;
margin-bottom: 1rem;
}
.subtitle {
letter-spacing: 3px;
margin-bottom: 2rem;
}
@keyframes pulse {
0% {
transform: scale(1);
}
50% {
transform: scale(1.1);
}
100% {
transform: scale(1);
}
}
.start_button {
margin-bottom: 3rem;
position: relative;
overflow: hidden;
z-index: 1;
transition: all 0.5s;
@media (min-width: 1536px) {
animation: pulse 1.7s ease infinite;
}
span {
position: absolute;
width: 25%;
height: 100%;
background-color: #923d31;
transform: translateY(150%);
border-radius: 50%;
left: calc((var(--n) - 1) * 25%);
transition: 0.5s;
transition-delay: calc((var(--n) - 1) * 0.1s);
z-index: -1;
}
&:hover {
color: #FFF2D5;
}
&:hover span {
transform: translateY(0) scale(2);
}
& span:nth-child(1) {
--n: 1;
}
& span:nth-child(2) {
--n: 2;
}
& span:nth-child(3) {
--n: 3;
}
& span:nth-child(4) {
--n: 4;
}
}
}