aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/reading/component/style/Global.scala
blob: 861b78a8ba3729afccbcd33dffbf05d716becab7 (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
package reading.component.style

import scalacss.Defaults._

object Global extends StyleSheet.Standalone {
  import dsl._

  "html" -
    boxSizing.borderBox

  "a" - (
    color(Col.eastBay),
    &.hover(
      textDecoration := "underline"
    )
  )

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

  "button" - (
    cursor.pointer,
    display.flex,
    backgroundColor(initial),
    color(Col.black),
    border.none
  )
}