mirror of
https://ghfast.top/https://github.com/zsjy/halo-theme-dream2.0-plus.git
synced 2025-03-16 12:29:41 +08:00
316 lines
6.5 KiB
CSS
316 lines
6.5 KiB
CSS
@charset "utf-8";
|
|
/* CSS Document */
|
|
@font-face {
|
|
font-family: "dshare";
|
|
src: url("../font/dshare.woff2") format("woff2");
|
|
}
|
|
.dshare-container {
|
|
font-family: "dshare" !important;
|
|
}
|
|
.dshare-container .dshare-icon {
|
|
width: 32px;
|
|
height: 32px;
|
|
margin: 4px;
|
|
font-size: 20px;
|
|
line-height: 32px;
|
|
border: 1px solid;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
display: inline-block;
|
|
border-radius: 50%;
|
|
-webkit-transition: background 0.6s ease-out 0s;
|
|
transition: background 0.6s ease-out 0s;
|
|
}
|
|
.dshare-container .dshare-icon:hover {
|
|
color: #fff;
|
|
}
|
|
.dshare-container .icon-qq {
|
|
color: #56b6e7;
|
|
border-color: #56b6e7;
|
|
}
|
|
.dshare-container .icon-qq:before {
|
|
content: '\f01a';
|
|
}
|
|
.dshare-container .icon-qq:hover {
|
|
background: #56b6e7;
|
|
}
|
|
.dshare-container .icon-qzone {
|
|
color: #FDBE3D;
|
|
border-color: #FDBE3D;
|
|
}
|
|
.dshare-container .icon-qzone:before {
|
|
content: '\f02a';
|
|
}
|
|
.dshare-container .icon-qzone:hover {
|
|
background: #FDBE3D;
|
|
}
|
|
.dshare-container .icon-wechat {
|
|
position: relative;
|
|
color: #7bc549;
|
|
border-color: #7bc549;
|
|
}
|
|
.dshare-container .icon-wechat:before {
|
|
content: '\f03a';
|
|
}
|
|
.dshare-container .icon-wechat:hover {
|
|
background: #7bc549;
|
|
}
|
|
.dshare-container .icon-wechat:hover .wechat-qrcode {
|
|
opacity: 1;
|
|
-webkit-transform: translateY(-15px);
|
|
transform: translateY(-15px);
|
|
}
|
|
.dshare-container .icon-weibo {
|
|
color: #ff763b;
|
|
border-color: #ff763b;
|
|
}
|
|
.dshare-container .icon-weibo:before {
|
|
content: '\f04a';
|
|
}
|
|
.dshare-container .icon-weibo:hover {
|
|
background: #ff763b;
|
|
}
|
|
.dshare-container .icon-douban {
|
|
color: #33b045;
|
|
border-color: #33b045;
|
|
}
|
|
.dshare-container .icon-douban:before {
|
|
content: '\f05a';
|
|
}
|
|
.dshare-container .icon-douban:hover {
|
|
background: #33b045;
|
|
}
|
|
.dshare-container .icon-linkedin {
|
|
color: #0077B5;
|
|
border-color: #0077B5;
|
|
}
|
|
.dshare-container .icon-linkedin:before {
|
|
content: '\f06a';
|
|
}
|
|
.dshare-container .icon-linkedin:hover {
|
|
background: #0077B5;
|
|
}
|
|
.dshare-container .icon-facebook {
|
|
color: #44619D;
|
|
border-color: #44619D;
|
|
}
|
|
.dshare-container .icon-facebook:before {
|
|
content: '\f07a';
|
|
}
|
|
.dshare-container .icon-facebook:hover {
|
|
background: #44619D;
|
|
}
|
|
.dshare-container .icon-twitter {
|
|
color: #55acee;
|
|
border-color: #55acee;
|
|
}
|
|
.dshare-container .icon-twitter:before {
|
|
content: '\f08a';
|
|
}
|
|
.dshare-container .icon-twitter:hover {
|
|
background: #55acee;
|
|
}
|
|
.dshare-container .icon-google {
|
|
color: #db4437;
|
|
border-color: #db4437;
|
|
}
|
|
.dshare-container .icon-google:before {
|
|
content: '\f09a';
|
|
}
|
|
.dshare-container .icon-google:hover {
|
|
background: #db4437;
|
|
}
|
|
.dshare-container .icon-link {
|
|
color: var(--theme);
|
|
border-color: var(--theme);
|
|
}
|
|
.dshare-container .icon-link:before {
|
|
content: '\f10a';
|
|
}
|
|
.dshare-container .icon-link:hover {
|
|
background: var(--theme);
|
|
}
|
|
.dshare-container .icon-poster {
|
|
color: var(--theme);
|
|
border-color: var(--theme);
|
|
}
|
|
.dshare-container .icon-poster:before {
|
|
content: '\f11a';
|
|
}
|
|
.dshare-container .icon-poster:hover {
|
|
background: var(--theme);
|
|
}
|
|
.dshare-container .wechat-qrcode {
|
|
opacity: 0;
|
|
position: absolute;
|
|
height: 165px;
|
|
width: 140px;
|
|
top: -150px;
|
|
left: -54px;
|
|
font-size: 12px;
|
|
border: 1px solid #eee;
|
|
border-radius: 5px;
|
|
background: #fff;
|
|
-webkit-box-shadow: 0 2px 10px #aaa;
|
|
box-shadow: 0 2px 10px #aaa;
|
|
pointer-events: none;
|
|
-webkit-transition: all 0.3s;
|
|
transition: all 0.3s;
|
|
}
|
|
.dshare-container .wechat-qrcode:after {
|
|
content: '';
|
|
position: absolute;
|
|
left: 50%;
|
|
margin-left: -8px;
|
|
bottom: -13px;
|
|
width: 0;
|
|
height: 0;
|
|
border-width: 8px 8px 6px 8px;
|
|
border-style: solid;
|
|
border-color: #fff transparent transparent transparent;
|
|
}
|
|
.dshare-container .wechat-qrcode h4 {
|
|
margin: 0;
|
|
padding: 0;
|
|
height: 25px;
|
|
line-height: 25px;
|
|
color: #777;
|
|
background-color: #f3f3f3;
|
|
}
|
|
.dshare-container .wechat-qrcode img {
|
|
width: 100%;
|
|
}
|
|
.dshare-poster {
|
|
left: 0;
|
|
top: 0;
|
|
height: 100%;
|
|
width: 100%;
|
|
position: fixed;
|
|
z-index: 99999;
|
|
-webkit-transition: all 0.3s;
|
|
transition: all 0.3s;
|
|
background: rgba(0, 0, 0, 0.3);
|
|
}
|
|
.dshare-poster.close-animation {
|
|
opacity: 0;
|
|
}
|
|
.dshare-poster.close-animation .dshare-poster-container > * {
|
|
-webkit-transform: scale(0.4);
|
|
transform: scale(0.4);
|
|
}
|
|
.dshare-poster-container {
|
|
top: 50%;
|
|
left: 50%;
|
|
display: grid;
|
|
position: absolute;
|
|
width: 360px;
|
|
max-width: 90%;
|
|
-webkit-transform: translate(-50%, -50%);
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
.dshare-poster-download {
|
|
width: 50px;
|
|
height: 50px;
|
|
margin-top: 20px;
|
|
line-height: 50px;
|
|
font-size: 24px;
|
|
cursor: pointer;
|
|
background: var(--theme);
|
|
border-radius: 50%;
|
|
color: #fff;
|
|
text-align: center;
|
|
-webkit-transition: all 0.3s;
|
|
transition: all 0.3s;
|
|
justify-self: center;
|
|
}
|
|
.dshare-poster-crad {
|
|
overflow: hidden;
|
|
background: #fff;
|
|
border-radius: 6px;
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
-webkit-transition: all 0.3s;
|
|
transition: all 0.3s;
|
|
font-family: BlinkMacSystemFont, -apple-system, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
}
|
|
.dshare-poster-cover {
|
|
position: relative;
|
|
margin-bottom: -68px;
|
|
}
|
|
.dshare-poster-cover:after {
|
|
content: '';
|
|
position: absolute;
|
|
left: 0;
|
|
bottom: -1px;
|
|
width: 100%;
|
|
height: 140px;
|
|
background: -webkit-gradient(linear, left top, left bottom, from(transparent), to(#fff));
|
|
background: linear-gradient(180deg, transparent, #fff);
|
|
}
|
|
.dshare-poster-cover img {
|
|
width: 100%;
|
|
min-height: 180px;
|
|
max-height: 340px;
|
|
-o-object-fit: cover;
|
|
object-fit: cover;
|
|
}
|
|
.dshare-poster-content {
|
|
padding: 10px;
|
|
}
|
|
.dshare-poster-title {
|
|
color: #333;
|
|
position: relative;
|
|
margin-top: 8px;
|
|
padding-bottom: 14px;
|
|
font-size: 18px;
|
|
}
|
|
.dshare-poster-title:before {
|
|
content: '';
|
|
position: absolute;
|
|
width: 20%;
|
|
height: 2px;
|
|
left: 0;
|
|
bottom: 8px;
|
|
border-radius: 5px;
|
|
background: var(--theme);
|
|
}
|
|
.dshare-poster-title:after {
|
|
content: '';
|
|
position: absolute;
|
|
width: 63%;
|
|
height: 2px;
|
|
left: 0;
|
|
bottom: 1px;
|
|
border-radius: 5px;
|
|
background: var(--theme);
|
|
}
|
|
.dshare-poster-desc {
|
|
margin-top: 12px;
|
|
text-indent: 2em;
|
|
color: var(--main);
|
|
line-height: 1.6em;
|
|
}
|
|
.dshare-poster-footer {
|
|
margin-top: 28px;
|
|
border: 1px #ccc dashed;
|
|
border-radius: 5px;
|
|
display: -webkit-box;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
}
|
|
.dshare-poster-qrcode {
|
|
width: 70px;
|
|
}
|
|
.dshare-poster-qrcode-info {
|
|
margin: auto 0 auto 8px;
|
|
}
|
|
.dshare-poster-qrcode-site {
|
|
font-size: 16px;
|
|
}
|
|
.dshare-poster-qrcode-msg {
|
|
margin-top: 4px;
|
|
color: #999;
|
|
}
|