fix static font paths
This commit is contained in:
parent
c40dc7bdfc
commit
ba66c9260f
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user