Merge pull request #180 from tamaina/lets_flex

投稿表示`header`改良
This commit is contained in:
syuilo⭐️ 2017-02-18 18:42:13 +09:00 committed by GitHub
commit a57ff16fd7
4 changed files with 9 additions and 10 deletions

View file

@ -45,31 +45,31 @@
width calc(100% - 68px) width calc(100% - 68px)
> header > header
margin-bottom 4px display flex
margin 4px 0
white-space nowrap white-space nowrap
> .name > .name
display inline margin 0 .5em 0 0
margin 0
padding 0 padding 0
color #607073 color #607073
font-size 1em font-size 1em
line-height 1.1em
font-weight 700 font-weight 700
text-align left text-align left
text-decoration none text-decoration none
white-space normal
&:hover &:hover
text-decoration underline text-decoration underline
> .username > .username
text-align left text-align left
margin 0 0 0 8px margin 0 .5em 0 0
color #d1d8da color #d1d8da
> .time > .time
position absolute margin-left auto
top 0
right 0
color #b2b8bb color #b2b8bb
> .body > .body

View file

@ -63,6 +63,7 @@
display block display block
margin 0 .5em 0 0 margin 0 .5em 0 0
padding 0 padding 0
overflow hidden
color #607073 color #607073
font-size 1em font-size 1em
font-weight 700 font-weight 700

View file

@ -56,7 +56,6 @@
> header > header
display flex display flex
flex-wrap wrap
margin-bottom 2px margin-bottom 2px
white-space nowrap white-space nowrap

View file

@ -147,7 +147,6 @@
> header > header
display flex display flex
flex-wrap wrap
white-space nowrap white-space nowrap
@media (min-width 500px) @media (min-width 500px)
@ -179,7 +178,7 @@
> .username > .username
text-align left text-align left
margin 0 margin 0 0.5em 0 0
color #ccc color #ccc
> .created-at > .created-at