Site updated: 2020-01-19 12:07:37

This commit is contained in:
Jimmy Xiang
2020-01-19 12:07:38 +08:00
parent 9f0720b535
commit ffb5266311
48 changed files with 6662 additions and 0 deletions

503
css/f25.css Normal file
View File

@@ -0,0 +1,503 @@
body{
margin: 0;
font-family: "PingFang SC","Lantinghei SC","Microsoft Yahei","Hiragino Sans GB","Microsoft Sans Serif","WenQuanYi Micro Hei",sans;
-webkit-font-smoothing: antialiased;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
text-rendering: optimizelegibility;
-webkit-overflow-scrolling: touch;
overflow: scroll;
}
html , body{
height: 100%;
}
.header-wrapper{
height: 64px;
width: 100%;
position: fixed;
top: 0;
left: 0;
z-index: 999;
background: #fff;
box-shadow: 0px 1px 2px #999;
}
.wrapper{
width: 100%;
}
.wrapper::before,
.wrapper::after{
clear: both;
display: table;
content: "";
}
.container{
width: 1200px;
margin: 0 auto;
}
.sub-container{
width: 960px;
margin: 0 auto;
}
.container::before,
.container::after,
.sub-container::before,
.sub-container::after{
clear: both;
display: table;
content: "";
}
.header-nav-wrapper{
height: 100%;
position: relative;
}
.logo{
float: left;
height: 100%;
width: 200px;
background: #fff;
}
.logo a{
width: 100%;
height: 100%;
color: #03339e;
text-decoration: none;
}
.logo a:hover,
.logo a:visited,
.logo a:acive{
color: #03339e;
text-decoration: none;
}
.logo .title{
margin: 0;
padding: 0;
line-height: 64px;
user-select: none;
width: 100%;
height: 100%;
font-size: 24px;
box-sizing: border-box;
}
.nav-wrapper{
float: right;
}
.nav-wrapper a{
display: block;
float: left;
height: 100%;
font-size: 18px;
line-height: 20px;
padding: 22px;
color: #000;
cursor: pointer;
text-decoration: none;
transition: all .4s;
}
.nav-wrapper a:hover{
color: #fff;
background-color: #6C62C7;
text-decoration: none;
}
.nav-wrapper a:active,
.nav-wrapper a:visited{
text-decoration: none;
}
.body-wrapper{
min-height: 100%;
box-sizing: border-box;
padding: 64px 0 60px 0;
position: relative;
}
.banner-wrapper{
height: 250px;
background: url(/images/bg_sm.png) repeat;
background-color: #000;
}
.banner-container{
height: 100%;
background: url(/images/bg.png) no-repeat;
background-position: center;
background-size: auto 100%;
}
.menu-wrapper{
margin-top: 20px;
}
.menu-wrapper a{
text-decoration: none;
color: #333;
font-size: 16px;
box-sizing: border-box;
font-weight: 600;
padding: 10px 20px;
float: left;
transition: all .4s;
margin-right: 10px;
}
.menu-wrapper a:lash-child{
margin-right: 0;
}
.menu-wrapper a.active,
.menu-wrapper a:hover{
text-decoration: none;
color: #fff;
background-color: #6C62C7;
}
.list-container{
padding: 0;
}
.post-i-wrapper{
list-style: none;
width: 280px;
height: 240px;
float: left;
margin: 26px 26px 26px 0;
background-color: #fff;
cursor: pointer;
box-shadow: 0px 2px 6px #ccc;
transition: all .2s;
}
.post-i-wrapper .post-i-link{
width: 100%;
height: 100%;
text-decoration: none;
}
.post-i-wrapper:hover{
box-shadow: 0px 0px 10px #000;
}
.post-i-wrapper .cover{
width: 100%;
height: 113px;
overflow: hidden;
}
.post-i-wrapper .cover img{
width: 100%;
min-height: 100%;
}
.post-i-wrapper .title{
margin: 0;
font-size: 18px;
font-weight: 400;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
box-sizing: border-box;
padding: 20px 10px 10px 10px;
color: #000;
}
.post-i-wrapper .subtitle{
line-height: 22px;
text-indent: 28px;
font-size: 14px;
font-weight: 400;
max-height: 44px;
overflow: hidden;
box-sizing: border-box;
padding: 0 10px;
color: #666;
margin: 0;
}
.post-i-wrapper .time{
color: #999;
font-size: 12px;
padding: 10px;
display: block;
box-sizing: border-box;
text-align: left;
}
.post-banner{
height: 400px;
background-color: #6C62C7;
}
.post-banner-container{
height: 100%;
background: url(/images/bg_post.png) no-repeat;
background-position: center;
background-size: 100% auto;
}
.post-banner-container .title{
width: 100%;
text-align: center;
font-size: 28px;
line-height: 40px;
margin: 0;
margin-top: 160px;
font-weight: 500;
color: #fff;
}
.post-banner-container .tips {
text-align: center;
color: #D8D8F6;
}
.post-banner-container .tips a{
color: #D8D8F6;
text-decoration: none;
transition: all .4s;
}
.post-banner-container .tips a:hover{
color: #3A2BB4;
text-decoration: underline;
}
.post-content {
box-sizing: border-box;
padding: 20px 10px;
line-height: 1.8;
}
.post-content ul,
.post-content ol{
box-sizing: border-box;
padding: 20px 10px;
margin: 0;
}
.post-content table{
border-spacing: 0;
border-collapse: collapse;
-ms-word-break: break-all;
word-break: break-all;
}
.post-content table th{
background: #eee;
padding: 4px;
border: 1px solid #999;
}
.post-content table td{
border: 1px solid #999;
padding: 4px;
}
.post-content li{
font-weight: 500;
line-height: 2;
color: #333;
-ms-word-break: break-all;
word-break: break-all;
list-style-position: inside;
}
.post-content p{
-ms-word-break: break-all;
word-break: break-all;
}
.gitalk-wrapper{
padding: 20px 10px;
box-sizing: border-box;
}
.footer-wrapper{
width: 100%;
position: absolute;
bottom: 0;
left: 0;
height: 60px;
text-align: center;
background: #efefef;
box-sizing: border-box;
padding: 20px 0;
box-shadow: 0px 0px 2px #bbb;
}
.copyright{
font-size: 14px;
vertical-align: middle;
}
.btn-menu {
display: none;
float: right;
width: 64px;
height: 64px;
}
.btn-menu .inner {
width: 100%;
height: 100%;
overflow: hidden;
position: relative;
}
.btn-menu .inner .line {
top: 30px;
left: 22px;
position: absolute;
width: 20px;
height: 3px;
-webkit-transition: all .5s;
transition: all .5s;
background: #000;
}
.btn-menu .inner .line-01 {
margin-top: -7px;
}
.btn-menu .inner .line-03 {
margin-top: 7px;
}
.btn-close .line-01 {
-webkit-transform: rotate(45deg) translate3d(5px, 5px, 0);
transform: rotate(45deg) translate3d(5px, 5px, 0);
}
.btn-close .line-03 {
-webkit-transform: rotate(-45deg) translate3d(5px, -5px, 0);
transform: rotate(-45deg) translate3d(5px, -5px, 0);
}
.btn-close .line-02 {
-webkit-transform: translate3d(50px, 0, 0);
transform: translate3d(50px, 0, 0);
}
.mb-nav-wrapper{
position: absolute;
top: 64px;
z-index: 99;
background-color: #fff;
box-shadow: 0px 1px 2px #999;
display: none;
}
.mb-nav-wrapper.show{
display: block;
}
.mb-nav-container a{
display: block;
box-sizing: border-box;
padding: 10px;
line-height: 22px;
font-size: 14px;
text-decoration: none;
color: #000;
user-select: none;
}
.tips-top-wrapper{
width: 40px;
height: 40px;
background: #d4d4d4;
margin-bottom: .5rem;
cursor: pointer;
transition: all .4s;
border-radius: 2px;
box-shadow: 2px 2px 2px #000;
position: fixed;
bottom: 20px;
right: 20px;
z-index: 99;
}
.tips-top-wrapper:hover{
background: #000;
}
.tip-top-container{
display: block;
width: 100%;
height: 100%;
text-align: center;
line-height: 48px;
position: relative;
}
.tip-top-container span{
width: 2px;
height: 16px;
background: #fff;
display: block;
position: absolute;
}
.tip-top-container .l-bar{
transform: rotateZ(45deg);
-ms-transform: rotateZ(45deg);
-webkit-transform: rotateZ(45deg);
left: 14px;
top: 12px;
}
.tip-top-container .r-bar{
transform: rotateZ(-45deg);
-ms-transform: rotateZ(-45deg);
-webkit-transform: rotateZ(-45deg);
left: 25px;
top: 12px;
}
/****************************/
@media screen and (min-width: 901px) and (max-width: 1400px){
.container,
.sub-container{
width: 892px;
}
.post-i-wrapper{
margin: 26px 26px 26px 0;
}
.post-i-wrapper:nth-child(3n){
margin-right: 0;
}
}
@media screen and (min-width: 769px) and (max-width: 900px){
.container,
.sub-container{
width: 586px;
}
.post-i-wrapper{
margin: 26px 26px 26px 0;
}
.post-i-wrapper:nth-child(2n){
margin-right: 0;
}
.nav-wrapper a{
padding: 22px 12px;
}
.menu-wrapper a{
padding: 10px 8px;
}
.post-banner-container .title{
font-size: 24px;
}
}
@media screen and (max-width: 768px){
.container,
.sub-container{
width: 100%;
}
.list-container{
box-sizing: border-box;
padding: 10px 2px;
}
.post-i-wrapper{
height: 320px;
width: 100%;
margin: 26px 0;
}
.post-i-wrapper .cover{
height: 193px;
}
.logo .title{
padding: 0 10px;
}
.nav-wrapper{
display: none;
}
.logo{
width: 140px;
}
.btn-menu{
display: block;
}
.post-banner{
height: 200px;
}
.post-banner-container .title{
margin-top: 80px;
font-size: 18px;
line-height: 24px;
}
.post-banner-container .tips{
font-size: 12px;
}
.post-content{
font-size: 14px;
}
.menu-wrapper{
box-sizing: border-box;
padding: 0 10px;
}
.menu-wrapper a{
padding: 8px;
font-size: 14px;
}
}
@media screen and ( min-width:1401px){
.post-i-wrapper{
margin: 26px 26px 26px 0;
}
.post-i-wrapper:nth-child(4n){
margin-right: 0;
}
}

