Skip to content

Commit

Permalink
2020-09-28 13:52:35
Browse files Browse the repository at this point in the history
  • Loading branch information
wizardforcel committed Sep 28, 2020
1 parent d56abe1 commit 81d585e
Show file tree
Hide file tree
Showing 8 changed files with 1,186 additions and 0 deletions.
9 changes: 9 additions & 0 deletions asset/docsify-copy-code.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions asset/docsify.min.js

Large diffs are not rendered by default.

160 changes: 160 additions & 0 deletions asset/prism-darcula.css
@@ -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;
}
1 change: 1 addition & 0 deletions asset/prism-python.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions asset/search.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

96 changes: 96 additions & 0 deletions asset/style.css
@@ -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;
}

0 comments on commit 81d585e

Please sign in to comment.