mirror of
https://github.com/Xevion/v2.xevion.dev.git
synced 2025-12-06 01:16:49 -06:00
Revamp code highlighting theme
This commit is contained in:
@@ -105,19 +105,29 @@ dd {
|
||||
margin-left: 2em;
|
||||
}
|
||||
|
||||
pre, code {
|
||||
pre,
|
||||
code {
|
||||
font-family: CMU Typewriter Text, monospace, monospace;
|
||||
font-size: 0.75em;
|
||||
font-style: normal !important;
|
||||
}
|
||||
|
||||
pre {
|
||||
background: #f9f9f9;
|
||||
padding: 0.5em;
|
||||
code {
|
||||
border: 1px solid rgb(150, 150, 150);
|
||||
border-radius: 3px;
|
||||
background-color: rgb(0, 0, 0);
|
||||
padding: 0.15em 0.34em;
|
||||
}
|
||||
|
||||
pre code {
|
||||
font-size: 1em;
|
||||
pre {
|
||||
background: rgb(25, 25, 25);
|
||||
border-radius: 7px;
|
||||
padding: 1em;
|
||||
code {
|
||||
font-size: 1em;
|
||||
border: 0;
|
||||
background-color: transparent !important;
|
||||
}
|
||||
}
|
||||
|
||||
a, hr {
|
||||
|
||||
142
_sass/rouge.scss
142
_sass/rouge.scss
@@ -1,77 +1,65 @@
|
||||
.highlight table td { padding: 5px; }
|
||||
.highlight table pre { margin: 0; }
|
||||
.highlight, .highlight .w {
|
||||
color: #586e75;
|
||||
}
|
||||
.highlight .err {
|
||||
color: #002b36;
|
||||
background-color: #dc322f;
|
||||
}
|
||||
.highlight .c, .highlight .ch, .highlight .cd, .highlight .cm, .highlight .cpf, .highlight .c1, .highlight .cs {
|
||||
color: #657b83;
|
||||
}
|
||||
.highlight .cp {
|
||||
color: #b58900;
|
||||
}
|
||||
.highlight .nt {
|
||||
color: #b58900;
|
||||
}
|
||||
.highlight .o, .highlight .ow {
|
||||
color: #93a1a1;
|
||||
}
|
||||
.highlight .p, .highlight .pi {
|
||||
color: #93a1a1;
|
||||
}
|
||||
.highlight .gi {
|
||||
color: #859900;
|
||||
}
|
||||
.highlight .gd {
|
||||
color: #dc322f;
|
||||
}
|
||||
.highlight .gh {
|
||||
color: #268bd2;
|
||||
background-color: #002b36;
|
||||
font-weight: bold;
|
||||
}
|
||||
.highlight .k, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .kv {
|
||||
color: #6c71c4;
|
||||
}
|
||||
.highlight .kc {
|
||||
color: #cb4b16;
|
||||
}
|
||||
.highlight .kt {
|
||||
color: #cb4b16;
|
||||
}
|
||||
.highlight .kd {
|
||||
color: #cb4b16;
|
||||
}
|
||||
.highlight .s, .highlight .sa, .highlight .sb, .highlight .sc, .highlight .dl, .highlight .sd, .highlight .s2, .highlight .sh, .highlight .sx, .highlight .s1 {
|
||||
color: #859900;
|
||||
}
|
||||
.highlight .sr {
|
||||
color: #2aa198;
|
||||
}
|
||||
.highlight .si {
|
||||
color: #d33682;
|
||||
}
|
||||
.highlight .se {
|
||||
color: #d33682;
|
||||
}
|
||||
.highlight .nn {
|
||||
color: #b58900;
|
||||
}
|
||||
.highlight .nc {
|
||||
color: #b58900;
|
||||
}
|
||||
.highlight .no {
|
||||
color: #b58900;
|
||||
}
|
||||
.highlight .na {
|
||||
color: #268bd2;
|
||||
}
|
||||
.highlight .m, .highlight .mb, .highlight .mf, .highlight .mh, .highlight .mi, .highlight .il, .highlight .mo, .highlight .mx {
|
||||
color: #859900;
|
||||
}
|
||||
.highlight .ss {
|
||||
color: #859900;
|
||||
}
|
||||
// .highlight pre { background-color: #20201d; }
|
||||
.highlight .hll { background-color: #272822; }
|
||||
.highlight .c { color: #75715e } /* Comment */
|
||||
.highlight .err { color: #960050; background-color: #1e0010 } /* Error */
|
||||
.highlight .k { color: #f92672 } /* Keyword */
|
||||
.highlight .l { color: #ae81ff } /* Literal */
|
||||
.highlight .n { color: #f8f8f2 } /* Name */
|
||||
.highlight .o { color: #f92672 } /* Operator */
|
||||
.highlight .p { color: #f8f8f2 } /* Punctuation */
|
||||
.highlight .cm { color: #75715e } /* Comment.Multiline */
|
||||
.highlight .cp { color: #75715e } /* Comment.Preproc */
|
||||
.highlight .c1 { color: #75715e } /* Comment.Single */
|
||||
.highlight .cs { color: #75715e } /* Comment.Special */
|
||||
.highlight .ge { font-style: italic } /* Generic.Emph */
|
||||
.highlight .gs { font-weight: bold } /* Generic.Strong */
|
||||
.highlight .kc { color: #66d9ef } /* Keyword.Constant */
|
||||
.highlight .kd { color: #66d9ef } /* Keyword.Declaration */
|
||||
.highlight .kn { color: #f92672 } /* Keyword.Namespace */
|
||||
.highlight .kp { color: #66d9ef } /* Keyword.Pseudo */
|
||||
.highlight .kr { color: #66d9ef } /* Keyword.Reserved */
|
||||
.highlight .kt { color: #66d9ef } /* Keyword.Type */
|
||||
.highlight .ld { color: #e6db74 } /* Literal.Date */
|
||||
.highlight .m { color: #ae81ff } /* Literal.Number */
|
||||
.highlight .s { color: #e6db74 } /* Literal.String */
|
||||
.highlight .na { color: #5AD4E6 } /* Name.Attribute */
|
||||
.highlight .nb { color: #f8f8f2 } /* Name.Builtin */
|
||||
.highlight .nc { color: #a6e22e } /* Name.Class */
|
||||
.highlight .no { color: #66d9ef } /* Name.Constant */
|
||||
.highlight .nd { color: #a6e22e } /* Name.Decorator */
|
||||
.highlight .ni { color: #f8f8f2 } /* Name.Entity */
|
||||
.highlight .ne { color: #a6e22e } /* Name.Exception */
|
||||
.highlight .nf { color: #a6e22e } /* Name.Function */
|
||||
.highlight .nl { color: #f8f8f2 } /* Name.Label */
|
||||
.highlight .nn { color: #f8f8f2 } /* Name.Namespace */
|
||||
.highlight .nx { color: #a6e22e } /* Name.Other */
|
||||
.highlight .py { color: #f8f8f2 } /* Name.Property */
|
||||
.highlight .nt { color: #f92672 } /* Name.Tag */
|
||||
.highlight .nv { color: #f8f8f2 } /* Name.Variable */
|
||||
.highlight .ow { color: #f92672 } /* Operator.Word */
|
||||
.highlight .w { color: #f8f8f2 } /* Text.Whitespace */
|
||||
.highlight .mf { color: #ae81ff } /* Literal.Number.Float */
|
||||
.highlight .mh { color: #ae81ff } /* Literal.Number.Hex */
|
||||
.highlight .mi { color: #ae81ff } /* Literal.Number.Integer */
|
||||
.highlight .mo { color: #ae81ff } /* Literal.Number.Oct */
|
||||
.highlight .sb { color: #e6db74 } /* Literal.String.Backtick */
|
||||
.highlight .sc { color: #e6db74 } /* Literal.String.Char */
|
||||
.highlight .sd { color: #e6db74 } /* Literal.String.Doc */
|
||||
.highlight .s2 { color: #e6db74 } /* Literal.String.Double */
|
||||
.highlight .se { color: #ae81ff } /* Literal.String.Escape */
|
||||
.highlight .sh { color: #e6db74 } /* Literal.String.Heredoc */
|
||||
.highlight .si { color: #e6db74 } /* Literal.String.Interpol */
|
||||
.highlight .sx { color: #e6db74 } /* Literal.String.Other */
|
||||
.highlight .sr { color: #e6db74 } /* Literal.String.Regex */
|
||||
.highlight .s1 { color: #e6db74 } /* Literal.String.Single */
|
||||
.highlight .ss { color: #e6db74 } /* Literal.String.Symbol */
|
||||
.highlight .bp { color: #f8f8f2 } /* Name.Builtin.Pseudo */
|
||||
.highlight .vc { color: #f8f8f2 } /* Name.Variable.Class */
|
||||
.highlight .vg { color: #f8f8f2 } /* Name.Variable.Global */
|
||||
.highlight .vi { color: #f8f8f2 } /* Name.Variable.Instance */
|
||||
.highlight .il { color: #ae81ff } /* Literal.Number.Integer.Long */
|
||||
|
||||
.highlight .gh { } /* Generic Heading & Diff Header */
|
||||
.highlight .gu { color: #75715e; } /* Generic.Subheading & Diff Unified/Comment? */
|
||||
.highlight .gd { color: #f92672; } /* Generic.Deleted & Diff Deleted */
|
||||
.highlight .gi { color: #a6e22e; } /* Generic.Inserted & Diff Inserted */
|
||||
Reference in New Issue
Block a user