-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
166 lines (150 loc) · 3.36 KB
/
Copy pathstyle.css
File metadata and controls
166 lines (150 loc) · 3.36 KB
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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
/*
* CC0-1.0 <https://creativecommons.org/publicdomain/zero/1.0/legalcode>
* Dark color scheme using 216 web-safe colors, inspired
* somewhat by the default color scheme in mutt.
* It reduces eyestrain for me, and energy usage for all:
* https://en.wikipedia.org/wiki/Light-on-dark_color_scheme
*/
/* source: https://lore.kernel.org/+/216dark.css?67c1dabc */
* {
font-size: 100%;
font-family: monospace;
background: #000;
color: #ccc;
}
@font-face {
font-family: "Big Blue Terminal 437 Nerd Font";
font-display: swap;
src: url("../assets/fonts/BigBlueTerm437NerdFont-Regular.ttf")
format("truetype");
}
pre {
white-space: pre-wrap;
}
/*
* Underlined links add visual noise which make them hard-to-read.
* Use colors to make them stand out, instead.
*/
a:link {
color: #69f;
text-decoration: none;
}
a:visited {
color: #96f;
}
/* quoted text in emails gets a different color */
*.q {
color: #09f;
}
/*
* these may be used with cgit <https://git.zx2c4.com/cgit/>, too.
* (cgit uses <div>, public-inbox uses <span>)
*/
*.add {
color: #0ff;
} /* diff post-image lines */
*.del {
color: #f0f;
} /* diff pre-image lines */
*.head {
color: #fff;
} /* diff header (metainformation) */
*.hunk {
color: #c93;
} /* diff hunk-header */
/*
* highlight 3.x colors (tested 3.18) for displaying blobs.
* This doesn't use most of the colors available, as I find too
* many colors overwhelming, so the default is commented out.
*/
.hl.num {
color: #f30;
} /* number */
.hl.esc {
color: #f0f;
} /* escape character */
.hl.str {
color: #f30;
} /* string */
.hl.ppc {
color: #f0f;
} /* preprocessor */
.hl.pps {
color: #f30;
} /* preprocessor string */
.hl.slc {
color: #09f;
} /* single-line comment */
.hl.com {
color: #09f;
} /* multi-line comment */
/* .hl.opt { color:#ccc } */ /* operator */
/* .hl.ipl { color:#ccc } */ /* interpolation */
/* keyword groups kw[a-z] */
.hl.kwa {
color: #ff0;
}
.hl.kwb {
color: #0f0;
}
.hl.kwc {
color: #ff0;
}
/* .hl.kwd { color:#ccc } */
/* line-number (unused by public-inbox) */
/* .hl.lin { color:#ccc } */
/* highlight.js dark theme override */
.hljs {
display: block !important;
overflow-x: auto !important;
padding: 1em !important;
background: #000 !important;
color: #ccc !important; /* base text */
border-radius: 0.5rem !important;
font-family: "Big Blue Terminal 437 Nerd Font", monospace !important;
font-size: 1.5cap;
}
/* keywords */
.hljs-keyword,
.hljs-selector-tag {
color: #09f !important;
font-weight: bold !important;
font-size: 1cap;
font-family: "Big Blue Terminal 437 Nerd Font";
}
/* builtins / types */
.hljs-type,
.hljs-title,
.hljs-section {
color: #0ff !important;
font-family: "Big Blue Terminal 437 Nerd Font";
font-size: 1cap;
}
/* strings */
.hljs-string,
.hljs-literal {
color: #f30 !important;
font-family: "Big Blue Terminal 437 Nerd Font";
font-size: 1cap;
}
/* comments */
.hljs-comment,
.hljs-quote {
color: #0f0 !important;
font-style: italic !important;
font-family: "Big Blue Terminal 437 Nerd Font";
font-size: 1cap;
}
/* preprocessor, escapes */
.hljs-meta,
.hljs-symbol {
color: #f0f !important;
font-family: "Big Blue Terminal 437 Nerd Font";
font-size: 1cap;
}
@font-face {
font-family: "Big Blue Terminal 437 Nerd Font";
font-display: swap;
src: url("./assets/fonts/BigBlueTerm437NerdFont-Regular.ttf")
format("truetype");
}