blob: 9e118d8cfd88f976dbfd82a4a9c3b2791c27be67 (
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 Books extends StyleSheet.Inline {
import dsl._
val count = style(
marginBottom(30.px)
)
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)
)
}
|