blob: 8c70b450433079f558f98e1287a359112799e613 (
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
36
37
38
39
40
41
42
43
44
45
|
package reading.component.style
import scalacss.Defaults._
import reading.component.style.{ Color => C }
object Global extends StyleSheet.Standalone {
import dsl._
"html" - (
boxSizing.borderBox
)
"body" - (
position.absolute,
top(0.px),
right(0.px),
bottom(0.px),
left(0.px)
)
"body > *" - (
minHeight(100.%%)
)
"a" - (
color(C.eastBay.value),
&.hover(
textDecoration := "underline"
)
)
"*, *:before, *:after" - (
boxSizing.inherit
)
"button" - (
cursor.pointer,
display.flex,
backgroundColor(initial),
color(C.black.value),
border.none,
fontSize.inherit
)
}
|