forked from argyleink/gui-challenges
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
55 lines (47 loc) · 795 Bytes
/
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
@import "compare.css" layer(demo.component);
@layer demo.support {
* {
box-sizing: border-box;
margin: 0;
}
html {
block-size: 100%;
color-scheme: dark light;
}
body {
min-block-size: 100%;
font-family: system-ui, sans-serif;
display: grid;
}
img {
max-block-size: 80dvh;
max-inline-size: 100%;
}
}
.github-corner {
position: absolute;
top: 0;
right: 0;
inline-size: var(--size-10);
&:hover .octo-arm {
animation: octocat-wave 560ms ease-in-out
}
& > svg {
fill: inherit;
stroke: inherit;
position: absolute;
top: 0;
right: 0;
}
}
@keyframes octocat-wave{
0%,100% {
transform: rotate(0)
}
20%,60% {
transform: rotate(-25deg)
}
40%,80% {
transform: rotate(10deg)
}
}