-
-
Notifications
You must be signed in to change notification settings - Fork 87
/
markdown.scss
59 lines (49 loc) · 1015 Bytes
/
markdown.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
@use "valaxy/client/styles/mixins/index.scss" as *;
:root {
--va-code-mobile-margin-x: -1.5rem;
}
.prose {
--un-prose-body: var(--va-c-text);
--un-prose-hr: var(--va-c-text);
--un-prose-borders: var(--va-c-brand);
--un-prose-links: var(--va-c-brand);
--un-prose-code: var(--va-c-text);
--un-prose-font-mono: var(--va-font-mono);
blockquote {
font-style: normal;
}
a {
display: inline-block;
text-decoration: none;
border-bottom: 1px solid transparent;
transition: all 0.4s;
}
code:not(pre > code) {
color: var(--pr-c-text-code);
background-color: var(--va-c-bg-mute);
padding: 3px 6px;
border-radius: 4px;
font-weight: 500;
&::before {
content: none;
}
&::after {
content: none;
}
}
ul {
margin-top: 0;
margin-bottom: 0.25em;
}
}
.vp-doc {
.markdown-body {
a {
text-decoration: inherit;
transition: all 0.4s;
&:hover {
text-decoration: underline;
}
}
}
}