-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
99 lines (84 loc) · 3.01 KB
/
Copy pathstyle.css
File metadata and controls
99 lines (84 loc) · 3.01 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
@import "https://monade.li/main.css";
:root {
--accent2: #6ecfff;
--comment: hsl(0, 0%, 65%);
--defined: var(--foreground);
--bound: var(--accent);
--literal: var(--accent2);
--keyword: var(--foreground);
--symbol: var(--foreground);
--module: var(--bound);
--constructor: var(--literal);
}
body {
max-width: 60em;
text-align: justify;
}
blockquote {
text-align: initial;
}
pre {
/* Otherwise Firefox takes ages trying to justify <pre> blocks... */
text-align: initial;
overflow-x: auto;
}
.katex {
/* Defaults to 1.21em, which is a bit much.
https://katex.org/docs/font.html#font-size-and-lengths */
font-size: 1.08em;
}
.katex-html {
/* Prevents browsers from inserting a line break just before punctuation following
inline maths https://github.com/KaTeX/KaTeX/issues/1233 */
white-space: nowrap;
}
.diagram-container {
text-align: center;
overflow-x: auto;
}
.anchor {
margin-left: 10px;
font-size: 80%;
opacity: 0;
}
.anchor::before {
content: '🔗';
}
h1:hover > .anchor, h2:hover > .anchor, h3:hover > .anchor, h4:hover > .anchor, h5:hover > .anchor, h6:hover > .anchor {
opacity: 1;
}
/* Aspects. */
.Agda .Comment { color: var(--comment) }
.Agda .Background { }
.Agda .Markup { }
.Agda .Keyword { color: var(--keyword); font-weight: bold; }
.Agda .String { color: var(--literal) }
.Agda .Number { color: var(--literal) }
.Agda .Symbol { color: var(--symbol) }
.Agda .PrimitiveType { color: var(--defined) }
.Agda .Pragma { color: var(--keyword) }
.Agda .Operator {}
.Agda .Hole { background: #e4cbef; color: #14111c }
.Agda .Macro { color: var(--defined) }
/* NameKinds. */
.Agda .Bound { color: var(--bound) }
.Agda .Generalizable { color: var(--bound) }
.Agda .InductiveConstructor { color: var(--constructor) }
.Agda .CoinductiveConstructor { color: var(--constructor) }
.Agda .Datatype { color: var(--defined) }
.Agda .Field { color: var(--constructor) }
.Agda .Function { color: var(--defined) }
.Agda .Module { color: var(--module) }
.Agda .Postulate { color: var(--defined) }
.Agda .Primitive { color: var(--defined) }
.Agda .Record { color: var(--defined) }
/* OtherAspects. */
.Agda .DottedPattern {}
.Agda .UnsolvedMeta { color: var(--foreground); background: yellow }
.Agda .UnsolvedConstraint { color: var(--foreground); background: yellow }
.Agda .TerminationProblem { color: var(--foreground); background: #FFA07A }
.Agda .IncompletePattern { color: var(--foreground); background: #F5DEB3 }
.Agda .Error { color: red; text-decoration: underline }
.Agda .TypeChecks { color: var(--foreground); background: #ADD8E6 }
.Agda .Deadcode { color: var(--foreground); background: #808080 }
.Agda .ShadowingInTelescope { color: var(--foreground); background: #808080 }