commit
0ec8597c17
@ -15,8 +15,8 @@
|
|||||||
<div class="repost" if={ isRepost }>
|
<div class="repost" if={ isRepost }>
|
||||||
<p><a class="avatar-anchor" href={ CONFIG.url + '/' + post.user.username }><img class="avatar" src={ post.user.avatar_url + '?thumbnail&size=32' } alt="avatar"/></a><i class="fa fa-retweet"></i><a class="name" href={ CONFIG.url + '/' + post.user.username }>{ post.user.name }</a>がRepost</p>
|
<p><a class="avatar-anchor" href={ CONFIG.url + '/' + post.user.username }><img class="avatar" src={ post.user.avatar_url + '?thumbnail&size=32' } alt="avatar"/></a><i class="fa fa-retweet"></i><a class="name" href={ CONFIG.url + '/' + post.user.username }>{ post.user.name }</a>がRepost</p>
|
||||||
</div>
|
</div>
|
||||||
<article><a class="avatar-anchor" href={ CONFIG.url + '/' + p.user.username }><img class="avatar" src={ p.user.avatar_url + '?thumbnail&size=64' } alt="avatar"/></a>
|
<article>
|
||||||
<header><a class="name" href={ CONFIG.url + '/' + p.user.username }>{ p.user.name }</a><span class="username">@{ p.user.username }</span></header>
|
<header><a class="avatar-anchor" href={ CONFIG.url + '/' + p.user.username }><img class="avatar" src={ p.user.avatar_url + '?thumbnail&size=64' } alt="avatar"/></a><div><a class="name" href={ CONFIG.url + '/' + p.user.username }>{ p.user.name }</a><span class="username">@{ p.user.username }</span></div></header>
|
||||||
<div class="body">
|
<div class="body">
|
||||||
<div class="text" ref="text"></div>
|
<div class="text" ref="text"></div>
|
||||||
<div class="media" if={ p.media }>
|
<div class="media" if={ p.media }>
|
||||||
@ -148,8 +148,13 @@
|
|||||||
> .main > footer > button
|
> .main > footer > button
|
||||||
color #888
|
color #888
|
||||||
|
|
||||||
|
> header
|
||||||
|
display flex
|
||||||
|
line-height 1.1
|
||||||
|
|
||||||
> .avatar-anchor
|
> .avatar-anchor
|
||||||
display block
|
display block
|
||||||
|
padding 0 .5em 0 0
|
||||||
|
|
||||||
> .avatar
|
> .avatar
|
||||||
display block
|
display block
|
||||||
@ -163,20 +168,11 @@
|
|||||||
width 60px
|
width 60px
|
||||||
height 60px
|
height 60px
|
||||||
|
|
||||||
> header
|
> div
|
||||||
position absolute
|
|
||||||
top 18px
|
|
||||||
left 80px
|
|
||||||
width calc(100% - 80px)
|
|
||||||
|
|
||||||
@media (min-width 500px)
|
|
||||||
top 28px
|
|
||||||
left 108px
|
|
||||||
width calc(100% - 108px)
|
|
||||||
|
|
||||||
> .name
|
> .name
|
||||||
display inline-block
|
display inline-block
|
||||||
margin 0
|
margin .4em 0
|
||||||
color #777
|
color #777
|
||||||
font-size 16px
|
font-size 16px
|
||||||
font-weight bold
|
font-weight bold
|
||||||
|
@ -17,6 +17,10 @@
|
|||||||
background #fff
|
background #fff
|
||||||
|
|
||||||
> article
|
> article
|
||||||
|
padding 8px 16px 8px 16px
|
||||||
|
|
||||||
|
@media (min-width 500px)
|
||||||
|
padding 8px 32px 8px 32px
|
||||||
|
|
||||||
&:after
|
&:after
|
||||||
content ""
|
content ""
|
||||||
@ -45,31 +49,32 @@
|
|||||||
width calc(100% - 60px)
|
width calc(100% - 60px)
|
||||||
|
|
||||||
> header
|
> header
|
||||||
|
display flex
|
||||||
margin-bottom 4px
|
margin-bottom 4px
|
||||||
white-space nowrap
|
white-space nowrap
|
||||||
|
|
||||||
> .name
|
> .name
|
||||||
display inline
|
display block
|
||||||
margin 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
|
||||||
text-align left
|
text-align left
|
||||||
text-decoration none
|
text-decoration none
|
||||||
|
text-overflow ellipsis
|
||||||
|
|
||||||
&: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
|
||||||
|
Loading…
Reference in New Issue
Block a user