mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-28 18:56:43 -06:00
🎨
This commit is contained in:
parent
62a7dd2865
commit
64c66daa02
2 changed files with 4 additions and 1 deletions
|
@ -11,6 +11,7 @@
|
|||
:scope
|
||||
display block
|
||||
background #fff
|
||||
overflow hidden
|
||||
|
||||
> .title
|
||||
z-index 2
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<mk-profile-home-widget data-compact={ data.compact }>
|
||||
<div class="banner" style={ I.banner_url ? 'background-image: url(' + I.banner_url + '?thumbnail&size=256)' : '' } title="クリックでバナー編集" onclick={ setBanner }></div>
|
||||
<img class="avatar" src={ I.avatar_url + '?thumbnail&size=64' } onclick={ setAvatar } alt="avatar" title="クリックでアバター編集" data-user-preview={ I.id }/>
|
||||
<img class="avatar" src={ I.avatar_url + '?thumbnail&size=96' } onclick={ setAvatar } alt="avatar" title="クリックでアバター編集" data-user-preview={ I.id }/>
|
||||
<a class="name" href={ '/' + I.username }>{ I.name }</a>
|
||||
<p class="username">@{ I.username }</p>
|
||||
<style>
|
||||
|
@ -22,6 +22,7 @@
|
|||
left 21px
|
||||
border none
|
||||
border-radius 100%
|
||||
box-shadow 0 0 16px rgba(0, 0, 0, 0.5)
|
||||
|
||||
> .name
|
||||
position absolute
|
||||
|
@ -30,6 +31,7 @@
|
|||
margin 0
|
||||
line-height 100px
|
||||
color #fff
|
||||
text-shadow 0 0 8px rgba(0, 0, 0, 0.5)
|
||||
|
||||
> .username
|
||||
display none
|
||||
|
|
Loading…
Reference in a new issue