butterfly-extsrc
Version:
The external resource of hexo-theme-butterfly
190 lines • 4.02 kB
CSS
@font-face {
font-family: "iconfont";
src: url("../fonts/iconfont.woff2") format("woff2"), url("../fonts/iconfont.woff") format("woff"), url("../fonts/iconfont.ttf") format("truetype");
}
.social-share {
font-family: "iconfont" ;
font-size: 16px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-webkit-text-stroke-width: 0.2px;
-moz-osx-font-smoothing: grayscale;
}
.social-share * {
font-family: "iconfont" ;
}
.social-share .icon-qq:before {
content: "\e882";
}
.social-share .icon-weibo:before {
content: "\e884";
}
.social-share .icon-wechat:before {
content: "\e604";
}
.social-share .icon-heart:before {
content: "\e69d";
}
.social-share .icon-like:before {
content: "\e602";
}
.social-share .icon-qzone:before {
content: "\e603";
}
.social-share .icon-linkedin:before {
content: "\e8d5";
}
.social-share .icon-facebook:before {
content: "\e6a1";
}
.social-share .icon-x:before {
content: "\e75c";
}
.social-share .icon-twitter:before {
content: "\e883";
}
.social-share a {
position: relative;
text-decoration: none;
margin: 4px;
display: inline-block;
outline: none;
}
.social-share .social-share-icon {
position: relative;
display: inline-block;
width: 32px;
height: 32px;
font-size: 20px;
border-radius: 50%;
line-height: 32px;
border: 1px solid #666;
color: #666;
text-align: center;
vertical-align: middle;
transition: background 0.6s ease-out 0s;
}
.social-share .social-share-icon:hover {
background: #666;
color: #fff;
}
.social-share .icon-weibo {
color: #ff763b;
border-color: #ff763b;
}
.social-share .icon-weibo:hover {
background: #ff763b;
}
.social-share .icon-qq {
color: #56b6e7;
border-color: #56b6e7;
}
.social-share .icon-qq:hover {
background: #56b6e7;
}
.social-share .icon-qzone {
color: #fdbe3d;
border-color: #fdbe3d;
}
.social-share .icon-qzone:hover {
background: #fdbe3d;
}
.social-share .icon-linkedin {
color: #0077b5;
border-color: #0077b5;
}
.social-share .icon-linkedin:hover {
background: #0077b5;
}
.social-share .icon-facebook {
color: #44619d;
border-color: #44619d;
}
.social-share .icon-facebook:hover {
background: #44619d;
}
.social-share .icon-x {
color: #000000;
border-color: #000000;
}
.social-share .icon-x:hover {
background: #000000;
}
.social-share .icon-twitter {
color: #1da1f2;
border-color: #1da1f2;
}
.social-share .icon-twitter:hover {
background: #1da1f2;
}
.social-share .icon-wechat {
position: relative;
color: #7bc549;
border-color: #7bc549;
}
.social-share .icon-wechat:hover {
background: #7bc549;
}
.social-share .icon-wechat .wechat-qrcode {
display: none;
border: 1px solid #eee;
position: absolute;
z-index: 9;
top: -205px;
left: -84px;
width: 200px;
height: 192px;
color: #666;
font-size: 12px;
text-align: center;
background-color: #fff;
box-shadow: 0 2px 10px #aaa;
transition: all 200ms;
-webkit-tansition: all 350ms;
-moz-transition: all 350ms;
}
.social-share .icon-wechat .wechat-qrcode.bottom {
top: 40px;
left: -84px;
}
.social-share .icon-wechat .wechat-qrcode.bottom:after {
display: none;
}
.social-share .icon-wechat .wechat-qrcode h4 {
font-weight: normal;
height: 26px;
line-height: 26px;
font-size: 12px;
background-color: #f3f3f3;
margin: 0;
padding: 0;
color: #777;
}
.social-share .icon-wechat .wechat-qrcode .qrcode {
width: 105px;
margin: 10px auto;
}
.social-share .icon-wechat .wechat-qrcode .qrcode table {
margin: 0 ;
}
.social-share .icon-wechat .wechat-qrcode .help p {
font-weight: normal;
line-height: 16px;
padding: 0;
margin: 0;
}
.social-share .icon-wechat .wechat-qrcode:after {
content: "";
position: absolute;
left: 50%;
margin-left: -6px;
bottom: -13px;
width: 0;
height: 0;
border-width: 8px 6px 6px 6px;
border-style: solid;
border-color: #fff transparent transparent transparent;
}
.social-share .icon-wechat:hover .wechat-qrcode {
display: block;
}