aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/reading/component/index/style/Books.scala
blob: 34a7a83ef0d466799d1f53ea81ccfbc8473d252c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package reading.component.index.style

import scalacss.Defaults._

object Books extends StyleSheet.Inline {
  import dsl._

  val books = style(
    display.flex,
    flexWrap.wrap
  )

  val book = style(
    width(250.px),
    paddingBottom(60.px),
    textAlign.center
  )

  val cover = style(
    height(250.px),
    cursor.pointer
  )
}