Add agda stylesheet + Mono font

This commit is contained in:
Michael Zhang 2021-12-12 13:56:54 -06:00
parent efc6916dce
commit e59fdc101c
Signed by: michael
GPG key ID: BDA47A31A3C8EE6B
4 changed files with 49 additions and 1 deletions

2
.gitignore vendored
View file

@ -1,3 +1,5 @@
/public /public
/old /old
/resources /resources
.hugo_build.lock

37
assets/sass/_agda.scss Normal file
View file

@ -0,0 +1,37 @@
/* Aspects. */
.Agda .Comment { color: #608b4e }
.Agda .Background {}
.Agda .Markup { color: #000000 }
.Agda .Keyword { color: #569cd6 }
.Agda .String { color: #ce9178 }
.Agda .Number { color: #b5cea8 }
.Agda .Symbol { color: #cccccc }
.Agda .PrimitiveType { color: #00cdcd }
.Agda .Pragma { color: #cccccc }
.Agda .Operator {}
/* NameKinds. */
.Agda .Bound { color: black }
.Agda .Generalizable { color: black }
.Agda .InductiveConstructor { color: #cccccc }
.Agda .CoinductiveConstructor { color: #cccccc }
.Agda .Datatype { color: #00cdcd }
.Agda .Field { color: #cccccc }
.Agda .Function { color: #cccccc }
.Agda .Module { color: #cccccc }
.Agda .Postulate { color: #00cdcd }
.Agda .Primitive { color: #b5cea8 }
.Agda .Record { color: #00cdcd }
/* OtherAspects. */
.Agda .DottedPattern {}
.Agda .UnsolvedMeta { color: black; background: yellow }
.Agda .UnsolvedConstraint { color: black; background: yellow }
.Agda .TerminationProblem { color: black; background: #FFA07A }
.Agda .IncompletePattern { color: black; background: #F5DEB3 }
.Agda .Error { color: red; text-decoration: underline }
.Agda .TypeChecks { color: black; background: #ADD8E6 }
/* Standard attributes. */
.Agda a { text-decoration: none }
.Agda a[href]:hover { background-color: darken(#B4EEB4, 60%) }

View file

@ -1,7 +1,13 @@
@import "syntax"; @import "syntax";
@import "agda";
@font-face {
font-family: 'PragmataPro Mono Liga';
src: url('/fonts/PragmataPro_Mono_R_liga_0829.woff2') format('woff2');
}
$sansfont: "Helvetica", "Arial", "Liberation Sans", sans-serif; $sansfont: "Helvetica", "Arial", "Liberation Sans", sans-serif;
$monofont: "Roboto Mono", "Roboto Mono for Powerline", "Inconsolata", "Consolas", monospace; $monofont: "PragmataPro Mono Liga", "Roboto Mono", "Roboto Mono for Powerline", "Inconsolata", "Consolas", monospace;
// colors // colors

View file

@ -11,3 +11,6 @@ language = "languages"
endLevel = 4 endLevel = 4
ordered = true ordered = true
startLevel = 2 startLevel = 2
[markup.goldmark.renderer]
unsafe = true