-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
58 lines (49 loc) · 1.16 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
.slidev-layout.default h1,
.slidev-layout.two-cols-header h1 {
background-color: #2B90B6;
background-image: linear-gradient(45deg, #4EC5D4 10%, #146b8c 20%);
background-size: 100%;
-webkit-background-clip: text;
-moz-background-clip: text;
-webkit-text-fill-color: transparent;
-moz-text-fill-color: transparent;
@apply font-bold;
}
/* h1紧临的 p */
h1 + p {
@apply dark:text-gray-5 text-gray-4;
}
/* Transitions */
.slidev-vclick-target {
transition:
opacity 500ms ease,
filter 200ms ease,
color 300ms ease;
}
.slidev-vclick-hidden {
opacity: 0;
pointer-events: none;
filter: blur(3px);
}
.fade-out-leave-active {
transition:
opacity calc(var(--slidev-transition-duration) * 0.6) ease-out,
filter 200ms ease;
}
.fade-out-enter-active {
transition:
opacity calc(var(--slidev-transition-duration) * 0.8) ease-in,
filter 200ms ease;
transition-delay: calc(var(--slidev-transition-duration) * 0.6);
}
.fade-out-enter-from,
.fade-out-leave-to {
opacity: 0;
filter: blur(5px);
}
.slidev-code .line {
transition: opacity 200ms ease;
}
iframe {
background: black;
}