git ssb

3+

arj / patchbook



Commit f98a6d9bdd5cd5d9f01b1677573a1c5f7390376d

Styling

Anders Rune Jensen committed on 10/25/2017, 11:50:29 PM
Parent: 0cf2313f9b68e06b90166833d8317ac19c17e9ef

Files changed

book/html/layout/card.jschanged
book/html/layout/card.mcsschanged
book/html/layout/detail.mcsschanged
book/html/layout/card.jsView
@@ -43,12 +43,12 @@
4343 isCard.set(false)
4444 }
4545 }, '+'),
4646 h('.details', [
47 + images({images: obs.images}),
4748 title({title: obs.title, msg}),
4849 authors({authors: obs.authors}),
49- description({description: obs.description}),
50- images({images: obs.images})
50 + description({description: obs.description})
5151 ])
5252 ])
5353 ]
5454
book/html/layout/card.mcssView
@@ -30,21 +30,28 @@
3030 line-height: .8rem
3131 }
3232
3333 div.details {
34 + column-count: 2
3435 flex-grow: 1
35- max-width: 21rem
36 + max-width: 25rem
3637
3738 border: 1px gainsboro solid
38- border-right: none
3939 padding: .5rem
4040
41 + section.images img {
42 + max-width: 200px
43 + max-height: 200px
44 + }
45 +
4146 section.title {
42- font-size: 1.8rem
43- margin-bottom: 1rem
47 + font-size: 1.5rem
48 + margin-bottom: 0.3rem
4449 }
45- section {
4650
51 + section.authors {
52 + font-style: italic
53 + margin-bottom: 1rem
4754 }
4855 }
4956 }
5057 }
book/html/layout/detail.mcssView
@@ -28,24 +28,13 @@
2828 section.content {
2929 section {
3030 margin-bottom: 1rem
3131 }
32- section.images {
33- }
3432
3533 section.description {
3634 min-height: 3rem
3735 }
3836
39- section.time {
40- min-height: 4rem
41- (input) {
42- font-size: 1rem
43- border: 1px solid gainsboro
44- }
45-
46- }
47-
4837 section.actions {
4938 display: flex
5039 flex-basis: 100%
5140 justify-content: flex-end
@@ -60,14 +49,4 @@
6049 margin-left: auto
6150 }
6251 }
6352 }
64-
65-StartDateTime {
66- div {
67- input {
68- border: 1px solid gainsboro
69- font-size: 1em
70- width: 16rem
71- }
72- }
73-}

Built with git-ssb-web