fix static font paths

master
kageru 3 years ago
parent c40dc7bdfc
commit ba66c9260f
Signed by: kageru
GPG Key ID: 8282A2BEA4ADA3D2

@ -8,7 +8,7 @@ object Css {
const val FLOATY_CLASS = "floatything"
private val accent1 = Color("#e6db74") // monokai yellow
private val accent2 = Color("#a6e22e") // monokai green
private val selection = Color("#66d9ef") // monokai blue
private val selection = accent1
private val fontcolor = Color.lightGrey
private val bgcolor = Color("#23241f")

@ -23,7 +23,7 @@ object PastePage {
+"""<style>html { scrollbar-color: transparent transparent; }::-webkit-scrollbar { display: none; }
@font-face {
font-family: 'Hack';
src: url('fonts/hack.woff2') format('woff2'), url('fonts/hack.woff') format('woff');
src: url('/static/hack.woff2') format('woff2'), url('/static/hack.woff') format('woff');
font-weight: 400;
font-style: normal;
}</style>""".trimIndent()

Loading…
Cancel
Save