1211
css/gitalk.css Normal file

File diff suppressed because it is too large Load Diff

446
css/highlight.css Normal file
View File

@@ -0,0 +1,446 @@
html {
-ms-text-size-adjust: 100%;
}
article, aside, footer, header, nav, section {
display: block;
}
figcaption, figure, main {
display: block;
}
figure {
margin: 1em 40px;
}
hr {
overflow: visible;
}
a {
background-color: transparent;
-webkit-text-decoration-skip: object;
}
mark {
background-color: #ff0;
color: #000;
}
audio, video {
display: inline-block;
}
img {
border-style: none;
max-width: 100%;
}
svg:not(:root) {
overflow: hidden;
}
button, input {
overflow: visible;
}
button, select {
text-transform: none;
}
legend {
box-sizing: border-box;
color: inherit;
display: table;
max-width: 100%;
white-space: normal;
}
progress {
display: inline-block;
}
blockquote{
background: #ecf0f1;
margin: 0;
padding: 2px 10px;
font-style: italic;
box-sizing: border-box;
}
textarea {
overflow: auto;
}
[type="checkbox"], [type="radio"] {
box-sizing: border-box;
padding: 0;
}
details, menu {
display: list-item;
}
canvas {
display: inline-block;
}
[type="search"]::-webkit-search-cancel-button, [type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
button, input, optgroup, select, textarea {
-webkit-appearance: none;
-webkit-tap-highlight-color: transparent;
}
a {
-webkit-tap-highlight-color: transparent;
}
/**
* Correct the style in all browsers.
*/
html {
font-family: "Helvetica Neue", Helvetica, STHeiTi, "Microsoft Yahei", sans-serif;
line-height: 1.15;
-webkit-text-size-adjust: 100%;
}
body {
margin: 0;
}
h1 {
font-size: 2em;
margin: 0.67em 0;
}
hr {
box-sizing: content-box;
height: 0;
}
pre {
overflow: scroll;
font-family: monospace, monospace;
font-size: 1em;
}
a:active, a:hover {
outline-width: 0;
}
abbr[title] {
border-bottom: none;
text-decoration: underline;
text-decoration: underline dotted;
}
b, strong {
font-weight: bolder;
}
code, kbd, samp {
font-family: monospace, monospace;
font-size: 1em;
}
dfn {
font-style: italic;
}
small {
font-size: 80%;
}
sub, sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sub {
bottom: -0.25em;
}
sup {
top: -0.5em;
}
audio:not([controls]) {
display: none;
height: 0;
}
button, input, optgroup, select, textarea {
font-family: sans-serif;
font-size: 100%;
line-height: 1.15;
margin: 0;
}
button, html [type="button"], [type="reset"], [type="submit"] {
-webkit-appearance: button;
}
button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner {
border-style: none;
padding: 0;
}
button:-moz-focusring, [type="button"]:-moz-focusring, [type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring {
outline: 1px dotted ButtonText;
}
fieldset {
border: 1px solid #c0c0c0;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em;
}
legend {
padding: 0;
}
progress {
vertical-align: baseline;
}
[type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button {
height: auto;
}
[type="search"] {
-webkit-appearance: textfield;
outline-offset: -2px;
}
::-webkit-file-upload-button {
-webkit-appearance: button;
font: inherit;
}
details, summary {
display: list-item;
}
code,
pre {
font-size: 0.8em;
background-color: #ecf0f1;
font-family: 'Roboto Mono', Monaco, courier, monospace;
}
code {
padding: 0.1em 0.4em;
background-color: #ecf0f1;
border-radius: 3px;
}
pre .line {
min-height: 1em;
}
.highlight {
position: relative;
margin: 1em 0;
border-radius: 2px;
line-height: 1.1em;
background-color: #ecf0f1;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}
.highlight figcaption {
font-size: .9em;
padding: .4em;
border-bottom: 1px solid #bdc3c7;
}
.highlight table, .highlight tr, .highlight td {
width: 100%;
border-collapse: collapse;
padding: 0;
margin: 0;
}
.highlight .gutter {
display: none;
}
.highlight .code pre {
padding: 1.2em 1.4em;
line-height: 1.5em;
margin: 0;
}
.highlight.html .code:after, .highlight.js .code:after, .highlight.bash .code:after, .highlight.css .code:after, .highlight.scss .code:after, .highlight.diff .code:after, .highlight.java .code:after, .highlight.xml .code:after, .highlight.python .code:after, .highlight.json .code:after, .highlight.swift .code:after, .highlight.ruby .code:after, .highlight.perl .code:after, .highlight.php .code:after, .highlight.c .code:after, .highlight.cpp .code:after, .highlight.ts .code:after {
position: absolute;
top: 0;
right: 0;
color: #bdc3c7;
text-align: right;
font-size: 0.75em;
padding: 5px 10px 0;
line-height: 15px;
height: 15px;
font-weight: 600;
}
.highlight.html .code:after {
content: "HTML";
}
.highlight.js .code:after {
content: "JS";
}
.highlight.bash .code:after {
content: "BASH";
}
.highlight.css .code:after {
content: "CSS";
}
.highlight.scss .code:after {
content: "SCSS";
}
.highlight.diff .code:after {
content: "DIFF";
}
.highlight.java .code:after {
content: "JAVA";
}
.highlight.xml .code:after {
content: "XML";
}
.highlight.python .code:after {
content: "PYTHON";
}
.highlight.json .code:after {
content: "JSON";
}
.highlight.swift .code:after {
content: "SWIFT";
}
.highlight.ruby .code:after {
content: "RUBY";
}
.highlight.perl .code:after {
content: "PERL";
}
.highlight.php .code:after {
content: "PHP";
}
.highlight.c .code:after {
content: "C";
}
.highlight.java .code:after {
content: "JAVA";
}
.highlight.cpp .code:after {
content: "CPP";
}
.highlight.ts .code:after {
content: "TS";
}
.highlight.cpp .code:after {
content: 'C++';
}
pre {
color: #34495e;
}
pre .function .keyword,
pre .constant {
color: #3498db;
}
pre .keyword,
pre .attribute {
color: #e96900;
}
pre .number,
pre .literal {
color: #8e44ad;
}
pre .tag,
pre .tag .title,
pre .change,
pre .winutils,
pre .flow,
pre .lisp .title,
pre .clojure .built_in,
pre .nginx .title,
pre .tex .special {
color: #2980b9;
}
pre .symbol,
pre .symbol .string,
pre .value,
pre .regexp {
color: #1abc9c;
}
pre .title {
color: #2ecc71;
}
pre .tag .value,
pre .string,
pre .subst,
pre .haskell .type,
pre .preprocessor,
pre .ruby .class .parent,
pre .built_in,
pre .sql .aggregate,
pre .django .template_tag,
pre .django .variable,
pre .smalltalk .class,
pre .javadoc,
pre .django .filter .argument,
pre .smalltalk .localvars,
pre .smalltalk .array,
pre .attr_selector,
pre .pseudo,
pre .addition,
pre .stream,
pre .envvar,
pre .apache .tag,
pre .apache .cbracket,
pre .tex .command,
pre .prompt {
color: #1abc9c;
}
pre .comment,
pre .java .annotation,
pre .python .decorator,
pre .template_comment,
pre .pi,
pre .doctype,
pre .shebang,
pre .apache .sqbracket,
pre .tex .formula {
color: #95a5a6;
}
pre .deletion {
color: #c0392b;
}
pre .coffeescript .javascript,
pre .javascript .xml,
pre .tex .formula,
pre .xml .javascript,
pre .xml .vbscript,
pre .xml .css,
pre .xml .cdata {
opacity: 0.5;
}