-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.scss
78 lines (72 loc) · 1.57 KB
/
style.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
@import "./styles/colors";
@import "./styles/media-queries";
@import "./styles/footer";
@import "./styles/main";
@import "./styles/header";
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Montserrat", sans-serif;
}
html,
body {
overflow-x: hidden;
min-height: 100vh;
scroll-behavior: smooth;
}
body {
background: $white;
overflow-x: hidden;
overflow-y: scroll; /* Add the ability to scroll */
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
scroll-behavior: smooth;
&::-webkit-scrollbar {
display: none;
}
}
.html-overflow-hidden {
overflow: hidden;
}
.cursor {
/* position: absolute;
width: 40px;
height: 40px;
background: #fff;
border-radius: 50%;
top: var(--y, 0);
left: var(--x, 0);
transform: translate(-50%, -50%);
z-index: 2000;
mix-blend-mode: difference;
pointer-events: none;
animation: cursorAnimation 2s infinite forwards alternate; */
position: fixed;
opacity: 0;
pointer-events: none;
mix-blend-mode: difference;
width: 50px;
height: 50px;
border-radius: 50%;
background-color: transparent;
transition: transform 350ms ease;
transform: translate(-50%, -50%) scale(0.3);
transition-delay: 100ms;
z-index: 1000;
animation: cursorAnimation 1s infinite forwards alternate;
@include mini {
display: none;
}
}
@keyframes cursorAnimation {
0% {
transform: translate(-50%, -50%) scale(1) rotate(5deg);
}
50% {
transform: translate(-50%, -50%) rotate(15deg);
}
100% {
transform: translate(-50%, -50%) scale(0.95) rotate(5deg);
}
}