Implemented most of the styles in scarlet now

This commit is contained in:
2016-12-02 15:24:45 +09:00
parent 31dfc47d5c
commit 59ef1f53f2
38 changed files with 126 additions and 1191 deletions

View File

@ -3,7 +3,7 @@ component Dashboard(posts []*arn.Post)
.dashboard-widget
each post in posts
a.dashboard-event.ui.ajax(href=post.Link())
a.dashboard-event.ajax(href=post.Link())
.dashboard-event-author
AvatarNoLink(post.Author())
.dashboard-event-text

View File

@ -1,23 +1,22 @@
.dashboard-widget
display flex
flex-flow column
vertical
align-items center
.dashboard-event
display flex
flex-flow column wrap
vertical-wrap
ui-element
margin-bottom 1rem
padding 0.75rem
width 100%
max-width 700px
.dashboard-event-author
display flex
horizontal
justify-content center
width 100%
.dashboard-event-text
display flex
horizontal
justify-content center
align-items center
width 100%