| | |
| | | @charset "UTF-8"; |
| | | :root{ |
| | | --bg-color:#fff; |
| | | --secondary-bg-color:#eeeeee; |
| | | |
| | | :root { |
| | | --bg-color: #fff; |
| | | --secondary-bg-color: #eeeeee; |
| | | --heading-color: #5f5f5f; |
| | | --body-color: rgba(0, 0, 0, 0.7); |
| | | --post-color: rgba(0, 0, 0, 0.44); |
| | | --border-color: rgba(0, 0, 0, 0.15); |
| | | --pre-bg-color: #f9f9fd; |
| | | --nav-text-color:#5a5a5a; |
| | | --nav-text-color: #5a5a5a; |
| | | --tag-color: #424242; |
| | | scroll-padding-top: 100px; |
| | | } |
| | | |
| | | html[data-theme='dark'] { |
| | | --bg-color:#292a2d; |
| | | --secondary-bg-color:rgb(119, 119, 122); |
| | | --heading-color: rgb(169,169,179); |
| | | --body-color:rgb(169,169,179); |
| | | --bg-color: #292a2d; |
| | | --secondary-bg-color: rgb(119, 119, 122); |
| | | --heading-color: rgb(169, 169, 179); |
| | | --body-color: rgb(169, 169, 179); |
| | | --post-color: rgba(0, 0, 0, 0.44); |
| | | --border-color: rgb(38, 38, 38); |
| | | --pre-bg-color:rgb(33,33,45); |
| | | --nav-text-color:rgb(191, 191, 191); |
| | | --pre-bg-color: rgb(33, 33, 45); |
| | | --nav-text-color: rgb(191, 191, 191); |
| | | --tag-color: rgb(191, 191, 191); |
| | | |
| | | |
| | | } |
| | | |
| | | html { |
| | | background-color: var(--bg-color); |
| | | -webkit-font-smoothing: antialiased; |
| | | |
| | | |
| | | } |
| | | |
| | | body { |
| | |
| | | opacity: .5; |
| | | } |
| | | |
| | | .tag, .category { |
| | | .tag, |
| | | .category { |
| | | display: inline-block; |
| | | font-size: 15px; |
| | | line-height: 1; |
| | |
| | | overflow-x: auto; |
| | | } |
| | | |
| | | .info i{ |
| | | .info i { |
| | | opacity: 0.5; |
| | | margin-right: 5px; |
| | | } |
| | | |
| | | a:link, a:visited { |
| | | a:link, |
| | | a:visited { |
| | | opacity: 1; |
| | | color: var(--tag-color); |
| | | } |
| | | |
| | | a:hover, a:active { |
| | | a:hover, |
| | | a:active { |
| | | color: #2660ab; |
| | | } |
| | | |
| | |
| | | 0% { |
| | | -webkit-transform: translateY(-20px); |
| | | } |
| | | |
| | | 100% { |
| | | -webkit-transform: translateY(0); |
| | | } |
| | | } |
| | | |
| | | @-moz-keyframes fadeInDown { |
| | | 0% { |
| | | -moz-transform: translateY(-20px); |
| | | } |
| | | |
| | | 100% { |
| | | -moz-transform: translateY(0); |
| | | } |
| | | } |
| | | |
| | | @-o-keyframes fadeInDown { |
| | | 0% { |
| | | -o-transform: translateY(-20px); |
| | | } |
| | | |
| | | 100% { |
| | | -o-transform: translateY(0); |
| | | } |
| | | } |
| | | |
| | | @keyframes fadeInDown { |
| | | 0% { |
| | | transform: translateY(-20px); |
| | | } |
| | | |
| | | 100% { |
| | | transform: translateY(0); |
| | | } |
| | |
| | | height: 60px; |
| | | border-bottom: 1px solid var(--border-color); |
| | | } |
| | | |
| | | .page-top .nav { |
| | | list-style: none; |
| | | padding: 11px 30px; |
| | | float: left; |
| | | font-size: 12px; |
| | | display: block; |
| | | width: calc(100% - 30px); |
| | | } |
| | | |
| | | .page-top .nav li { |
| | | position: relative; |
| | | display: initial; |
| | | padding-right: 20px; |
| | | } |
| | | |
| | | .page-top .nav a { |
| | | color: var(--nav-text-color); |
| | | } |
| | | |
| | | .page-top .nav a:hover { |
| | | color: #2660ab; |
| | | } |
| | | |
| | | .page-top .nav a.current { |
| | | color: var(--nav-text-color); |
| | | padding-bottom: 22px; |
| | | border-bottom: 1px solid var(--nav-text-color); |
| | | } |
| | | .page-top .themeswitcher { |
| | | list-style: none; |
| | | padding: 15px 30px; |
| | | |
| | | .theme-switch-item { |
| | | float: right; |
| | | font-size: 1.6em; |
| | | font-size: 2em; |
| | | margin-top: -5px; |
| | | } |
| | | |
| | | .page-top .information { |
| | | float: right; |
| | | padding-top: 12px; |
| | | padding-right: 20px; |
| | | } |
| | | |
| | | .page-top .information .avatar { |
| | | float: right; |
| | | } |
| | | |
| | | .page-top .information .avatar img { |
| | | width: 32px; |
| | | height: 32px; |
| | | border-radius: 300px; |
| | | } |
| | | |
| | | .page-top .information .back_btn { |
| | | float: left; |
| | | padding-top: 5px; |
| | | margin-right: -10px; |
| | | } |
| | | |
| | | .page-top .information .back_btn li { |
| | | display: initial; |
| | | padding-right: 40px; |
| | |
| | | z-index: 4; |
| | | border-right: 1px solid var(--border-color); |
| | | } |
| | | |
| | | .sidebar .logo-title { |
| | | text-align: center; |
| | | padding-top: 240px; |
| | | } |
| | | |
| | | .sidebar .logo-title .description { |
| | | font-size: 14px; |
| | | } |
| | | |
| | | .sidebar .logo-title .logo { |
| | | margin: 0 auto; |
| | | } |
| | | |
| | | .sidebar .logo-title .title img { |
| | | width: 127px; |
| | | border-radius: 50%; |
| | | } |
| | | |
| | | .sidebar .logo-title .title h3 { |
| | | text-transform: uppercase; |
| | | font-size: 2rem; |
| | |
| | | line-height: 1; |
| | | margin: 1em; |
| | | } |
| | | |
| | | .sidebar .logo-title .title a { |
| | | text-decoration: none; |
| | | color: var(--heading-color); |
| | | font-size: 2rem; |
| | | font-weight: bold; |
| | | } |
| | | |
| | | .sidebar .social-links { |
| | | list-style: none; |
| | | padding: 0; |
| | | font-size: 14px; |
| | | text-align: center; |
| | | } |
| | | |
| | | .sidebar .social-links i { |
| | | margin-right: 3px; |
| | | } |
| | | |
| | | .sidebar .social-links li { |
| | | display: inline; |
| | | padding: 0 4px; |
| | | line-height: 0; |
| | | } |
| | | |
| | | .sidebar .social-links a { |
| | | color: var(--heading-color); |
| | | } |
| | | |
| | | .sidebar .social-links a:hover { |
| | | color: #2660ab; |
| | | } |
| | |
| | | background-color: var(--bg-color); |
| | | margin: 30px; |
| | | } |
| | | |
| | | .post .post-title h1 { |
| | | text-transform: uppercase; |
| | | font-size: 30px; |
| | | letter-spacing: 5px; |
| | | line-height: 1; |
| | | } |
| | | |
| | | .post .post-title h2 { |
| | | text-transform: uppercase; |
| | | letter-spacing: 1px; |
| | |
| | | font-weight: 600; |
| | | color: var(--heading-color); |
| | | } |
| | | |
| | | .post .post-title h3 { |
| | | text-transform: uppercase; |
| | | letter-spacing: 1px; |
| | |
| | | font-size: 22px; |
| | | margin: 0; |
| | | } |
| | | |
| | | .post .post-title a { |
| | | text-decoration: none; |
| | | letter-spacing: 1px; |
| | | color: var(--heading-color); |
| | | } |
| | | |
| | | .post .post-title a:hover { |
| | | text-decoration: underline; |
| | | } |
| | | |
| | | .post .post-content a { |
| | | text-decoration: none; |
| | | letter-spacing: 1px; |
| | | color: #2660ab; |
| | | } |
| | | |
| | | .post .post-content a:hover { |
| | | color: #2F69B3; |
| | | } |
| | | |
| | | .post .post-content h3 { |
| | | font-size: 22px; |
| | | font-weight: 600; |
| | | } |
| | | |
| | | .post .post-content h4 { |
| | | /* color: var(--heading-color); */ |
| | | font-size: 16px; |
| | | } |
| | | |
| | | .post .post-content img { |
| | | max-width: 100%; |
| | | } |
| | | |
| | | .post .post-footer { |
| | | padding: 0 0 10px 0; |
| | | border-bottom: 1px solid var(--border-color); |
| | | } |
| | | |
| | | .post .post-footer .meta { |
| | | max-width: 100%; |
| | | display: flex; |
| | | color: #bbbbbb; |
| | | } |
| | | |
| | | .post .post-footer .meta .info { |
| | | 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 .info .date { |
| | | margin-right: 10px; |
| | | } |
| | | |
| | | .info { |
| | | margin: 1em; |
| | | } |
| | | |
| | | .post .post-footer .meta a { |
| | | text-decoration: none; |
| | | color: var(--body-color); |
| | | padding-right: 10px; |
| | | } |
| | | |
| | | .post .post-footer .meta a:hover { |
| | | color: #2660ab; |
| | | } |
| | | |
| | | .post .post-footer .meta i { |
| | | margin-right: 6px; |
| | | } |
| | | |
| | | .post .post-footer .tags { |
| | | padding-bottom: 15px; |
| | | font-size: 13px; |
| | | } |
| | | |
| | | .post .post-footer .tags ul { |
| | | list-style-type: none; |
| | | display: inline; |
| | | margin: 0; |
| | | padding: 0; |
| | | } |
| | | |
| | | .post .post-footer .tags ul li { |
| | | list-style-type: none; |
| | | margin: 0; |
| | | padding-right: 5px; |
| | | display: inline; |
| | | } |
| | | |
| | | .post .post-footer .tags a { |
| | | text-decoration: none; |
| | | color: var(--post-color); |
| | | font-weight: 400; |
| | | } |
| | | |
| | | .post .post-footer .tags a:hover { |
| | | text-decoration: none; |
| | | } |
| | |
| | | padding: 0px 0 56px 0; |
| | | text-align: center; |
| | | } |
| | | |
| | | .pagination ul { |
| | | list-style: none; |
| | | margin: 0; |
| | | padding: 0; |
| | | height: 13px; |
| | | } |
| | | |
| | | .pagination ul li { |
| | | margin: 0 2px 0 2px; |
| | | display: inline; |
| | | line-height: 1; |
| | | } |
| | | |
| | | .pagination ul li a { |
| | | text-decoration: none; |
| | | color: var(--body-color); |
| | | } |
| | | |
| | | .pagination .pre { |
| | | float: left; |
| | | } |
| | | |
| | | .pagination .next { |
| | | float: right; |
| | | } |
| | |
| | | width: 100%; |
| | | padding-bottom: 20px; |
| | | } |
| | | |
| | | .footer a { |
| | | color: #A6A6A6; |
| | | } |
| | | |
| | | .footer a:hover { |
| | | color: #2660ab; |
| | | } |
| | |
| | | margin: 30px; |
| | | padding: 0; |
| | | } |
| | | |
| | | .list-with-title li { |
| | | list-style-type: none; |
| | | padding: 0; |
| | | } |
| | | |
| | | .list-with-title .listing-title { |
| | | font-size: 24px; |
| | | color: #666666; |
| | | font-weight: 600; |
| | | line-height: 2.2em; |
| | | } |
| | | |
| | | .list-with-title .listing { |
| | | padding: 0; |
| | | } |
| | | |
| | | .list-with-title .listing .listing-post { |
| | | padding-bottom: 5px; |
| | | } |
| | | |
| | | .list-with-title .listing .listing-post .post-time { |
| | | float: right; |
| | | color: #C5C5C5; |
| | | } |
| | | |
| | | .list-with-title .listing .listing-post a { |
| | | color: #8F8F8F; |
| | | } |
| | | |
| | | .list-with-title .listing .listing-post a:hover { |
| | | color: #2660ab; |
| | | } |
| | |
| | | background-color: #3E3E3E; |
| | | margin-right: 5px; |
| | | } |
| | | |
| | | .evernote a { |
| | | color: #fff; |
| | | padding: 11px; |
| | | font-size: 12px; |
| | | } |
| | | |
| | | .evernote a:hover { |
| | | color: #ED6243; |
| | | padding: 11px; |
| | |
| | | background-color: #ED6243; |
| | | margin-right: 5px; |
| | | } |
| | | |
| | | .weibo a { |
| | | color: #fff; |
| | | padding: 9px; |
| | | } |
| | | |
| | | .weibo a:hover { |
| | | color: #BD4226; |
| | | } |
| | |
| | | background-color: #59C0FD; |
| | | margin-right: 5px; |
| | | } |
| | | |
| | | .twitter a { |
| | | color: #fff; |
| | | padding: 9px; |
| | | } |
| | | |
| | | .twitter a:hover { |
| | | color: #4B9ECE; |
| | | } |
| | |
| | | .about { |
| | | margin: 30px; |
| | | } |
| | | |
| | | .about h3 { |
| | | font-size: 22px; |
| | | } |
| | |
| | | .links { |
| | | margin: 30px; |
| | | } |
| | | |
| | | .links h3 { |
| | | font-size: 22px; |
| | | } |
| | | |
| | | .links a { |
| | | cursor: pointer; |
| | | } |
| | |
| | | float: right; |
| | | padding-top: 30px; |
| | | } |
| | | |
| | | .menu .btn-down { |
| | | margin: 0px; |
| | | } |
| | | |
| | | .menu .btn-down li { |
| | | list-style: none; |
| | | width: 100px; |
| | | } |
| | | |
| | | .menu .btn-down li a { |
| | | display: inline-block; |
| | | position: relative; |
| | |
| | | border-radius: 999em; |
| | | margin-top: 5px; |
| | | } |
| | | |
| | | .menu .btn-down li a:hover { |
| | | position: relative; |
| | | padding: 0.5em 1.25em; |
| | |
| | | border-radius: 999em; |
| | | margin-top: 5px; |
| | | } |
| | | |
| | | .menu .btn-down div { |
| | | position: absolute; |
| | | visibility: hidden; |
| | |
| | | padding-top: 50px; |
| | | } |
| | | |
| | | |
| | | .navbar-burger { |
| | | display: none; |
| | | } |
| | | |
| | | @media screen and (max-width: 960px) { |
| | | .sidebar { |
| | |
| | | border-right: none; |
| | | z-index: 1; |
| | | } |
| | | |
| | | .sidebar .logo-title { |
| | | padding-top: 120px; |
| | | } |
| | | |
| | | .sidebar .logo-title .title img { |
| | | width: 100px; |
| | | } |
| | | |
| | | .sidebar .logo-title .title h3 { |
| | | font-size: 20px; |
| | | } |
| | |
| | | .share { |
| | | display: grid; |
| | | } |
| | | } |
| | | |
| | | .page-top .nav { |
| | | background-color: var(--secondary-bg-color); |
| | | ; |
| | | box-shadow: 0 8px 16px rgba(10, 10, 10, .1); |
| | | padding: .5rem 0; |
| | | width: 100%; |
| | | display: none; |
| | | margin-top: 0px; |
| | | } |
| | | |
| | | .page-top .nav.is-active { |
| | | /* display: block; */ |
| | | display: block; |
| | | } |
| | | |
| | | .page-top .nav li { |
| | | display: block; |
| | | flex-grow: 0; |
| | | flex-shrink: 0; |
| | | display: block; |
| | | line-height: 1.5; |
| | | padding: .5rem .75rem; |
| | | position: relative; |
| | | text-transform: uppercase; |
| | | text-align: center; |
| | | font-size: 14px; |
| | | } |
| | | |
| | | .page-top .nav a.current { |
| | | border-bottom: none; |
| | | } |
| | | |
| | | .navbar-burger { |
| | | cursor: pointer; |
| | | display: block; |
| | | height: 3.25rem; |
| | | position: relative; |
| | | width: 3.25rem; |
| | | margin-left: auto; |
| | | } |
| | | |
| | | .navbar-burger span { |
| | | background-color: var(--heading-color); |
| | | display: block; |
| | | height: 1px; |
| | | left: calc(50% - 8px); |
| | | position: absolute; |
| | | transform-origin: center; |
| | | transition-duration: 86ms; |
| | | transition-property: background-color, opacity, transform; |
| | | transition-timing-function: ease-out; |
| | | width: 16px; |
| | | } |
| | | |
| | | .navbar-burger span:nth-child(1) { |
| | | top: calc(50% - 6px); |
| | | } |
| | | |
| | | .navbar-burger span:nth-child(2) { |
| | | top: calc(50% - 1px); |
| | | } |
| | | |
| | | .navbar-burger span:nth-child(3) { |
| | | top: calc(50% + 4px); |
| | | } |
| | | |
| | | .theme-switch-item { |
| | | float: none; |
| | | } |
| | | } |
| | | |
| | | /* Medium zoom */ |
| | | .medium-zoom-overlay { |