type-theory/html/Agda.css

56 lines
2.4 KiB
CSS
Raw Normal View History

2024-06-02 22:13:09 +00:00
:root {
--default-text: black;
--symbol: #404040;
--blue: #5175be;
2024-06-01 20:16:22 +00:00
}
@media (prefers-color-scheme: dark) {
:root {
--default-text: white;
--symbol: #b0b0b0;
--blue: #9999FF;
}
}
2024-05-17 22:37:20 +00:00
/* Aspects. */
.content .Agda .Comment { color: #B22222 }
.content .Agda .Background {}
2024-06-01 20:16:22 +00:00
.content .Agda .Markup { color: var(--default-text); }
2024-05-17 22:37:20 +00:00
.content .Agda .Keyword { color: #CD6600 }
.content .Agda .String { color: #B22222 }
.content .Agda .Number { color: #A020F0 }
2024-06-01 20:16:22 +00:00
.content .Agda .Symbol { color: var(--symbol); }
.content .Agda .PrimitiveType { color: var(--blue); }
.content .Agda .Pragma { color: var(--default-text); }
2024-05-17 22:37:20 +00:00
.content .Agda .Operator {}
.content .Agda .Hole { background: #B4EEB4 }
/* NameKinds. */
2024-06-01 20:16:22 +00:00
.content .Agda .Bound { color: var(--default-text); }
.content .Agda .Generalizable { color: var(--default-text); }
2024-05-17 22:37:20 +00:00
.content .Agda .InductiveConstructor { color: #008B00 }
.content .Agda .CoinductiveConstructor { color: #8B7500 }
2024-06-01 20:16:22 +00:00
.content .Agda .Datatype { color: var(--blue); }
2024-05-17 22:37:20 +00:00
.content .Agda .Field { color: #EE1289 }
2024-06-01 20:16:22 +00:00
.content .Agda .Function { color: var(--blue); }
2024-05-17 22:37:20 +00:00
.content .Agda .Module { color: #A020F0 }
2024-06-01 20:16:22 +00:00
.content .Agda .Postulate { color: var(--blue); }
.content .Agda .Primitive { color: var(--blue); }
.content .Agda .Record { color: var(--blue); }
2024-05-17 22:37:20 +00:00
/* OtherAspects. */
.content .Agda .DottedPattern {}
2024-06-01 20:16:22 +00:00
.content .Agda .UnsolvedMeta { color: var(--default-text); background: yellow }
.content .Agda .UnsolvedConstraint { color: var(--default-text); background: yellow }
.content .Agda .TerminationProblem { color: var(--default-text); background: #FFA07A }
.content .Agda .IncompletePattern { color: var(--default-text); background: #F5DEB3 }
2024-05-17 22:37:20 +00:00
.content .Agda .Error { color: red; text-decoration: underline }
2024-06-01 20:16:22 +00:00
.content .Agda .TypeChecks { color: var(--default-text); background: #ADD8E6 }
.content .Agda .Deadcode { color: var(--default-text); background: #808080 }
.content .Agda .ShadowingInTelescope { color: var(--default-text); background: #808080 }
2024-05-17 22:37:20 +00:00
/* Standard attributes. */
.Agda a { text-decoration: none }
.Agda a[href]:hover { background-color: #B4EEB4 }
.Agda [href].hover-highlight { background-color: #B4EEB4; }