-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
91 lines (78 loc) · 1.47 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
@keyframes bgmove {
0% {background-position: 0 0;}
100% {background-position: 450px 0;}
}
body {
font-family: Arial, Helvetica, sans-serif;
font-size: 16px;
min-height: 100vh;
height: auto;
margin: 0;
line-height: 1.5;
cursor: none;
position: relative;
}
div.cursor {
position: absolute;
top: 50%;
left: 50%;
width: 10px;
height: 10px;
background-color: #29044a;
border-radius: 50%;
transform: translate(-50%, -50%);
transition: width 0.25s, height 0.25s;
}
div.cursor.on-click {
width: 80px;
height: 80px;
}
canvas {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
mix-blend-mode: lighten;
}
/* this is the code to add in my name etc in layers */
/* section {
padding: 80px;
font-size: 80px;
font-weight: 700;
line-height: 1.1;
position: absolute;
top: 0;
left: 0;
user-select: none;
} */
section span {
opacity: 0;
}
div.pattern {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #d4d4d4;
background-image: url(/assets/pattern.svg);
background-size: 450px 450px;
animation: bgmove 10s infinite linear;
}
section.scratched-out {
mix-blend-mode: darken;
}
div.lineup {
background-color: #8f12fd;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
div.lineup img {
width: 100%;
height: 100%;
object-fit: contain;
}