aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/reading/component/style/Global.scala
blob: 95514247ee012dacf64f2ab51b5cbf291f1999b2 (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
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,
    width(100.%%),
    height(100.%%)
  )

  "a" - (
    color(inherit)
  )

  "*, *:before, *:after" - (
    boxSizing.inherit
  )

  "button" - (
    cursor.pointer,
    display.flex,
    backgroundColor(initial),
    color(C.black.value),
    border.none,
    fontSize.inherit
  )
}