-
-
Notifications
You must be signed in to change notification settings - Fork 109
/
drop.scss
67 lines (56 loc) · 1.29 KB
/
drop.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
:root {
--bespoke-marp-transition-drop-shadow: 0 0.3vh 0.6vh rgba(0, 0, 0, 39%),
rgba(0, 0, 0, 30%) 0 3vh 5vh, rgba(0, 0, 0, 22%) 0 2vh 1.5vh;
}
@keyframes marp-incoming-transition-__builtin__drop {
0% {
transform: translateY(-100%);
box-shadow: var(--bespoke-marp-transition-drop-shadow);
}
35% {
transform: none;
animation-timing-function: ease-out;
}
60% {
transform: translateY(-10%);
animation-timing-function: ease-in;
}
85% {
transform: none;
animation-timing-function: ease-out;
}
92.5% {
transform: translateY(-1%);
animation-timing-function: ease-in;
box-shadow: var(--bespoke-marp-transition-drop-shadow);
}
}
@keyframes marp-outgoing-transition-__builtin__drop {
35% {
filter: none;
}
100% {
filter: brightness(0.5);
}
}
@keyframes marp-incoming-transition-backward-__builtin__drop {
0% {
filter: brightness(0.5);
animation-timing-function: ease-in;
}
65% {
filter: none;
}
}
@keyframes marp-outgoing-transition-backward-__builtin__drop {
0% {
z-index: 1;
animation-timing-function: ease-in;
box-shadow: var(--bespoke-marp-transition-drop-shadow);
}
100% {
z-index: 1;
transform: translateY(-100%);
box-shadow: var(--bespoke-marp-transition-drop-shadow);
}
}