aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/reading/component/style/Index.scala
blob: 8f31683d0b48530cb1a5ef1d26308e7f64483c74 (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
package reading.component.style

import scalacss.Defaults._

object Index extends StyleSheet.Inline {
  import dsl._

  val header = style(
    fontSize(40.px),
    color(Col.congoBrown),
    textAlign.center,
    margin(10.px, auto, 30.px),
    padding(20.px),
    &.hover(
      textDecoration := "none"
    )
  )

  val page = style(
    display.flex
  )

  val main = style(
    marginLeft(20.px)
  )
}