This commit is contained in:
syuilo 2017-11-12 06:06:09 +09:00
parent 62a7dd2865
commit 64c66daa02
2 changed files with 4 additions and 1 deletions

View file

@ -11,6 +11,7 @@
:scope :scope
display block display block
background #fff background #fff
overflow hidden
> .title > .title
z-index 2 z-index 2

View file

@ -1,6 +1,6 @@
<mk-profile-home-widget data-compact={ data.compact }> <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> <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> <a class="name" href={ '/' + I.username }>{ I.name }</a>
<p class="username">@{ I.username }</p> <p class="username">@{ I.username }</p>
<style> <style>
@ -22,6 +22,7 @@
left 21px left 21px
border none border none
border-radius 100% border-radius 100%
box-shadow 0 0 16px rgba(0, 0, 0, 0.5)
> .name > .name
position absolute position absolute
@ -30,6 +31,7 @@
margin 0 margin 0
line-height 100px line-height 100px
color #fff color #fff
text-shadow 0 0 8px rgba(0, 0, 0, 0.5)
> .username > .username
display none display none