-
Notifications
You must be signed in to change notification settings - Fork 1
/
userstyle.css
88 lines (79 loc) · 1.73 KB
/
userstyle.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
/* https://toolbox.mehvix.com/onedark */
/********************************************************************************/
/* One Dark */
/* Latest Version: https://github.com/Mehvix/joplin-onedark */
/* Designed by: Max Vogel (mehvix) */
/* */
/* userstyle.css: For styling the rendered Markdown */
/********************************************************************************/
@media print, (overflow-block: paged) or (overflow-block: optional-paged) {
h1 {
page-break-before: right;
break-before: recto;
}
h1:first-of-type,
section > h1:first-child {
page-break-before: avoid;
break-before: avoid;
}
h2 {
break-before: column;
}
h1, h2, h3, h4, h5, h6 {
page-break-after: avoid;
}
h1 + h2, h2 + h3, h3 + h4, h4 + h5, h5 + h6 {
page-break-before: avoid;
}
}
body,
html {
font-family: "PT Sans", sans-serif !important;
font-weight: 300 !important;
background-color: #282c34;
color: #e2ebfd;
margin-top: 0.25em;
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin-bottom: 0.3em !important;
}
li {
margin-bottom: 0.2em !important;
}
ul {
margin-top: 0.2em !important;
}
a {
color: #61afef;
}
a[href^=":/"] {
color: #56b6c2;
}
a[href^="#"] {
color: #98c379;
}
abbr[title] {
text-decoration-thickness: from-font;
}
.inline-code {
padding: 4px;
}
.inline-code,
.hljs {
background-color: #21252b;
color: #abb2bf;
border: none;
}
pre.hljs {
border-radius: 6px;
}
summary:hover,
.checkbox-wrapper input:hover,
.checkbox-wrapper label:hover {
cursor: pointer;
}