-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathstyle.css
More file actions
73 lines (62 loc) · 1.08 KB
/
style.css
File metadata and controls
73 lines (62 loc) · 1.08 KB
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
/* Shape colors cannot be global root variables in matter.js script (for now) */
:root {
--body-color: #18181d;
--purple: #833ab4;
--red: #fd1d1d;
--yellow: #ffcd01;
--blue: #0496ff;
--orange: #ff6a03;
--white: #fff;
--pink: #ff45ff;
--github-fill: var(--white);
--github-color: var(--body-color);
--github-focus: var(--orange);
}
body {
width: 100vw;
height: 100vh;
margin: 0;
display: flex;
align-items: center;
justify-content: center;
background-color: var(--body-color);
cursor: pointer;
}
p {
color: var(--white);
z-index: -10;
}
/* canvas {
width: 100%;
height: 100vh;
} */
.github-corner:focus svg path {
fill: var(--github-focus);
}
.github-corner:focus .octo-arm,
.github-corner:focus .octo-body {
fill: var(--github-color);
}
.github-corner:focus .octo-arm,
.github-corner:hover .octo-arm {
animation: octocat-wave 560ms ease-in-out;
}
@keyframes octocat-wave {
0%,
100% {
transform: rotate(0);
}
20%,
60% {
transform: rotate(-25deg);
}
40%,
80% {
transform: rotate(10deg);
}
}
@media (max-width: 500px) {
.github-corner {
display: none;
}
}