mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-15 13:25:44 +01:00
投稿詳細:本文
This commit is contained in:
parent
b8616b7f9e
commit
a28b3a46f7
1 changed files with 38 additions and 42 deletions
|
@ -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,49 +148,45 @@
|
||||||
> .main > footer > button
|
> .main > footer > button
|
||||||
color #888
|
color #888
|
||||||
|
|
||||||
> .avatar-anchor
|
|
||||||
display block
|
|
||||||
|
|
||||||
> .avatar
|
|
||||||
display block
|
|
||||||
width 54px
|
|
||||||
height 54px
|
|
||||||
margin 0
|
|
||||||
border-radius 8px
|
|
||||||
vertical-align bottom
|
|
||||||
|
|
||||||
@media (min-width 500px)
|
|
||||||
width 60px
|
|
||||||
height 60px
|
|
||||||
|
|
||||||
> header
|
> header
|
||||||
position absolute
|
display flex
|
||||||
top 18px
|
line-height 1.1em
|
||||||
left 80px
|
|
||||||
width calc(100% - 80px)
|
|
||||||
|
|
||||||
@media (min-width 500px)
|
> .avatar-anchor
|
||||||
top 28px
|
|
||||||
left 108px
|
|
||||||
width calc(100% - 108px)
|
|
||||||
|
|
||||||
> .name
|
|
||||||
display inline-block
|
|
||||||
margin 0
|
|
||||||
color #777
|
|
||||||
font-size 16px
|
|
||||||
font-weight bold
|
|
||||||
text-align left
|
|
||||||
text-decoration none
|
|
||||||
|
|
||||||
&:hover
|
|
||||||
text-decoration underline
|
|
||||||
|
|
||||||
> .username
|
|
||||||
display block
|
display block
|
||||||
text-align left
|
padding 0 .5em 0 0
|
||||||
margin 0
|
|
||||||
color #ccc
|
> .avatar
|
||||||
|
display block
|
||||||
|
width 54px
|
||||||
|
height 54px
|
||||||
|
margin 0
|
||||||
|
border-radius 8px
|
||||||
|
vertical-align bottom
|
||||||
|
|
||||||
|
@media (min-width 500px)
|
||||||
|
width 60px
|
||||||
|
height 60px
|
||||||
|
|
||||||
|
> div
|
||||||
|
|
||||||
|
> .name
|
||||||
|
display inline-block
|
||||||
|
margin .4em 0
|
||||||
|
color #777
|
||||||
|
font-size 16px
|
||||||
|
font-weight bold
|
||||||
|
text-align left
|
||||||
|
text-decoration none
|
||||||
|
|
||||||
|
&:hover
|
||||||
|
text-decoration underline
|
||||||
|
|
||||||
|
> .username
|
||||||
|
display block
|
||||||
|
text-align left
|
||||||
|
margin 0
|
||||||
|
color #ccc
|
||||||
|
|
||||||
> .body
|
> .body
|
||||||
padding 8px 0
|
padding 8px 0
|
||||||
|
|
Loading…
Reference in a new issue