-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAppearance.css
68 lines (57 loc) · 1.49 KB
/
Appearance.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
body {
/* internal links are not underlined */
--link-decoration: none;
/* On GNOME, with 'Window frame style' set to 'Native frame'
* the titlebar blends with the tab bar */
&.theme-dark.mod-linux {
--titlebar-background: #242424 !important;
--titlebar-background-focused: #303030 !important;
}
&.theme-light.mod-linux {
--titlebar-background: #fafafa !important;
--titlebar-background-focused: #EBEBEB !important;
}
}
mjx-container {
font-size: var(--font-ui-large);
}
/* Use monospace font in source mode */
.markdown-source-view.cm-s-obsidian:not(.is-live-preview) .cm-scroller,
.is-live-preview .cm-tag {
font-family: var(--font-monospace);
font-size: var(--code-size);
}
.HyperMD-table-row {
font-size: var(--font-normal) !important;
}
/* Syntax highlighting for YAML and MathJax */
.cm-hmd-frontmatter,
.cm-math {
/* no italics */
font-style: normal !important;
font-size: var(--font-normal);
}
.cm-math,
.cm-error.cm-math {
color: var(--code-operator) !important;
border: none !important;
}
.cm-math.cm-tag,
.cm-atom.cm-hmd-frontmatter {
color: var(--code-important) !important;
}
.cm-hmd-frontmatter.cm-string,
.cm-math.cm-variable-2 {
color: var(--code-string) !important;
}
.cm-number,
.cm-hmd-frontmatter {
color: var(--code-value) !important;
}
.cm-hmd-frontmatter.cm-hmd-frontmatter.cm-def,
.cm-bracket.cm-tag,
.cm-bracket,
.cm-s-obsidian span.cm-formatting-math,
.cm-hmd-frontmatter.cm-meta {
color: var(--code-punctuation) !important;
}