fix static font paths

This commit is contained in:
kageru 2020-05-03 20:18:13 +02:00
parent c40dc7bdfc
commit ba66c9260f
Signed by: kageru
GPG Key ID: 8282A2BEA4ADA3D2
2 changed files with 2 additions and 2 deletions

@ -8,7 +8,7 @@ object Css {
const val FLOATY_CLASS = "floatything" const val FLOATY_CLASS = "floatything"
private val accent1 = Color("#e6db74") // monokai yellow private val accent1 = Color("#e6db74") // monokai yellow
private val accent2 = Color("#a6e22e") // monokai green 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 fontcolor = Color.lightGrey
private val bgcolor = Color("#23241f") private val bgcolor = Color("#23241f")

@ -23,7 +23,7 @@ object PastePage {
+"""<style>html { scrollbar-color: transparent transparent; }::-webkit-scrollbar { display: none; } +"""<style>html { scrollbar-color: transparent transparent; }::-webkit-scrollbar { display: none; }
@font-face { @font-face {
font-family: 'Hack'; 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-weight: 400;
font-style: normal; font-style: normal;
}</style>""".trimIndent() }</style>""".trimIndent()