-
Notifications
You must be signed in to change notification settings - Fork 104
/
Copy pathstyle.css
134 lines (111 loc) · 2.58 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
:root {
--slidev-code-padding: 8px 10px;
--slidev-code-background: #16161680 !important;
}
.slidev-layout a {
border-color: #8888;
}
a:has(> code) {
underline: none;
border: 0px !important;
}
.monaco-editor {
--slidev-code-background: transparent !important;
--vscode-editorSuggestWidget-border: #eee1 !important;
--vscode-editorHoverWidget-border: #eee1 !important;
}
.slidev-monaco-container-inner {
border: 1px solid #eee1;
border-radius: 5px;
}
.monaco-editor .suggest-widget,
.monaco-editor .suggest-details {
background: #16161670 !important;
backdrop-filter: blur(8px);
}
.monaco-editor .monaco-hover {
background: #161616b0 !important;
backdrop-filter: blur(8px);
}
h6 {
text-transform: initial !important;
font-weight: 400 !important;
letter-spacing: 0 !important;
}
.dark #slide-content {
background-color: black !important;
}
/* 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;
}
/* Magic Links */
.markdown-magic-link {
display: inline-flex;
transform: translateY(5px);
line-height: 100%;
color: #000b;
--uno: gap-1 transition rounded px1 py1 mx--0.5 important-border-0 font-condensed;
}
.dark .markdown-magic-link {
color: #fffc;
}
.markdown-magic-link:hover {
background: #8883;
}
.markdown-magic-link-image {
display: inline-block;
height: 1.2em;
width: 1.2em;
background-size: cover;
background-repeat: no-repeat;
background-position: center;
border-radius: 2px;
}
.markdown-magic-link.markdown-magic-link-github-at {
transform: translateY(6px);
--uno: pl-0 py-0 pr2 uppercase text-sm gap-1.2 rounded-full;
}
.markdown-magic-link.markdown-magic-link-github-at .markdown-magic-link-image {
height: 1.6em;
width: 1.6em;
border-radius: 50%;
}
.slidev-code {
backdrop-filter: blur(10px);
border: 1px solid #eee1;
}
.rough-annotation > path[stroke-width='2'] {
stroke-width: calc(2px * var(--slidev-slide-scale));
}
.slidev-layout :not(pre) > code {
color: rgb(201, 158, 251);
background: #161616ee;
}