-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding PrismJS; fixing bugs; styling
- Loading branch information
Showing
5 changed files
with
181 additions
and
23 deletions.
There are no files selected for viewing
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
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
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,123 @@ | ||
/* PrismJS 1.29.0 | ||
https://prismjs.com/download.html#themes=prism-tomorrow&languages=clike+go+json+jsonp */ | ||
code[class*=language-],pre[class*=language-]{color:#ccc;background:0 0;font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap: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[class*=language-]{padding:1em;margin:.5em 0;overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background:#2d2d2d}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.block-comment,.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#999}.token.punctuation{color:#ccc}.token.attr-name,.token.deleted,.token.namespace,.token.tag{color:#e2777a}.token.function-name{color:#6196cc}.token.boolean,.token.function,.token.number{color:#f08d49}.token.class-name,.token.constant,.token.property,.token.symbol{color:#f8c555}.token.atrule,.token.builtin,.token.important,.token.keyword,.token.selector{color:#cc99cd}.token.attr-value,.token.char,.token.regex,.token.string,.token.variable{color:#7ec699}.token.entity,.token.operator,.token.url{color:#67cdcc}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.token.inserted{color:green} | ||
|
||
/** | ||
* MIT License | ||
* Copyright (c) 2021 Ayush Saini | ||
* Holi Theme for prism.js | ||
* @author Ayush Saini <@AyushCodes on Twitter> | ||
*/ | ||
|
||
code[class*='language-'], | ||
pre[class*='language-'] { | ||
color: #d6e7ff; | ||
background: #030314; | ||
text-shadow: none; | ||
font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; | ||
font-size: 1em; | ||
line-height: 1.5; | ||
letter-spacing: .2px; | ||
white-space: pre; | ||
word-spacing: normal; | ||
word-break: normal; | ||
word-wrap: normal; | ||
text-align: left; | ||
|
||
-moz-tab-size: 4; | ||
-o-tab-size: 4; | ||
tab-size: 4; | ||
|
||
-webkit-hyphens: none; | ||
-moz-hyphens: none; | ||
-ms-hyphens: none; | ||
hyphens: none; | ||
} | ||
|
||
pre[class*='language-']::-moz-selection, | ||
pre[class*='language-'] ::-moz-selection, | ||
code[class*='language-']::-moz-selection, | ||
code[class*='language-'] ::-moz-selection, | ||
pre[class*='language-']::selection, | ||
pre[class*='language-'] ::selection, | ||
code[class*='language-']::selection, | ||
code[class*='language-'] ::selection { | ||
color: inherit; | ||
background: #1d3b54; | ||
text-shadow: none; | ||
} | ||
|
||
pre[class*='language-'] { | ||
border: 1px solid #2a4555; | ||
border-radius: 5px; | ||
padding: 1.5em 1em; | ||
margin: 1em 0; | ||
overflow: auto; | ||
} | ||
|
||
:not(pre) > code[class*='language-'] { | ||
color: #f0f6f6; | ||
background: #2a4555; | ||
padding: 0.2em 0.3em; | ||
border-radius: 0.2em; | ||
box-decoration-break: clone; | ||
} | ||
|
||
.token.comment, | ||
.token.prolog, | ||
.token.doctype, | ||
.token.cdata { | ||
color: #446e69; | ||
} | ||
|
||
.token.punctuation { | ||
color: #d6b007; | ||
} | ||
|
||
.token.property, | ||
.token.tag, | ||
.token.boolean, | ||
.token.number, | ||
.token.constant, | ||
.token.symbol, | ||
.token.deleted { | ||
color: #d6e7ff; | ||
} | ||
|
||
.token.selector, | ||
.token.attr-name, | ||
.token.builtin, | ||
.token.inserted { | ||
color: #e60067; | ||
} | ||
|
||
.token.string, | ||
.token.char { | ||
color: #49c6ec; | ||
} | ||
|
||
.token.operator, | ||
.token.entity, | ||
.token.url, | ||
.language-css .token.string, | ||
.style .token.string { | ||
color: #ec8e01; | ||
background: transparent; | ||
} | ||
|
||
.token.atrule, | ||
.token.attr-value, | ||
.token.keyword { | ||
color: #0fe468; | ||
} | ||
|
||
.token.function, | ||
.token.class-name { | ||
color: #78f3e9; | ||
} | ||
|
||
.token.regex, | ||
.token.important, | ||
.token.variable { | ||
color: #d6e7ff; | ||
} |
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