Permalink
Browse files

style(.social li): margin

nth-child(5n) & last-child is redundant,
Use left/right margin to centre icons.
  • Loading branch information...
MOxFIVE committed Feb 23, 2016
1 parent 51bf2e3 commit d0167eb45993c2b6dad2f8a7d6eecd4d84720b74
Showing with 2 additions and 9 deletions.
  1. +2 −5 source/css/_partial/customise/social-icon.styl
  2. +0 −4 source/css/_partial/mobile.styl
@@ -5,9 +5,8 @@
li
display inline-block
width 37px
border-radius:50%
margin-right 3px
margin-bottom 6px
border-radius 50%
margin 0 2px 6px
font 23px FontAwesome
background #6f7170
opacity .58
@@ -19,8 +18,6 @@
&:hover
opacity 1
transform scale(1.1)
&:nth-child(5n), &:last-child
margin-right 0
img-logo = {
"新浪微博": #ecc260
@@ -341,10 +341,6 @@
display: none !important;
}
#header .social li:nth-child(5n) {
margin-right: 3px;
}
if hexo-config("github_widget")
.github-text
display none

0 comments on commit d0167eb

Please sign in to comment.