From 94b623aa0c15d3bb0fd06b458d4966cc3e8e7ee3 Mon Sep 17 00:00:00 2001 From: Eltrac <45323514+BigCoke233@users.noreply.github.com> Date: Sat, 21 Dec 2019 21:54:12 +0800 Subject: =?UTF-8?q?=F0=9F=8E=88=20Add:=20=E8=AF=B4=E8=AF=B4=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E7=9A=84=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/css/dark.css | 305 +++++++++++++++++++++++++++++ assets/css/miracles.min.css | 460 ++++++++++++++++++++++++++++++++++++++++++++ assets/css/page.css | 162 ++++++++++++++++ assets/css/post.css | 344 +++++++++++++++++++++++++++++++++ 4 files changed, 1271 insertions(+) create mode 100644 assets/css/dark.css create mode 100644 assets/css/miracles.min.css create mode 100644 assets/css/page.css create mode 100644 assets/css/post.css diff --git a/assets/css/dark.css b/assets/css/dark.css new file mode 100644 index 0000000..cf7e4ae --- /dev/null +++ b/assets/css/dark.css @@ -0,0 +1,305 @@ +@charset 'utf-8'; + +/* + * Dark theme for Miracles + * Author: Eltrac + * License: MIT + */ + +.body-dark { + background:#4b4b4b; + color:#fafafa +} + +/** + * Special + */ + +/* Post Content */ +.body-dark .post-content code { + background:#505050 +} +.body-dark .post-content img:not(.OwO-img) { + box-shadow:0 2px 10px #323232; + -moz-box-shadow:0 2px 10px #323232; + -webkit-box-shadow:0 2px 10px #323232 +} +.body-dark .post-content tr:nth-child(odd) { + background:#6e6e6e +} +.body-dark .post-content hr { + border: 3px dashed #787878!important +} +/* Pio Plugin */ +.body-dark .pio-container .pio-dialog { + color:#fff; + box-shadow:1px 1px 15px #505050; + -webkit-box-shadow:1px 1px 15px #505050; + -moz-box-shadow:1px 1px 15px #505050; + background:rgba(90,90,90,.9) +} +.body-dark .pio-action span { + background-color:rgba(90,90,90,.9) +} +/* Aplayer */ +.body-dark .aplayer, +.body-dark .aplayer .aplayer-author, +.body-dark .aplayer .aplayer-controller, +.body-dark .aplayer .aplayer-icon, +.body-dark .aplayer .aplayer-info, +.body-dark .aplayer .aplayer-lrc-contents p, +.body-dark .aplayer-list-author, +.body-dark .aplayer-list-index { + color:#f0f0f0!important +} +.body-dark .aplayer { + background:#646464 +} +.body-dark .aplayer .aplayer-list ol li:hover, +.body-dark .aplayer-list-light { + background:#8c8c8c!important +} +.body-dark .aplayer .aplayer-lrc:after, +.body-dark .aplayer .aplayer-lrc:before { + background:0 0; + background:0 0; + filter:none +} +.body-dark .aplayer .aplayer-list ol li { + border-color:#787878 +} +.body-dark .aplayer-list::-webkit-scrollbar { + background:#6e6e6e!important +} +.body-dark .aplayer-list::-webkit-scrollbar-thumb { + background:#505050 +} +.body-dark .aplayer-info { + border:none +} +/* Nav/Search/login */ +.body-dark .nav { + background:rgba(50,50,50,.86); + box-shadow:0 0 20px #000; + -webkit-box-shadow:0 0 20px #000; + -moz-box-shadow:0 0 30px #000 +} +.body-dark .mobile-menu-pagelist a:hover, +.body-dark .nav a:hover, +.body-dark .nav-mobile-title:hover { + background:#646464 +} +.body-dark .nav-icon-button { + background:#5a5a5a +} +.body-dark .nav-icon-button { + color:#fff +} +.body-dark .nav-icon-button:hover, +.body-dark .search-close { + background:#5a5a5a +} +.body-dark .login, +.body-dark .mobile-menu, +.body-dark .search { + background:rgba(90,90,90,.95) +} +/* Others */ +.body-dark .post-meta a { + color: gray!important +} +.body-dark .comment-reply a { + background: 0 0 +} +.body-dark .footer-info { + background:#3c3c3c!important +} + +/** + * Normal + */ +/* Need shadow */ +.body-dark .options { + box-shadow:0 0 0 #fff; + -moz-box-shadow:0 0 0 #fff; + -webkit-box-shadow:0 0 0 #fff +} +.body-dark .OwO .OwO-body .OwO-items .OwO-item:hover, +.body-dark .OwO-body,.body-dark .OwO-open .OwO-logo, +.body-dark .bubble.saying-body:hover, +.body-dark .comment-pagenav a, +.body-dark .dark-button, +.body-dark .options, +.body-dark .post-body, +.body-dark .saying-item, +.body-dark .post-item, +.body-dark .post-pagenav a { + box-shadow:0 0 36px #323232; + -moz-box-shadow:0 0 36px #323232; + -webkit-box-shadow:0 0 36px #323232 +} +.body-dark .gotop-button, +.body-dark .links-item, +.body-dark .alert { + box-shadow:0 1px 3px #323232; + -moz-box-shadow:0 1px 3px #323232; + -webkit-box-shadow:0 1px 3px #323232 +} +.body-dark .gotop-button:hover, +.body-dark .links-item:hover { + box-shadow:0 4px 22px #323232; + -moz-box-shadow:0 4px 22px #323232; + -webkit-box-shadow:0 4px 22px #323232; +} +/* No Shadow */ +.body-dark .options-with-drawer { + box-shadow: 0 0 0 #fff; + -moz-box-shadow: 0 0 0 #fff; + -webkit-box-shadow: 0 0 0 #fff; +} +/* Need #646464 bg */ +.body-dark .archives-list a:hover, +.body-dark .bubble.comment-content, +.body-dark .bubble.saying-body, +.body-dark .comment-author, +.body-dark .comment-by-author .bubble.comment-content, +.body-dark .comment-pagenav a, +.body-dark .comment-submit button, +.body-dark .drawer-content a:hover, +.body-dark .drawer-footer, +.body-dark .drawer-header, +.body-dark .options-button-active, +.body-dark .tags-item a, +.body-dark .post-tags a, +.body-dark .about-social a:hover { + background: #646464!important +} +/* Need #5a5a5a bg */ +.body-dark .OwO-body, +.body-dark .OwO-logo, +.body-dark .OwO-package-active, +.body-dark .OwO-packages li:hover, +.body-dark .comment-form input, +.body-dark .comment-form textarea, +.body-dark .saying-item textarea, +.body-dark .comment-reply a:hover, +.body-dark .dark-button,.body-dark .dialog, +.body-dark .drawer, +.body-dark .drawer-icon, +.body-dark .gotop-button,.body-dark .links-item, +.body-dark .options, +.body-dark .options-family-button, +.body-dark .options-theme-label, +.body-dark .post-body, +.body-dark .saying-item, +.body-dark .post-content th, +.body-dark .post-item, +.body-dark .post-pagenav a, +.body-dark .search-form input { + background:#5a5a5a!important +} +/* Need #6e6e6e bg */ +.body-dark .OwO-bar, +.body-dark .OwO-item, +.body-dark .index-banner { + background-color:#6e6e6e!important +} +.body-dark .index-banner { + background-color: rgb(80,80,80)!important +} +/* Need white fonts */ +.body-dark .OwO-bar, +.body-dark .OwO-logo, +.body-dark .comment, +.body-dark .comment a, +.body-dark .comment-content p, +.body-dark .comment-form input, +.body-dark .comment-form textarea, +.body-dark .saying-item textarea, +.body-dark .dark-button, +.body-dark .drawer, +.body-dark .drawer a, +.body-dark .drawer-icon, +.body-dark .drawer-open .drawer-button, +.body-dark .footer-info, +.body-dark .footer-info a, +.body-dark .gotop-button, +.body-dark .login, +.body-dark .login-close, +.body-dark .mobile-menu, +.body-dark .mobile-menu a, +.body-dark .mobile-menu-close, +.body-dark .mobile-menu-footer, +.body-dark .nav, +.body-dark .nav a, +.body-dark .options-contentsize-button, +.body-dark .options-family-button, +.body-dark .options-theme-item:hover .options-theme-label, +.body-dark .post-body, +.body-dark .saying-item, +.body-dark .saying-item a, +.body-dark .post-body a, +.body-dark .post-content blockquote, +.body-dark .post-item, +.body-dark .post-item a, +.body-dark .search-close, +.body-dark .search-form button, +.body-darl .login a, +.body-dark .alert, +.body-dark .banner-content.banner-font-black, +.body-dark .post-pagenav a { + color:#fafafa!important +} +.body-dark .options-theme-label { + color:#5a5a5a!important +} +/* Need border color */ +.body-dark .OwO-body, +.body-dark .OwO-logo, +.body-dark .comment-form input, +.body-dark .comment-form textarea, +.body-dark .saying-item textarea, +.body-dark .drawer, +.body-dark .mobile-menu-footer, +.body-dark .mobile-menu-title, +.body-dark .options hr, +.body-dark .post-content blockquote, +.body-dark .post-content table, +.body-dark .post-content td, +.body-dark .post-content th, +.body-dark .post-content tr, +.body-dark .saying-hr { + border-color:#6e6e6e!important +} +.body-dark .tip { + border-top-color:#6e6e6e!important; + border-bottom-color:#6e6e6e!important; + border-right-color:#6e6e6e!important +} +.body-dark .bubble.comment-content:before, +.body-dark .bubble.saying-body:before, +.body-dark .comment-by-author .bubble.comment-content:before { + border-right-color:#646464!important +} +/* Need darker mask */ +.body-dark .banner-mask { + background:rgba(10,10,10,.4) +} +/* Need filter */ +.body-dark img { + filter:brightness(88%) +} +.body-dark .aplayer-pic, +.body-dark .post-banner, +.body-dark iframe { + filter:brightness(72%) +} +/* Dark shade */ +.body-dark .dark-shade { + position:fixed; + width:100%; + height:100%; + background-color:#00000085; + z-index:100; + pointer-events:none +} diff --git a/assets/css/miracles.min.css b/assets/css/miracles.min.css new file mode 100644 index 0000000..3ff55a2 --- /dev/null +++ b/assets/css/miracles.min.css @@ -0,0 +1,460 @@ +@charset 'utf-8'; + +/* + * Themain CSS file for Miracles + * Author: Eltrac + * License: MIT + */ + +@import url("col.css"); +@import url("element.css"); +@import url("component.css"); +@import url("nav.css"); +@import url("post.css"); +@import url("page.css"); +@import url("comment.css"); +@import url("special.css"); +@import url("themes.css"); + +/* Varriable */ +:root { + --theme-color: #4D90FE; + --shadow-color: rgb(180,180,180); +} + +/* Icon Font */ +@font-face { + font-family: 'iconfont'; /* project id 1165190 */ + src: url('//at.alicdn.com/t/font_1165190_t5sh6mq8n6i.eot'); + src: url('//at.alicdn.com/t/font_1165190_t5sh6mq8n6i.eot?#iefix') format('embedded-opentype'), + url('//at.alicdn.com/t/font_1165190_t5sh6mq8n6i.woff2') format('woff2'), + url('//at.alicdn.com/t/font_1165190_t5sh6mq8n6i.woff') format('woff'), + url('//at.alicdn.com/t/font_1165190_t5sh6mq8n6i.ttf') format('truetype'), + url('//at.alicdn.com/t/font_1165190_t5sh6mq8n6i.svg#iconfont') format('svg'); +} + +/* ScrollBar */ +::-webkit-scrollbar { + width: 9px; + height: 5px +} +::-webkit-scrollbar-button { + display: none +} +::-webkit-scrollbar-thumb { + background: rgb(150,150,150); + border-radius: 3px +} +::-webkit-scrollbar-thumb:hover { + background: gray +} +/* Selection */ +::-moz-selection, +::-webkit-selection, +::selection { + background-color: var(--theme-color) +} +/* Responsive Web design */ +.large-screen { + display: none +} +.small-screen { + display: block +} +/* Mobile phone */ +@media (max-width:767px) { + .drawer { + width: 100vw; + } + .mobile-menu-close { + right: 20px; + left: auto; + } + .post-title{ + font-size: 1.5rem; + } +} +/* > Pad and up */ +@media (min-width:768px) { + .post-share .iconfont { + font-size: 30px; + } + + .post-share .social-share.copyright i { + display: block; + } + + .alert { + min-width: 300px; + max-width: 700px + } + .drawer-avatar img { + height: 160px; + width: 160px; + } + .drawer { + width: 360px; + left: -400px; + } + .drawer-content a { + font-size: 19px; + padding: 11px 0; + } + .drawer-main { + height: 87vh; + } + .drawer-footer { + height: 68px; + } + .drawer-header { + height: 220px; + } + .fixed-button { + height: 60px; + width: 60px; + } + + .options { + width: 300px!important; + left: auto!important; + top: 90px; + right: 10px; + } + + .options:before { + border-right: 8px solid transparent; + border-top: 16px solid rgb(254,254,254,0.96); + border-left: 8px solid transparent; + position: absolute; + top: 80px; + right: 40px; + } + + .comment-content p { + font-size: 18px; + } + + .nav-content a { + font-size: 19px; + padding: 27.5px 8px + } + + .index-banner { + text-align: left + } + + .banner-content h1 { + font-size: 40px + } + + .index-content { + margin: 10px 80px + } + + .post-title { + margin: 25px 0; + margin-bottom: 10px; + font-size: 2rem; + } + + .post-excerpt { + height: 38px + } + + .post-banner-box, + .post-banner img { + height: 230px + } + + .large-screen { + display: block + } + + .small-screen { + display: none + } + + .post-content { + padding: 36px; + font-size: 18px; + line-height: 26px; + letter-spacing: 2px + } + + .post-footer { + padding: 36px; + } + + .fixed-button { + padding: 15px 20px; + right: 28px + } + + .gotop-button { + bottom: 20px + } + + .options-button { + bottom: 90px + } + + .pio-container { + display: block + } + + iframe[src*="//player.bilibili.com/player.html"] { + height: 390px + } + .search-form input, + .login-form input, + .login-form button { + width: 350px; + } + .post-list, + .post-body, + .saying-body { + margin-top: -130px + } + .links-container { + padding: 10px; + } + .comment-children { + margin-left: 80px; + } + .search-close, + .login-close, + .mobile-menu-close{ + right: 20px; + left: auto; + } +} +/* Desktop and up */ +@media (min-width:992px) { + .drawer-content a { + font-size: 21px; + padding: 14px 0; + } + .drawer-avatar img { + height: 180px; + width: 180px; + } + .drawer-header { + height: 240px; + } + + .comment-content p { + font-size: 19px; + } + + .nav-content a { + font-size: 20px; + padding: 28px 8px + } + + .index-banner { + text-align: left + } + + .banner-content h1 { + font-size: 50px + } + + .index-content { + margin: 10px 80px + } + + + .post-title { + margin: 30px 0; + margin-bottom: 25px + } + + .post-excerpt { + height: 65px + } + + .post-banner-box, + .post-banner img { + height: 280px + } + + .large-screen { + display: block + } + + .small-screen { + display: none + } + + .post-content { + padding: 48px; + font-size: 18px; + line-height: 28px; + letter-spacing: 2px + } + + .post-footer { + padding: 48px; + } + + .fixed-button { + padding: 18px 23px; + right: 38px + } + + .gotop-button { + bottom: 40px + } + + .options-button { + bottom: 120px + } + + .pio-container { + display: block + } + + iframe[src*="//player.bilibili.com/player.html"] { + height: 480px + } + + .search-form input, + .login-form input, + .login-form button { + width: 400px; + } + .post-list, + .post-body, + .saying-body { + margin-top: -134px + } + .links-container { + padding: 12px; + } + #live2dcanvas { + display: block!important; + transform: scale(0.8)!important; + z-index: 0!important + } +} +/* Computer screen and up */ +@media (min-width:1200px) { + .login-entrance { + width: 250px!important; + display: block!important; + margin: 20px auto!important; + } + + .drawer-header { + height: 250px; + } + .drawer-footer { + height: 65px; + position: absolute; + bottom: 0; + left: 0; + right: 0; + } + .drawer-avatar img { + height: 190px; + width: 190px; + } + .comment-content p { + font-size: 21px; + } + + .nav-content a { + font-size: 20px; + padding: 28px 8px + } + + .index-banner { + text-align: left + } + + .banner-content h1 { + font-size: 50px + } + + .index-content { + margin: 10px 100px + } + + .post-title { + margin: 30px 0; + margin-bottom: 25px + } + + .post-excerpt { + height: 72px + } + + .large-screen { + display: block + } + + .small-screen { + display: none + } + + .post-content { + padding: 50px; + font-size: 20px; + line-height: 30px; + letter-spacing: 2px + } + + .post-footer { + padding: 50px; + } + + .fixed-button { + padding: 18px 23px; + right: 38px + } + + .gotop-button { + bottom: 40px + } + + .options-button { + bottom: 120px + } + + .pio-container { + display: block + } + + iframe[src*="//player.bilibili.com/player.html"] { + height: 550px + } + .search-form input, + .login-form input, + .login-form button { + width: 550px; + } + .post-list, + .post-body, + .saying-body { + margin-top: -140px + } + .links-container { + padding: 15px; + } + #live2dcanvas { + transform: scale(1); + } +} +/* 有 Drawer 时的设置面板 */ +.options-with-drawer { + background: rgb(246,246,246); + box-shadow: 0 0 0 #fff; + -moz-box-shadow: 0 0 0 #fff; + -webkit-box-shadow: 0 0 0 #fff; + width: 360px!important; + height: 210px!important; + top: auto!important; + right: auto!important; + bottom: 10vh!important; + z-index: 40!important; +} diff --git a/assets/css/page.css b/assets/css/page.css new file mode 100644 index 0000000..d30a8f6 --- /dev/null +++ b/assets/css/page.css @@ -0,0 +1,162 @@ +@charset 'utf-8'; +/* + * Style of Some parts of custom pages + * Author: Eltrac + * License: MIT + */ +/* About Page */ +.about-avatar img { + margin: 0 auto; + display: block; + padding: 2px; + border: 3px solid #ddd; + border-radius: 100%; + height: 200px; + width: 200px; +} +.about-name { + text-align: center; + font-size: 35px; + margin: 20px 0; + margin-bottom: 0; +} +.about-social { + text-align: center; + margin-top: 15px; +} +.about-social a { + transform: scale(1.2); + border-radius: 100%; + padding: 5px 10px; +} +.about-social a:hover { + background: rgb(246,246,246); +} + +/* Tag List */ +.tags-list { + margin-left: -30px +} + +.tags-item a { + background: rgb(240,240,240); + border-radius: 80px; + color: rgb(60,60,60); + padding: 6px 14px; + font-size: 15px; + transition: all .2s; + margin: 5px 3px; +} +.tags-item a:hover { + background: rgb(230,230,230); +} +.tags-item { + position: relative; + display: inline-block; + margin-top: 10px; +} +/* Archives 归档 */ +.archives-list { + list-style-type: none; + margin-left: -40px +} +.archives-list a { + display: block; + border-radius: 3px; + transition: background .2s; + padding: 6px 10px; + white-space:nowrap; + width: 100%; + overflow: hidden; + text-overflow:ellipsis; + white-space: nowrap; +} +.archives-list a:hover { + background: #e6e6e6 +} +.archives-date { + color: gray; + letter-spacing: 0; +} +/* Links */ +.links-box { + margin: 10px; + margin-left: 0; + margin-top: 30px +} +.links-box h2 { + text-align: Center; + border-bottom: 1px solid #e6e6fa; + padding-bottom: 20px; + font-weight: 700; + color: black; +} +.links-link { + color: black!important; +} +.links-link:hover { + opacity: 1!important +} +.links-item { + background: #fff; + box-shadow: 0 3px 1px #ccc; + -webkit-box-shadow: 0 1px 3px #ccc; + -moz-box-shadow: 0 3px 1px #ccc; + overflow: hidden; + transition: all .2s!important; + margin-bottom: 5px; + border-radius: 3px +} +.links-item:hover { + transform: scale(1.05); + box-shadow: 0 6px 28px #ccc; + -webkit-box-shadow: 0 6px 28px #ccc; + -moz-box-shadow: 0 6px 28px #ccc; + transform: translateY(-6px) +} +.link-box a { + color: #000 +} +.links-title { + text-align: center +} +.links-title h4 { + font-weight: 700; + letter-spacing: 2px; + white-space: nowrap; + font-size: 15px; + margin: 14px 0 +} +.links-container { + padding: 6px; +} + +/* Saying 说说 */ +.saying-meta { + color: gray!important; + margin-top: -5px!important; + line-height: 22px; +} +.saying-meta img { + float: left; + height: 45px; + width: 45px; + border-radius: 100%; + margin-right: 15px; + box-shadow: 1px 1px 2px #bababa; + webkit-box-shadow: 1px 1px 2px #bababa; + -moz-box-shadow: 1px 1px 2px #bababa; +} +.saying-author { + font-size: 18px; +} +.saying-hr { + border-bottom: 1px solid #ddd; +} +.saying-header.saying-inner { + padding-bottom: 0; +} +.saying-middle.saying-inner { + padding-top: 0; + padding-bottom: 10px; +} \ No newline at end of file diff --git a/assets/css/post.css b/assets/css/post.css new file mode 100644 index 0000000..d8471fe --- /dev/null +++ b/assets/css/post.css @@ -0,0 +1,344 @@ +@charset 'utf-8'; +/* + * Style of Posts + * Author: Eltrac + * License: MIT + */ +/* 文章 */ +.post-list, +.post-body, +.saying-body { + margin-top: -110px; + transition: .8s; +} +.post-item { + margin-bottom: 10px; +} +.post-body,.post-item,.saying-item { + background: #fff; + box-shadow: 0 0 36px var(--shadow-color); + -moz-box-shadow: 0 0 36px var(--shadow-color); + -webkit-box-shadow: 0 0 36px var(--shadow-color); + transition: background .1s +} +.post-banner-box { + height: 100%; + overflow: hidden; + padding: 0; +} +.post-banner img { + width: 100%; + height: 100%; + margin-right: -40px +} +.post-title { + margin-top: 30px; + transition: color .2s; + overflow: hidden; + height: 40px; + white-space: nowrap; + text-overflow: ellipsis +} +.post-excerpt { + overflow: hidden; + text-overflow: ellipsis +} +.post-meta,.post-meta a { + color: gray +} +.post-button-box { + margin-top: 15px +} +.post-button { + margin-right: 20px; + float: right +} +.post-footer { + color: #c8c8c8; + font-size: 14px; + padding: 26px; + padding-top: 0; + margin-top: -20px +} +.post-tags a { + color: #bebebe; + padding: 2px 4px; + border-radius: 2px; + background: #f0f0f0; + transition: background .2s +} +.post-tags a:hover { + background: #f5f5f5 +} +.post-share { + border-top: 1px solid rgb(230,230,230); + border-bottom: 1px solid rgb(230,230,230); + padding: 18px 0; + margin: 20px 0; + vertical-align:middle; +} +.post-share .social-share { + margin-right: 10px; + vertical-align:middle; +} +.post-share .social-share i { + transition: color .2s +} +.post-share .social-share.qq:hover i { + color: rgb(127,81,255); +} +.post-share .social-share.weibo:hover i { + color: red; +} +.post-share .social-share.twitter:hover i { + color: rgb(29,161,242); +} +.post-share .social-share.copyright i { + float: right; + font-size: 20px; + margin-top: 7px; + margin-right: 17px; + cursor: pointer; + display: none/*移动端不显示*/ +} +.post-share .iconfont { + color: rgb(200,200,200); + font-size: 25px; +} +/* >文章内容 */ +.post-content, +.saying-inner { + padding: 26px; + line-height: 28px; + letter-spacing: 2px; + word-break: break-all +} +.post-content h2 { + margin: 45px 0; + margin-bottom: 10px; +} +.post-content h3:before { + content: '# '; + color: var(--theme-color); + font-weight: bold; +} +.post-content hr { + display: block; + margin: 65px auto; + width: 250px; + border: 3px dashed #f0f0f0 +} +.post-content code { + font-size: 0.8em; + background: #f0f0f0; + border-radius: 3px; + font-family: 'Noto Sans SC',sans-serif!important; + color: var(--theme-color); + vertical-align: middle; +} +.post-content pre>code { + background: #282c34!important; + color: #fff!important; + text-indent: 0!important; +} +.post-content img { + display: block; + margin: 25px auto; + border-radius: 3px; + max-width: 100% +} +.post-content blockquote p { + margin: 0 +} +.post-content blockquote { + border-left: 6px solid #ddd; + padding-left: 10px; + margin-left: 0; + color: gray +} +.post-content table { + width: 100%; + border-left: 1px solid #ccc; + border-top: 2px solid #ccc; + border-spacing: 0 +} +.post-content td,.post-content th { + border-right: 1px solid #ccc; + border-bottom: 1px solid #ccc; + padding: 6px 8px +} +.post-content th { + background: #fff!important +} +.post-content tr:nth-child(odd) { + background: #f5f5f5 +} +.post-content a:not(.no-line) { + position: relative; + color: var(--theme-color); + border-bottom: 2px solid #f0f0f0; +} +.post-content a:not(.no-line)::before { + content: ''; + position: absolute; + bottom: -2px; + left: 0; + right: 0; + height: 2px; + background-color: var(--theme-color); + transform-origin: bottom right; + transform: scaleX(0); + transition: transform .5s ease +} +.post-content a:not(.no-line):hover::before { + transform-origin: bottom left; + transform: scaleX(1); +} +.post-content p { + vertical-align: middle; +} +.post-content ul ul, +.post-content ol ol, +.post-content ol ul, +.post-content ul ol { + margin-top: -15px; +} +.post-content .owo-img { + box-shadow: 0 0 0 #fff; + -moz-box-shadow: 0 0 0 #fff; + -webkit-box-shadow: 0 0 0 #fff; + display: inline; + vertical-align: middle; +} +/* 加密文章 */ +.post-content .protected { + display: flex; + align-items: center; + justify-content: center; +} + +.post-content .protected .word { + display: none; +} + +.post-content .protected .text { + border-top-left-radius: 6px; + border-bottom-left-radius: 6px; + margin-right: -7px; +} + +.post-content .protected .submit { + border-top-right-radius: 6px; + border-bottom-right-radius: 6px; + margin-left: -7xp; + background: var(--theme-color); + border-color: var(--theme-color)!important; + color: #fff; + cursor: pointer; +} + +.post-content .protected .submit:hover { + opacity: 0.8; +} + +.post-content .protected .submit, +.post-content .protected .text { + border: 1px solid #ccc; + padding: 8px 14px; + box-shadow: 0 2px 10px #ddd; + transition: .3s; +} + +.post-content .protected { + margin: 50px 0; +} + +/* >短代码 */ +.tip { + border: 1px solid rgb(235,235,235); + border-radius: 3px; + padding: 15px; + border-left: 5px solid var(--theme-color); +} +.tip-icon { + color: var(--theme-color); +} +.tip.red { + border-left-color: #DD4B39; +} +.tip.red .tip-icon { + color: #DD4B39; +} +.tip.blue { + border-left-color: #4D90FE; +} +.tip.blue .tip-icon { + color: #4D90FE; +} +.tip.green { + border-left-color: #2FBB4F; +} +.tip.green .tip-icon { + color: #2FBB4F; +} +.tip.yellow { + border-left-color: #FFDD11; +} +.tip.yellow .tip-icon { + color: #FFDD11; +} +.tip-group { + margin: 15px 0; +} +.tip-group .tip { + margin: 0; + margin-top: -1px; + border-radius: 0; +} +.tip-group br { + display: none; +} +.tip-group .tip br { + display: block; +} +.post-bubble .saying-content p { + padding: 0 20px!important; +} + +/* >文章分页 */ +.post-pagenav, +.comment-pagenav { + margin-top: 40px; + margin-bottom: 60px +} +.post-pagenav a { + font-size: 20px; + background: #fff; + color: #000; + padding: 13px 20px; + transition: .2s; +} +.post-pagenav a:hover { + background: rgb(249,249,249); +} +.post-pagenav a, +.comment-pagenav a { + border-radius: 10000px; + box-shadow: 0 0 15px #ccc; + -moz-box-shadow: 0 0 15px #ccc; + -webkit-box-shadow: 0 0 15px #ccc +} +.post-pagenav a:hover { + box-shadow: 0 0 15px #ccc; + -moz-box-shadow: 0 0 15px #ccc; + -webkit-box-shadow: 0 0 15px #ccc +} +.post-pagenav-left { + float: left +} +.post-pagenav-right { + float: right +} +.post-item-content{ + padding: 0 35px 10px 35px; +} \ No newline at end of file -- cgit v1.2.3