Skip to content

Instantly share code, notes, and snippets.

@markshust
Created March 3, 2022 17:43
Show Gist options
  • Select an option

  • Save markshust/b42a287491e5294b937782c3aa7c6e0f to your computer and use it in GitHub Desktop.

Select an option

Save markshust/b42a287491e5294b937782c3aa7c6e0f to your computer and use it in GitHub Desktop.
code[class*="language-"],
pre[class*="language-"] {
text-align: left;
word-spacing: normal;
word-wrap: normal;
color: #c3cee3;
background: #263238;
font-family: Hack, Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
font-size: 1.1em;
line-height: 1.6em;
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;
-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
hyphens: none;
}
@media (min-width: 768px) {
code[class*="language-"],
pre[class*="language-"] {
white-space: pre-wrap;
word-break: break-word;
}
}
@media (max-width: 767px) {
code[class*="language-"],
pre[class*="language-"] {
-webkit-touch-callout:none;
}
}
code[class*="language-"]::-moz-selection,
pre[class*="language-"]::-moz-selection,
code[class*="language-"] ::-moz-selection,
pre[class*="language-"] ::-moz-selection {
background: #363636;
}
code[class*="language-"]::selection,
pre[class*="language-"]::selection,
code[class*="language-"] ::selection,
pre[class*="language-"] ::selection {
background: #363636;
}
:not(pre) > code[class*="language-"] {
white-space: normal;
border-radius: 0.2em;
padding: 0.1em;
}
pre[class*="language-"] {
overflow: auto;
position: relative;
margin: 0.5em 0 0;
padding: 1.25em 1em;
}
pre.filename {
padding: 1rem;
margin-bottom: -0.6rem;
font-weight: bold;
}
.bg-filename {
background-color: #1a2226;
}
.text-filename {
color: rgba(172, 228, 255, 0.7);
}
.language-css > code,
.language-sass > code,
.language-scss > code {
color: #fd9170;
}
.token.namespace {
color: #ffcb6b;
}
.token.package, .token.scope {
color: #82aaff;
}
.token.atrule {
color: #c792ea;
}
.token.attr-name {
color: #ffcb6b;
}
.token.attr-value {
color: #c3e88d;
}
.token.attribute {
color: #c3e88d;
}
.token.boolean {
color: #c792ea;
}
.token.builtin {
color: #ffcb6b;
}
.token.cdata {
color: #80cbc4;
}
.token.char {
color: #80cbc4;
}
.token.class {
color: #ffcb6b;
}
.token.class-name {
color: #f2ff00;
}
.token.color {
color: #f2ff00;
}
.token.comment {
color: #6E8C98;
}
.token.constant {
color: #f07178;
}
.token.deleted {
color: #f07178;
}
.token.doctype {
color: #6e8c98;
}
.token.entity {
color: #f07178;
}
.token.function {
color: #c792ea;
}
.token.hexcode {
color: #f2ff00;
}
.token.id {
color: #c792ea;
font-weight: bold;
}
.token.important {
color: #c792ea;
font-weight: bold;
}
.token.inserted {
color: #80cbc4;
}
.token.keyword {
color: #c792ea;
font-style: italic;
}
.token.number {
color: #fd9170;
}
.token.operator {
color: #89ddff;
}
.token.prolog {
color: #ace4ff;
}
.token.property {
color: #80cbc4;
}
.token.pseudo-class {
color: #c3e88d;
}
.token.pseudo-element {
color: #c3e88d;
}
.token.punctuation {
color: #89ddff;
}
.token.regex {
color: #f2ff00;
}
.token.selector {
color: #f07178;
}
.token.string {
color: #c3e88d;
}
.token.symbol {
color: #c792ea;
}
.token.tag {
color: #f07178;
}
.token.unit {
color: #f07178;
}
.token.url {
color: #fd9170;
}
.token.variable {
color: #f07178;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment