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

import scalacss.Defaults._

import reading.component.style.Col

object BookDetail extends StyleSheet.Inline {
  import dsl._

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

  val author = style(
    display.inlineBlock
  )

  val detail = style(
    display.flex
  )

  val cover = style(
    height(300.px),
    marginRight(30.px)
  )

  val item = style(
    lineHeight(25.px),
    marginBottom(4.px)
  )

  val itemKey = style(
    fontWeight.bold,
    marginRight(10.px)
  )

  val itemValue = style()
}