blob: 71aa7334580014851723b13c0a1383b868ec6096 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
package moe.nea89.website
import kotlinx.css.*
import styled.StyleSheet
object Styles : StyleSheet("Styles") {
val consoleClass = "Console"
val bgColor = CustomColor.BLACK.color
val fgColor = CustomColor.WHITE.color
val comicMono = "\"Comic Mono\", monospace"
val global by css {
"*" {
padding(0.px)
margin(0.px)
boxSizing = BoxSizing.borderBox
}
body {
width = 100.pct
height = 100.pct
backgroundColor = bgColor
color = fgColor
fontFamily = comicMono
}
".$consoleClass" {
width = 100.pct
height = 100.pct
pre {
fontFamily = comicMono
}
}
}
}
|