Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d56abe1
commit 81d585e
Showing
8 changed files
with
1,186 additions
and
0 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,160 @@ | ||
/** | ||
* Darcula theme | ||
* | ||
* Adapted from a theme based on: | ||
* IntelliJ Darcula Theme (https://github.com/bulenkov/Darcula) | ||
* | ||
* @author Alexandre Paradis <service.paradis@gmail.com> | ||
* @version 1.0 | ||
*/ | ||
|
||
code[class*="lang-"], | ||
pre[data-lang] { | ||
color: #a9b7c6 !important; | ||
background-color: #2b2b2b !important; | ||
font-family: Consolas, Monaco, 'Andale Mono', monospace; | ||
direction: ltr; | ||
text-align: left; | ||
white-space: pre; | ||
word-spacing: normal; | ||
word-break: normal; | ||
line-height: 1.5; | ||
|
||
-moz-tab-size: 4; | ||
-o-tab-size: 4; | ||
tab-size: 4; | ||
|
||
-webkit-hyphens: none; | ||
-moz-hyphens: none; | ||
-ms-hyphens: none; | ||
hyphens: none; | ||
} | ||
|
||
pre[data-lang]::-moz-selection, pre[data-lang] ::-moz-selection, | ||
code[class*="lang-"]::-moz-selection, code[class*="lang-"] ::-moz-selection { | ||
color: inherit; | ||
background: rgba(33, 66, 131, .85); | ||
} | ||
|
||
pre[data-lang]::selection, pre[data-lang] ::selection, | ||
code[class*="lang-"]::selection, code[class*="lang-"] ::selection { | ||
color: inherit; | ||
background: rgba(33, 66, 131, .85); | ||
} | ||
|
||
/* Code blocks */ | ||
pre[data-lang] { | ||
padding: 1em; | ||
margin: .5em 0; | ||
overflow: auto; | ||
} | ||
|
||
:not(pre) > code[class*="lang-"], | ||
pre[data-lang] { | ||
background: #2b2b2b; | ||
} | ||
|
||
/* Inline code */ | ||
:not(pre) > code[class*="lang-"] { | ||
padding: .1em; | ||
border-radius: .3em; | ||
} | ||
|
||
.token.comment, | ||
.token.prolog, | ||
.token.cdata { | ||
color: #808080; | ||
} | ||
|
||
.token.delimiter, | ||
.token.boolean, | ||
.token.keyword, | ||
.token.selector, | ||
.token.important, | ||
.token.atrule { | ||
color: #cc7832; | ||
} | ||
|
||
.token.operator, | ||
.token.punctuation, | ||
.token.attr-name { | ||
color: #a9b7c6; | ||
} | ||
|
||
.token.tag, | ||
.token.tag .punctuation, | ||
.token.doctype, | ||
.token.builtin { | ||
color: #e8bf6a; | ||
} | ||
|
||
.token.entity, | ||
.token.number, | ||
.token.symbol { | ||
color: #6897bb; | ||
} | ||
|
||
.token.property, | ||
.token.constant, | ||
.token.variable { | ||
color: #9876aa; | ||
} | ||
|
||
.token.string, | ||
.token.char { | ||
color: #6a8759; | ||
} | ||
|
||
.token.attr-value, | ||
.token.attr-value .punctuation { | ||
color: #a5c261; | ||
} | ||
|
||
.token.attr-value .punctuation:first-child { | ||
color: #a9b7c6; | ||
} | ||
|
||
.token.url { | ||
color: #287bde; | ||
text-decoration: underline; | ||
} | ||
|
||
.token.function { | ||
color: #ffc66d; | ||
} | ||
|
||
.token.regex { | ||
background: #364135; | ||
} | ||
|
||
.token.bold { | ||
font-weight: bold; | ||
} | ||
|
||
.token.italic { | ||
font-style: italic; | ||
} | ||
|
||
.token.inserted { | ||
background: #294436; | ||
} | ||
|
||
.token.deleted { | ||
background: #484a4a; | ||
} | ||
|
||
code.lang-css .token.property, | ||
code.lang-css .token.property + .token.punctuation { | ||
color: #a9b7c6; | ||
} | ||
|
||
code.lang-css .token.id { | ||
color: #ffc66d; | ||
} | ||
|
||
code.lang-css .token.selector > .token.class, | ||
code.lang-css .token.selector > .token.attribute, | ||
code.lang-css .token.selector > .token.pseudo-class, | ||
code.lang-css .token.selector > .token.pseudo-element { | ||
color: #ffc66d; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
/*隐藏头部的目录*/ | ||
#main>ul:nth-child(1) { | ||
display: none; | ||
} | ||
|
||
#main>ul:nth-child(2) { | ||
display: none; | ||
} | ||
|
||
.markdown-section h1 { | ||
margin: 3rem 0 2rem 0; | ||
} | ||
|
||
.markdown-section h2 { | ||
margin: 2rem 0 1rem; | ||
} | ||
|
||
img, | ||
pre { | ||
border-radius: 8px; | ||
} | ||
|
||
.content, | ||
.sidebar, | ||
.markdown-section, | ||
body, | ||
.search input { | ||
background-color: rgba(243, 242, 238, 1) !important; | ||
} | ||
|
||
@media (min-width:600px) { | ||
.sidebar-toggle { | ||
background-color: #f3f2ee; | ||
} | ||
} | ||
|
||
.docsify-copy-code-button { | ||
background: #f8f8f8 !important; | ||
color: #7a7a7a !important; | ||
} | ||
|
||
body { | ||
/*font-family: Microsoft YaHei, Source Sans Pro, Helvetica Neue, Arial, sans-serif !important;*/ | ||
} | ||
|
||
.markdown-section>p { | ||
font-size: 16px !important; | ||
} | ||
|
||
.markdown-section pre>code { | ||
font-family: Consolas, Roboto Mono, Monaco, courier, monospace !important; | ||
font-size: .9rem !important; | ||
|
||
} | ||
|
||
/*.anchor span { | ||
color: rgb(66, 185, 131); | ||
}*/ | ||
|
||
section.cover h1 { | ||
margin: 0; | ||
} | ||
|
||
body>section>div.cover-main>ul>li>a { | ||
color: #42b983; | ||
} | ||
|
||
.markdown-section img { | ||
box-shadow: 7px 9px 10px #aaa !important; | ||
} | ||
|
||
|
||
pre { | ||
background-color: #f3f2ee !important; | ||
} | ||
|
||
@media (min-width:600px) { | ||
pre code { | ||
/*box-shadow: 2px 1px 20px 2px #aaa;*/ | ||
/*border-radius: 10px !important;*/ | ||
padding-left: 20px !important; | ||
} | ||
} | ||
|
||
@media (max-width:600px) { | ||
pre { | ||
padding-left: 0px !important; | ||
padding-right: 0px !important; | ||
} | ||
} | ||
|
||
.markdown-section pre { | ||
padding-left: 0 !important; | ||
padding-right: 0px !important; | ||
box-shadow: 2px 1px 20px 2px #aaa; | ||
} |
Oops, something went wrong.