aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/reading/component/index/style/Books.scala
blob: ad7375dba5ec674236323e43d42745983f647a04 (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
package reading.component.index.style

import scalacss.Defaults._

import reading.component.style.Col

object Books extends StyleSheet.Inline {
  import dsl._

  val books = style(
  )

  val book = style(
    marginBottom(40.px),
    marginRight(60.px)
  )

  val title = style(
    display.inlineBlock,
    fontWeight.bold,
    marginBottom(20.px),
    color(Col.congoBrown)
  )

  val author = style(
    display.inlineBlock
  )

  val detail = style(
    display.flex
  )

  val cover = style(
    height(150.px),
    marginRight(40.px)
  )

  val item = style(
    marginBottom(10.px)
  )
}