switch to using 'monospace' rather than firacode. self host katex
This commit is contained in:
parent
52190776d7
commit
791fa607da
22
LICENSE
Normal file
22
LICENSE
Normal file
|
@ -0,0 +1,22 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2022 depsterr <depsterr at protonmail dot com>
|
||||
Copyright (c) 2013-2020 Khan Academy and other contributors
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
|
@ -6,10 +6,12 @@ plugins:
|
|||
- jekyll-feed
|
||||
- jekyll-katex
|
||||
- jekyll/agda
|
||||
- jekyll-minifier
|
||||
|
||||
exclude:
|
||||
- "*.agdai"
|
||||
- "readme.md"
|
||||
- "LICENSE"
|
||||
|
||||
katex:
|
||||
rendering_options:
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
<meta charset="utf-8">
|
||||
<title>{{ page.title }} - {{ site.title }}</title>
|
||||
<link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}">
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.15.2/dist/katex.min.css" integrity="sha384-MlJdn/WNKDGXveldHDdyRP1R4CTHr3FeuDNfhsLPYrq2t0UBkUdK2jyTnXPEK1NQ" crossorigin="anonymous">
|
||||
<link rel="stylesheet" href="{{ "/lagda/Agda.css" | relative_url }}" />
|
||||
</head>
|
||||
<body>
|
||||
|
|
BIN
assets/css/fonts/KaTeX_AMS-Regular.ttf
Normal file
BIN
assets/css/fonts/KaTeX_AMS-Regular.ttf
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_AMS-Regular.woff
Normal file
BIN
assets/css/fonts/KaTeX_AMS-Regular.woff
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_AMS-Regular.woff2
Normal file
BIN
assets/css/fonts/KaTeX_AMS-Regular.woff2
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_Caligraphic-Bold.ttf
Normal file
BIN
assets/css/fonts/KaTeX_Caligraphic-Bold.ttf
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_Caligraphic-Bold.woff
Normal file
BIN
assets/css/fonts/KaTeX_Caligraphic-Bold.woff
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_Caligraphic-Bold.woff2
Normal file
BIN
assets/css/fonts/KaTeX_Caligraphic-Bold.woff2
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_Caligraphic-Regular.ttf
Normal file
BIN
assets/css/fonts/KaTeX_Caligraphic-Regular.ttf
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_Caligraphic-Regular.woff
Normal file
BIN
assets/css/fonts/KaTeX_Caligraphic-Regular.woff
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_Caligraphic-Regular.woff2
Normal file
BIN
assets/css/fonts/KaTeX_Caligraphic-Regular.woff2
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_Fraktur-Bold.ttf
Normal file
BIN
assets/css/fonts/KaTeX_Fraktur-Bold.ttf
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_Fraktur-Bold.woff
Normal file
BIN
assets/css/fonts/KaTeX_Fraktur-Bold.woff
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_Fraktur-Bold.woff2
Normal file
BIN
assets/css/fonts/KaTeX_Fraktur-Bold.woff2
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_Fraktur-Regular.ttf
Normal file
BIN
assets/css/fonts/KaTeX_Fraktur-Regular.ttf
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_Fraktur-Regular.woff
Normal file
BIN
assets/css/fonts/KaTeX_Fraktur-Regular.woff
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_Fraktur-Regular.woff2
Normal file
BIN
assets/css/fonts/KaTeX_Fraktur-Regular.woff2
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_Main-Bold.ttf
Normal file
BIN
assets/css/fonts/KaTeX_Main-Bold.ttf
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_Main-Bold.woff
Normal file
BIN
assets/css/fonts/KaTeX_Main-Bold.woff
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_Main-Bold.woff2
Normal file
BIN
assets/css/fonts/KaTeX_Main-Bold.woff2
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_Main-BoldItalic.ttf
Normal file
BIN
assets/css/fonts/KaTeX_Main-BoldItalic.ttf
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_Main-BoldItalic.woff
Normal file
BIN
assets/css/fonts/KaTeX_Main-BoldItalic.woff
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_Main-BoldItalic.woff2
Normal file
BIN
assets/css/fonts/KaTeX_Main-BoldItalic.woff2
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_Main-Italic.ttf
Normal file
BIN
assets/css/fonts/KaTeX_Main-Italic.ttf
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_Main-Italic.woff
Normal file
BIN
assets/css/fonts/KaTeX_Main-Italic.woff
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_Main-Italic.woff2
Normal file
BIN
assets/css/fonts/KaTeX_Main-Italic.woff2
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_Main-Regular.ttf
Normal file
BIN
assets/css/fonts/KaTeX_Main-Regular.ttf
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_Main-Regular.woff
Normal file
BIN
assets/css/fonts/KaTeX_Main-Regular.woff
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_Main-Regular.woff2
Normal file
BIN
assets/css/fonts/KaTeX_Main-Regular.woff2
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_Math-BoldItalic.ttf
Normal file
BIN
assets/css/fonts/KaTeX_Math-BoldItalic.ttf
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_Math-BoldItalic.woff
Normal file
BIN
assets/css/fonts/KaTeX_Math-BoldItalic.woff
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_Math-BoldItalic.woff2
Normal file
BIN
assets/css/fonts/KaTeX_Math-BoldItalic.woff2
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_Math-Italic.ttf
Normal file
BIN
assets/css/fonts/KaTeX_Math-Italic.ttf
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_Math-Italic.woff
Normal file
BIN
assets/css/fonts/KaTeX_Math-Italic.woff
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_Math-Italic.woff2
Normal file
BIN
assets/css/fonts/KaTeX_Math-Italic.woff2
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_SansSerif-Bold.ttf
Normal file
BIN
assets/css/fonts/KaTeX_SansSerif-Bold.ttf
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_SansSerif-Bold.woff
Normal file
BIN
assets/css/fonts/KaTeX_SansSerif-Bold.woff
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_SansSerif-Bold.woff2
Normal file
BIN
assets/css/fonts/KaTeX_SansSerif-Bold.woff2
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_SansSerif-Italic.ttf
Normal file
BIN
assets/css/fonts/KaTeX_SansSerif-Italic.ttf
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_SansSerif-Italic.woff
Normal file
BIN
assets/css/fonts/KaTeX_SansSerif-Italic.woff
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_SansSerif-Italic.woff2
Normal file
BIN
assets/css/fonts/KaTeX_SansSerif-Italic.woff2
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_SansSerif-Regular.ttf
Normal file
BIN
assets/css/fonts/KaTeX_SansSerif-Regular.ttf
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_SansSerif-Regular.woff
Normal file
BIN
assets/css/fonts/KaTeX_SansSerif-Regular.woff
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_SansSerif-Regular.woff2
Normal file
BIN
assets/css/fonts/KaTeX_SansSerif-Regular.woff2
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_Script-Regular.ttf
Normal file
BIN
assets/css/fonts/KaTeX_Script-Regular.ttf
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_Script-Regular.woff
Normal file
BIN
assets/css/fonts/KaTeX_Script-Regular.woff
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_Script-Regular.woff2
Normal file
BIN
assets/css/fonts/KaTeX_Script-Regular.woff2
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_Size1-Regular.ttf
Normal file
BIN
assets/css/fonts/KaTeX_Size1-Regular.ttf
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_Size1-Regular.woff
Normal file
BIN
assets/css/fonts/KaTeX_Size1-Regular.woff
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_Size1-Regular.woff2
Normal file
BIN
assets/css/fonts/KaTeX_Size1-Regular.woff2
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_Size2-Regular.ttf
Normal file
BIN
assets/css/fonts/KaTeX_Size2-Regular.ttf
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_Size2-Regular.woff
Normal file
BIN
assets/css/fonts/KaTeX_Size2-Regular.woff
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_Size2-Regular.woff2
Normal file
BIN
assets/css/fonts/KaTeX_Size2-Regular.woff2
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_Size3-Regular.ttf
Normal file
BIN
assets/css/fonts/KaTeX_Size3-Regular.ttf
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_Size3-Regular.woff
Normal file
BIN
assets/css/fonts/KaTeX_Size3-Regular.woff
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_Size3-Regular.woff2
Normal file
BIN
assets/css/fonts/KaTeX_Size3-Regular.woff2
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_Size4-Regular.ttf
Normal file
BIN
assets/css/fonts/KaTeX_Size4-Regular.ttf
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_Size4-Regular.woff
Normal file
BIN
assets/css/fonts/KaTeX_Size4-Regular.woff
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_Size4-Regular.woff2
Normal file
BIN
assets/css/fonts/KaTeX_Size4-Regular.woff2
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_Typewriter-Regular.ttf
Normal file
BIN
assets/css/fonts/KaTeX_Typewriter-Regular.ttf
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_Typewriter-Regular.woff
Normal file
BIN
assets/css/fonts/KaTeX_Typewriter-Regular.woff
Normal file
Binary file not shown.
BIN
assets/css/fonts/KaTeX_Typewriter-Regular.woff2
Normal file
BIN
assets/css/fonts/KaTeX_Typewriter-Regular.woff2
Normal file
Binary file not shown.
1079
assets/css/katex.scss
Normal file
1079
assets/css/katex.scss
Normal file
File diff suppressed because it is too large
Load Diff
|
@ -47,6 +47,7 @@ $text-emph: var(--text-emph);
|
|||
|
||||
body {
|
||||
background-color: $background;
|
||||
font-family: serif;
|
||||
}
|
||||
|
||||
img {
|
||||
|
@ -58,20 +59,6 @@ figcaption {
|
|||
color: $text;
|
||||
}
|
||||
|
||||
@import url(https://cdn.jsdelivr.net/npm/firacode@6.2.0/distr/fira_code.css);
|
||||
|
||||
code, .Agda { font-family: 'Fira Code', monospace; }
|
||||
|
||||
@supports (font-variation-settings: normal) {
|
||||
code, .Agda { font-family: 'Fira Code VF', monospace; }
|
||||
}
|
||||
|
||||
code, .Agda {
|
||||
background-color: $background-alt;
|
||||
padding: 4px;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
pre code {
|
||||
display: block;
|
||||
}
|
||||
|
@ -155,3 +142,12 @@ hr {
|
|||
display: block;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
code, .Agda {
|
||||
font-family: monospace, monospace;
|
||||
background-color: $background-alt;
|
||||
padding: 4px;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
@import "katex"
|
||||
|
|
|
@ -8,3 +8,8 @@ sources for depsterr.com. built using jekyll (without a theme).
|
|||
* jekyll-feed
|
||||
* jekyll-katex (needs katex)
|
||||
* jekyll-agda (needs agda)
|
||||
* jekyll-minifier
|
||||
|
||||
## Aknowlegdements
|
||||
|
||||
This repository contains katex code for self hosting katex. This code is used under the MIT LICENSE (for details, read the `LICENSE` file).
|
||||
|
|
Loading…
Reference in New Issue
Block a user