Site updated: 2019-03-23 12:17:57

This commit is contained in:
Cool-Y
2019-03-23 12:18:07 +08:00
parent fe8f96bf86
commit 5488205ad0
41 changed files with 5727 additions and 200 deletions

View File

@ -189,7 +189,7 @@ body {
font-size: 14px;
line-height: 2;
color: #555;
background: #fff;
background: #eee;
}
@media (max-width: 767px) {
body {
@ -445,7 +445,7 @@ body {
.header-inner {
margin: 0 auto;
padding: 100px 0 70px;
width: 700px;
width: calc(100% - 252px);
}
@media (min-width: 1600px) {
.container .header-inner {
@ -457,7 +457,7 @@ body {
}
.main-inner {
margin: 0 auto;
width: 700px;
width: calc(100% - 252px);
}
@media (min-width: 1600px) {
.container .main-inner {
@ -474,7 +474,7 @@ body {
.footer-inner {
box-sizing: border-box;
margin: 20px auto;
width: 700px;
width: calc(100% - 252px);
}
@media (min-width: 1600px) {
.container .footer-inner {
@ -653,8 +653,8 @@ pre .javascript .function {
@media (min-width: 992px) {
.full-image.full-image.full-image.full-image {
max-width: none;
width: 110%;
margin: 25px -5%;
width: 118%;
margin: 0 -9%;
}
}
.blockquote-center,
@ -940,11 +940,11 @@ pre .javascript .function {
display: inline-block;
padding: 0 20px;
font-size: 14px;
color: #fff;
background: #222;
border: 2px solid #222;
color: #555;
background: #fff;
border: 2px solid #555;
text-decoration: none;
border-radius: 0;
border-radius: 2px;
transition-property: background-color;
transition-duration: 0.2s;
transition-timing-function: ease-in-out;
@ -953,8 +953,8 @@ pre .javascript .function {
}
.btn:hover {
border-color: #222;
color: #222;
background: #fff;
color: #fff;
background: #222;
}
.btn +.btn {
margin: 0 0 8px 8px;
@ -1066,7 +1066,7 @@ pre .javascript .function {
width: 24px;
background: #222;
font-size: 12px;
opacity: 1;
opacity: 0.6;
color: #fff;
cursor: pointer;
text-align: center;
@ -1087,7 +1087,7 @@ pre .javascript .function {
}
}
.back-to-top.back-to-top-on {
bottom: 19px;
bottom: 30px;
}
.header {
background: transparent;
@ -1136,7 +1136,7 @@ pre .javascript .function {
.site-subtitle {
margin-top: 10px;
font-size: 13px;
color: #999;
color: #ddd;
}
.use-motion .brand {
opacity: 0;
@ -1209,7 +1209,8 @@ pre .javascript .function {
transition-timing-function: ease-in-out;
transition-delay: 0s;
}
.menu .menu-item a:hover {
.menu .menu-item a:hover,
.menu-item-active a {
border-bottom-color: #222;
}
.menu .menu-item .fa {
@ -1858,20 +1859,20 @@ pre .javascript .function {
display: block;
margin: 0 auto;
padding: 2px;
max-width: 96px;
max-width: 120px;
height: auto;
border: 2px solid #333;
border: 1px solid #eee;
}
.site-author-name {
margin: 5px 0 0;
margin: 0;
text-align: center;
color: #f5f5f5;
font-weight: normal;
color: #222;
font-weight: 600;
}
.site-description {
margin-top: 5px;
margin-top: 0;
text-align: center;
font-size: 14px;
font-size: 13px;
color: #999;
}
.site-state {
@ -1883,7 +1884,7 @@ pre .javascript .function {
.site-state-item {
display: inline-block;
padding: 0 15px;
border-left: 1px solid #333;
border-left: 1px solid #eee;
}
.site-state-item:first-child {
border-left: none;
@ -1896,11 +1897,11 @@ pre .javascript .function {
text-align: center;
color: inherit;
font-weight: 600;
font-size: 18px;
font-size: 16px;
}
.site-state-item-name {
font-size: 13px;
color: inherit;
color: #999;
}
.feed-link {
margin-top: 20px;
@ -1942,7 +1943,7 @@ pre .javascript .function {
width: 4px;
height: 4px;
border-radius: 50%;
background: #32ff20;
background: #a4de16;
}
.links-of-blogroll {
font-size: 13px;
@ -1980,7 +1981,7 @@ pre .javascript .function {
color: #555;
}
.sidebar-nav li:hover {
color: #f5f5f5;
color: #fc6423;
}
.page-post-detail .sidebar-nav-toc {
padding: 0 5px;
@ -1989,11 +1990,11 @@ pre .javascript .function {
margin-left: 10px;
}
.sidebar-nav .sidebar-nav-active {
color: #87daff;
border-bottom-color: #87daff;
color: #fc6423;
border-bottom-color: #fc6423;
}
.sidebar-nav .sidebar-nav-active:hover {
color: #87daff;
color: #fc6423;
}
.sidebar-panel {
display: none;
@ -2026,12 +2027,12 @@ pre .javascript .function {
transition-timing-function: ease-in-out;
transition-delay: 0s;
transition-property: all;
color: #999;
border-bottom-color: #555;
color: #666;
border-bottom-color: #ccc;
}
.post-toc ol a:hover {
color: #ccc;
border-bottom-color: #ccc;
color: #000;
border-bottom-color: #000;
}
.post-toc .nav-item {
overflow: hidden;
@ -2053,14 +2054,14 @@ pre .javascript .function {
display: block;
}
.post-toc .nav .active > a {
color: #87daff;
border-bottom-color: #87daff;
color: #fc6423;
border-bottom-color: #fc6423;
}
.post-toc .nav .active-current > a {
color: #87daff;
color: #fc6423;
}
.post-toc .nav .active-current > a:hover {
color: #87daff;
color: #fc6423;
}
.footer {
font-size: 14px;
@ -2713,85 +2714,545 @@ pre .javascript .function {
}
}
.page-post-detail .sidebar-toggle-line {
background: #87daff;
background: #fc6423;
}
.page-post-detail .comments {
overflow: hidden;
}
@media (max-width: 767px) {
.header-inner,
.container .main-inner,
.footer-inner {
.header {
position: relative;
margin: 0 auto;
width: 75%;
}
@media (min-width: 768px) and (max-width: 991px) {
.header {
width: auto;
}
}
embed {
display: block;
margin: 0px auto 25px auto;
@media (max-width: 767px) {
.header {
width: auto;
}
}
.custom-logo .site-meta-headline {
text-align: center;
}
.custom-logo .brand {
background: none;
}
.custom-logo .site-title {
margin: 10px auto 0;
font-size: 24px;
color: #222;
}
.custom-logo .site-title a {
border: none;
}
.custom-logo-image {
margin: 0 auto;
padding: 5px;
max-width: 150px;
.header-inner {
position: absolute;
top: 0;
overflow: hidden;
padding: 0;
width: 240px;
background: #fff;
box-shadow: 0 2px 2px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.06), 0 1px 5px 0 rgba(0,0,0,0.12);
border-radius: initial;
}
@media (min-width: 1600px) {
.container .header-inner {
width: 240px;
}
}
@media (min-width: 768px) and (max-width: 991px) {
.header-inner {
position: relative;
width: auto;
border-radius: initial;
}
}
@media (max-width: 767px) {
.site-nav {
position: absolute;
left: 0;
top: 52px;
margin: 0;
.header-inner {
position: relative;
width: auto;
border-radius: initial;
}
}
.main:before,
.main:after {
content: " ";
display: table;
}
.main:after {
clear: both;
}
@media (min-width: 768px) and (max-width: 991px) {
.main {
padding-bottom: 100px;
}
}
@media (max-width: 767px) {
.main {
padding-bottom: 100px;
}
}
.container .main-inner {
width: 75%;
}
@media (min-width: 768px) and (max-width: 991px) {
.container .main-inner {
width: auto;
}
}
@media (max-width: 767px) {
.container .main-inner {
width: auto;
}
}
.content-wrap {
float: right;
box-sizing: border-box;
padding: 40px;
width: calc(100% - 252px);
background: #fff;
min-height: 700px;
box-shadow: 0 2px 2px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.06), 0 1px 5px 0 rgba(0,0,0,0.12);
border-radius: initial;
}
@media (min-width: 768px) and (max-width: 991px) {
.content-wrap {
width: 100%;
padding: 0;
background: #fff;
border-bottom: 1px solid #ddd;
z-index: 1030;
padding: 20px;
border-radius: initial;
}
}
@media (max-width: 767px) {
.menu {
text-align: left;
.content-wrap {
width: 100%;
padding: 20px;
min-height: auto;
border-radius: initial;
}
}
@media (max-width: 767px) {
.menu .menu-item {
display: block;
margin: 0 10px;
vertical-align: top;
}
.sidebar {
position: static;
float: left;
margin-top: 300px;
width: 240px;
background: #eee;
box-shadow: none;
}
@media (max-width: 767px) {
.menu .menu-item br {
@media (min-width: 768px) and (max-width: 991px) {
.sidebar {
display: none;
}
}
@media (max-width: 767px) {
.menu .menu-item a {
padding: 5px 10px;
.sidebar {
display: none;
}
}
.menu .menu-item .fa {
margin-right: 0;
.sidebar-toggle {
display: none;
}
.footer-inner {
width: 75%;
padding-left: 260px;
}
@media (min-width: 768px) and (max-width: 991px) {
.footer-inner {
width: auto;
padding-left: 0 !important;
padding-right: 0 !important;
}
}
@media (max-width: 767px) {
.footer-inner {
width: auto;
padding-left: 0 !important;
padding-right: 0 !important;
}
}
.sidebar-position-right .header-inner {
right: 0;
}
.sidebar-position-right .content-wrap {
float: left;
}
.sidebar-position-right .sidebar {
float: right;
}
.sidebar-position-right .footer-inner {
padding-left: 0;
padding-right: 260px;
}
.site-brand-wrapper {
position: relative;
}
.site-meta {
padding: 20px 0;
color: #fff;
background: #222;
}
@media (min-width: 768px) and (max-width: 991px) {
.site-meta {
box-shadow: 0 0 16px rgba(0,0,0,0.5);
}
}
@media (max-width: 767px) {
.site-meta {
box-shadow: 0 0 16px rgba(0,0,0,0.5);
}
}
.brand {
padding: 0;
background: none;
}
.brand:hover {
color: #fff;
}
.site-subtitle {
margin: 10px 10px 0;
font-weight: initial;
}
.site-search form {
display: none;
}
.links-of-blogroll-inline .links-of-blogroll-item {
.site-nav {
border-top: none;
}
@media (min-width: 768px) and (max-width: 991px) {
.site-nav {
display: none !important;
}
}
@media (min-width: 768px) and (max-width: 991px) {
.site-nav-on {
display: block !important;
}
}
.menu .menu-item {
display: block;
margin: 0;
}
.menu .menu-item a {
position: relative;
box-sizing: border-box;
padding: 5px 20px;
text-align: left;
line-height: inherit;
transition-property: background-color;
transition-duration: 0.2s;
transition-timing-function: ease-in-out;
transition-delay: 0s;
}
.menu .menu-item a:hover,
.menu-item-active a {
background: #f9f9f9;
border-bottom-color: #fff;
}
.menu .menu-item br {
display: none;
}
.menu-item-active a:after {
content: " ";
position: absolute;
top: 50%;
margin-top: -3px;
right: 15px;
width: 6px;
height: 6px;
border-radius: 50%;
background-color: #bbb;
}
.btn-bar {
background-color: #fff;
}
.site-nav-toggle {
left: 20px;
top: 50%;
-webkit-transform: translateY(-50%);
-webkit-transform: translateY(-50%);
-moz-transform: translateY(-50%);
-ms-transform: translateY(-50%);
-o-transform: translateY(-50%);
transform: translateY(-50%);
}
@media (min-width: 768px) and (max-width: 991px) {
.site-nav-toggle {
display: block;
}
}
.use-motion .sidebar .motion-element {
opacity: 1;
}
.sidebar {
margin-left: -100%;
right: auto;
bottom: auto;
-webkit-transform: none;
}
.sidebar-inner {
box-sizing: border-box;
width: 240px;
color: #555;
background: #fff;
box-shadow: 0 2px 2px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.06), 0 1px 5px 0 rgba(0,0,0,0.12), 0 -1px 0.5px 0 rgba(0,0,0,0.09);
border-radius: initial;
opacity: 0;
}
.sidebar-inner.affix {
position: fixed;
top: 12px;
}
.sidebar-inner.affix-bottom {
position: absolute;
}
.site-overview {
text-align: left;
}
.site-author:before,
.site-author:after {
content: " ";
display: table;
}
.site-author:after {
clear: both;
}
.sidebar a {
color: #555;
}
.sidebar a:hover {
color: #222;
}
.site-state-item {
padding: 0 10px;
}
.links-of-author-item a:before {
display: none;
}
.links-of-author-item a {
border-bottom: none;
text-decoration: underline;
}
.feed-link {
border-top: 1px dotted #ccc;
border-bottom: 1px dotted #ccc;
text-align: center;
}
.feed-link a {
display: block;
color: #fc6423;
border: none;
}
.feed-link a:hover {
background: none;
color: #e34603;
}
.feed-link a:hover i {
color: #e34603;
}
.links-of-author {
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.links-of-author-item {
margin: 5px 0 0;
width: 50%;
}
.links-of-author-item a {
max-width: 216px;
box-sizing: border-box;
display: inline-block;
margin-right: 0;
margin-bottom: 0;
padding: 0 5px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.links-of-author-item a {
display: block;
text-decoration: none;
}
.links-of-author-item a:hover {
border-radius: 4px;
background: #eee;
}
.links-of-author-item .fa {
margin-right: 2px;
font-size: 16px;
}
.links-of-author-item .fa-globe {
font-size: 15px;
}
.links-of-blogroll {
text-align: center;
margin-top: 20px;
padding: 3px 0 0;
border-top: 1px dotted #ccc;
}
.links-of-blogroll-title {
margin-top: 0;
}
.links-of-blogroll-item {
padding: 0;
}
.links-of-blogroll-inline:before,
.links-of-blogroll-inline:after {
content: " ";
display: table;
}
.links-of-blogroll-inline:after {
clear: both;
}
.links-of-blogroll-inline .links-of-blogroll-item {
margin: 5px 0 0;
width: 50%;
display: inline-block;
width: unset;
}
.links-of-blogroll-inline .links-of-blogroll-item a {
max-width: 216px;
box-sizing: border-box;
display: inline-block;
margin-right: 0;
margin-bottom: 0;
padding: 0 5px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.content-wrap {
padding: initial;
background: initial;
box-shadow: initial;
border-radius: initial;
}
.post-block {
padding: 40px;
background: #fff;
box-shadow: 0 2px 2px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.06), 0 1px 5px 0 rgba(0,0,0,0.12);
border-radius: initial;
}
#posts > article + article .post-block {
margin-top: 12px;
box-shadow: 0 2px 2px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.06), 0 1px 5px 0 rgba(0,0,0,0.12), 0 -1px 0.5px 0 rgba(0,0,0,0.09);
border-radius: initial;
}
.comments {
padding: 40px;
margin: initial;
margin-top: 12px;
background: #fff;
box-shadow: 0 2px 2px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.06), 0 1px 5px 0 rgba(0,0,0,0.12), 0 -1px 0.5px 0 rgba(0,0,0,0.09);
border-radius: initial;
}
.posts-expand {
padding-top: initial;
}
.post-nav-divider {
width: 4%;
}
.post-nav-item {
width: 48%;
}
.post-eof,
.post-spread {
display: none !important;
}
.pagination {
margin: 12px 0 0;
border-top: initial;
background: #fff;
box-shadow: 0 2px 2px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.06), 0 1px 5px 0 rgba(0,0,0,0.12), 0 -1px 0.5px 0 rgba(0,0,0,0.09);
border-radius: initial;
padding: 10px 0 10px;
}
.pagination .prev,
.pagination .next,
.pagination .page-number {
margin-bottom: initial;
top: initial;
}
.main {
padding-bottom: initial;
}
.footer {
bottom: auto;
}
.post-header h1,
.post-header h2 {
margin: initial;
}
.posts-expand .post-title-link {
line-height: inherit;
}
.posts-expand .post-title {
font-size: 1.7em;
}
.post-body h1 {
font-size: 1.6em;
border-bottom: 1px solid #eee;
}
.post-body h2 {
font-size: 1.45em;
border-bottom: 1px solid #eee;
}
.post-body h3 {
font-size: 1.3em;
border-bottom: 1px dotted #eee;
}
.post-body h4 {
font-size: 1.2em;
}
.post-body h5 {
font-size: 1.07em;
}
.post-body h6 {
font-size: 1.03em;
}
@media (min-width: 768px) and (max-width: 991px) {
.content-wrap {
padding: 10px;
}
.posts-expand {
margin: initial;
}
.posts-expand .post-button {
margin-top: 20px;
}
.post-block {
padding: 20px;
box-shadow: 0 2px 2px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.06), 0 1px 5px 0 rgba(0,0,0,0.12), 0 -1px 0.5px 0 rgba(0,0,0,0.09);
border-radius: initial;
}
#posts > article + article .post-block {
margin-top: 10px;
}
.comments {
margin-top: 10px;
padding: 10px 20px;
}
.pagination {
margin: 10px 0 0;
}
}
@media (max-width: 767px) {
.content-wrap {
padding: 8px;
}
.posts-expand {
margin: initial;
}
.posts-expand .post-button {
margin-top: 12px;
}
.posts-expand img {
padding: initial !important;
}
.post-block {
padding: 12px;
min-height: auto;
box-shadow: 0 2px 2px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.06), 0 1px 5px 0 rgba(0,0,0,0.12), 0 -1px 0.5px 0 rgba(0,0,0,0.09);
border-radius: initial;
}
#posts > article + article .post-block {
margin-top: 8px;
}
.comments {
margin-top: 8px;
padding: 0 12px;
}
.pagination {
margin: 8px 0 0;
}
}
#rewardButton span {
display: inline-block;