| | |
| | | @charset "UTF-8"; |
| | | :root{ |
| | | --bg-color:#fff; |
| | | --secondary-bg-color:#eeeeee; |
| | | --heading-color: #5f5f5f; |
| | | --body-color: rgba(0, 0, 0, 0.5); |
| | | --post-color: rgba(0, 0, 0, 0.44); |
| | | --border-color: rgba(0, 0, 0, 0.15); |
| | | --pre-bg-color: #f9f9fd; |
| | | --nav-text-color:#5a5a5a; |
| | | --tag-color: #424242; |
| | | } |
| | | html { |
| | | background-color: #fff; |
| | | background-color: var(--bg-color); |
| | | -webkit-font-smoothing: antialiased; |
| | | } |
| | | |
| | | html[data-theme='dark'] { |
| | | --bg-color:rgb(28, 28, 33); |
| | | --secondary-bg-color:rgb(119, 119, 122); |
| | | --heading-color:rgba(191, 191, 191, 0.5); |
| | | --body-color: rgba(191, 191, 191, 0.5); |
| | | --post-color: rgba(0, 0, 0, 0.44); |
| | | --border-color: rgb(38, 38, 38); |
| | | --pre-bg-color: #21212d; |
| | | --nav-text-color:rgb(191, 191, 191); |
| | | --tag-color: rgb(191, 191, 191) !important; |
| | | |
| | | } |
| | | body { |
| | | color: rgba(0, 0, 0, 0.5); |
| | | color: var(--body-color); |
| | | font-family: 'Verdana', sans-serif; |
| | | font-size: 15px; |
| | | width: 100%; |
| | | margin: 0 auto 30px auto; |
| | | background-color: #fff; |
| | | background-color: var(--bg-color); |
| | | } |
| | | |
| | | p { |
| | |
| | | .category { |
| | | padding: 4px 6px; |
| | | border-radius: 3px; |
| | | color: #fff; |
| | | background-color: #f9f9fd; |
| | | border: 1px solid #f2f2f2; |
| | | color: #000 !important; |
| | | background-color: var(--secondary-bg-color); |
| | | border: 1px solid var(--border-color); |
| | | } |
| | | |
| | | .tag::before { |
| | |
| | | } |
| | | |
| | | pre { |
| | | background-color: #f9f9fd; |
| | | background-color: var(--pre-bg-color); |
| | | padding: 5px; |
| | | display: block; |
| | | overflow-x: auto; |
| | |
| | | -o-transition: all .15s linear; |
| | | -ms-transition: all .15s linear; |
| | | transition: all .15s linear; |
| | | color: #424242; |
| | | color: var(--tag-color); |
| | | } |
| | | |
| | | a:hover, a:active { |
| | |
| | | position: fixed; |
| | | right: 0; |
| | | z-index: 3; |
| | | background-color: #fff; |
| | | background-color: var(--bg-color); |
| | | height: 60px; |
| | | border-bottom: 1px solid #f2f2f2; |
| | | border-bottom: 1px solid var(--border-color); |
| | | } |
| | | .page-top .nav { |
| | | list-style: none; |
| | |
| | | padding-right: 20px; |
| | | } |
| | | .page-top .nav a { |
| | | color: #5A5A5A; |
| | | color: var(--nav-text-color); |
| | | } |
| | | .page-top .nav a:hover { |
| | | color: #4786D6; |
| | | } |
| | | .page-top .nav a.current { |
| | | color: #5A5A5A; |
| | | color: var(--nav-text-color); |
| | | padding-bottom: 22px; |
| | | border-bottom: 1px solid #5A5A5A; |
| | | border-bottom: 1px solid var(--nav-text-color); |
| | | } |
| | | .page-top .themeswitcher { |
| | | list-style: none; |
| | | padding: 15px 30px; |
| | | float: right; |
| | | font-size: 1.6em; |
| | | } |
| | | .page-top .information { |
| | | float: right; |
| | |
| | | width: 40%; |
| | | -webkit-background-size: cover; |
| | | background-size: cover; |
| | | background-color: #fff; |
| | | background-color: var(--bg-color); |
| | | height: 100%; |
| | | transition: 0.8s; |
| | | top: 0; |
| | | left: 0; |
| | | position: fixed; |
| | | z-index: 4; |
| | | border-right: 1px solid #f2f2f2; |
| | | border-right: 1px solid var(--border-color); |
| | | } |
| | | .sidebar .logo-title { |
| | | text-align: center; |
| | |
| | | } |
| | | .sidebar .logo-title .description { |
| | | font-size: 14px; |
| | | color: #565654; |
| | | } |
| | | .sidebar .logo-title .logo { |
| | | margin: 0 auto; |
| | |
| | | } |
| | | .sidebar .logo-title .title a { |
| | | text-decoration: none; |
| | | color: #464646; |
| | | color: var(--heading-color); |
| | | font-size: 2rem; |
| | | font-weight: bold; |
| | | } |
| | |
| | | line-height: 0; |
| | | } |
| | | .sidebar .social-links a { |
| | | color: #565654; |
| | | color: var(--heading-color); |
| | | } |
| | | .sidebar .social-links a:hover { |
| | | color: #4786D6; |
| | | } |
| | | |
| | | .post { |
| | | background-color: #FFF; |
| | | background-color: var(--bg-color); |
| | | margin: 30px; |
| | | } |
| | | .post .post-title h1 { |
| | |
| | | font-size: 28px; |
| | | line-height: 1; |
| | | font-weight: 600; |
| | | color: #5f5f5f; |
| | | color: var(--heading-color); |
| | | } |
| | | .post .post-title h3 { |
| | | text-transform: uppercase; |
| | | letter-spacing: 1px; |
| | | line-height: 1; |
| | | font-weight: 600; |
| | | color: #464646; |
| | | /* color: #464646; */ |
| | | color: var(--heading-color); |
| | | font-size: 22px; |
| | | margin: 0; |
| | | } |
| | | .post .post-title a { |
| | | text-decoration: none; |
| | | letter-spacing: 1px; |
| | | color: #5f5f5f; |
| | | color: var(--heading-color); |
| | | } |
| | | .post .post-title a:hover { |
| | | text-decoration: underline; |
| | |
| | | color: #2F69B3; |
| | | } |
| | | .post .post-content h3 { |
| | | color: #5F5F5F; |
| | | /* */ |
| | | font-size: 22px; |
| | | font-weight: 600; |
| | | } |
| | | .post .post-content h4 { |
| | | color: #5F5F5F; |
| | | /* color: var(--heading-color); */ |
| | | font-size: 16px; |
| | | } |
| | | .post .post-content img { |
| | | max-width: 100%; |
| | | } |
| | | .post .post-footer { |
| | | padding: 0 0 30px 0; |
| | | border-bottom: 1px solid #f2f2f2; |
| | | padding: 0 0 10px 0; |
| | | border-bottom: 1px solid var(--border-color); |
| | | } |
| | | .post .post-footer .meta { |
| | | max-width: 100%; |
| | |
| | | float: left; |
| | | font-size: 12px; |
| | | margin-bottom: 1em; |
| | | color: var(--body-color); |
| | | } |
| | | .post .post-footer .info .separator a { |
| | | margin-right: 0.2em; |
| | |
| | | } |
| | | .post .post-footer .meta a { |
| | | text-decoration: none; |
| | | color: #bbbbbb; |
| | | color: var(--body-color); |
| | | padding-right: 10px; |
| | | } |
| | | .post .post-footer .meta a:hover { |
| | |
| | | } |
| | | .post .post-footer .tags a { |
| | | text-decoration: none; |
| | | color: rgba(0, 0, 0, 0.44); |
| | | color: var(--post-color); |
| | | font-weight: 400; |
| | | } |
| | | .post .post-footer .tags a:hover { |
| | |
| | | } |
| | | .pagination ul li a { |
| | | text-decoration: none; |
| | | color: rgba(0, 0, 0, 0.5); |
| | | color: var(--body-color); |
| | | } |
| | | .pagination .pre { |
| | | float: left; |
| | |
| | | |
| | | #disqus_thread { |
| | | margin: 30px; |
| | | border-bottom: 1px solid #f2f2f2; |
| | | border-bottom: 1px solid var(--border-color); |
| | | } |
| | | |
| | | .footer { |
| | |
| | | position: absolute; |
| | | width: 100%; |
| | | padding-bottom: 20px; |
| | | background: #fff; |
| | | } |
| | | .footer a { |
| | | color: #A6A6A6; |
| | |
| | | display: inline-block; |
| | | position: relative; |
| | | outline: 0; |
| | | color: rgba(0, 0, 0, 0.44); |
| | | color: var(--post-color); |
| | | background: transparent; |
| | | font-size: 14px; |
| | | text-align: center; |
| | | text-decoration: none; |
| | | cursor: pointer; |
| | | border: 1px solid rgba(0, 0, 0, 0.15); |
| | | border: 1px solid var(--border-color); |
| | | white-space: nowrap; |
| | | font-weight: 400; |
| | | font-style: normal; |
| | |
| | | position: relative; |
| | | padding: 0.5em 1.25em; |
| | | outline: 0; |
| | | color: rgba(0, 0, 0, 0.44); |
| | | color: var(--post-color); |
| | | background: transparent; |
| | | font-size: 14px; |
| | | text-align: center; |
| | | text-decoration: none; |
| | | cursor: pointer; |
| | | border: 1px solid rgba(0, 0, 0, 0.15); |
| | | border: 1px solid var(--border-color); |
| | | white-space: nowrap; |
| | | font-weight: 400; |
| | | font-style: normal; |
| | |
| | | .share { |
| | | display: grid; |
| | | } |
| | | } |
| | | } |