1
mirror of https://github.com/interstellar750/hexo_s synced 2024-10-19 00:23:51 +08:00
hexo_s/themes/Chic/source/css/_page/profile.styl

43 lines
986 B
Stylus

/** Profile **/
.profile-container
justify-content center
align-items center
.intro
text-align center
.avatar
padding 10px
img
width 250px
height auto
display inline-block
-webkit-border-radius 100%
border-radius 25%
-webkit-box-shadow 0 0 0 0.5em rgba(0, 0, 0, 0.05)
box-shadow 0 0 0 0.5em rgba(0, 0, 0, 0.05)
margin 0 auto
-webkit-transition all ease 0.4s
-moz-transition all ease 0.4s
-o-transition all ease 0.4s
transition all ease 0.4s
cursor pointer
&:hover
position relative
-webkit-transform translateY(-0.75em)
-moz-transform translateY(-0.75em)
-ms-transform translateY(-0.75em)
-o-transform translateY(-0.75em)
transform translateY(-0.75em)
cursor pointer
.nickname
font-size 2.5em
font-weight normal
.links
a
padding: 0 10px
&:hover
background-color: transparent
.iconfont
font-size: 2.5em