Skip to content

Instantly share code, notes, and snippets.

@haydenbleasel
Last active December 26, 2022 19:14
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save haydenbleasel/d289b8b5fd743fb22fa7 to your computer and use it in GitHub Desktop.
Save haydenbleasel/d289b8b5fd743fb22fa7 to your computer and use it in GitHub Desktop.
A collection of GitHub Gist styles and themes.
.gist {
.gist-file {
border: none !important;
margin-bottom: 0 !important;
.gist-data {
border-bottom: 2px solid #7f8c8d !important;
.line-numbers {
border-right: 2px solid #7f8c8d !important;
padding: 1em !important;
}
td.line-data {
padding: 1em !important;
}
.gist-data span, pre, .line-numbers {
font-size: 14px !important;
line-height: 24px !important;
font-weight: normal !important;
color: #7f8c8d !important;
}
}
.gist-meta {
text-shadow: none !important;
a {
color: #7f8c8d !important;
}
}
.gist-syntax {
background: #fff;
color: #ecf0f1 !important;
.hll {
background-color: #bdc3c7 !important;
}
.c, .cm, .cp, .c1, .cs {
color: #7f8c8d !important;
}
.err {
color: #c0392b;
background-color: #7f8c8d !important;
}
.k, .kc, .kd, .kp, .kr, .kt, .no {
color: #3498db !important;
}
.l, .m, .mf, .mh, .mi, .mo, .se, .il {
color: #9b59b6 !important;
}
.n, .p, .nb, .ni, .nl, .nn, .py, .nv, .w, .bp, .vc, .vg, .vi {
color: #bdc3c7 !important;
}
.o, .kn, .nt, .ow {
color: #e74c3c !important;
}
.ge {
font-style: italic !important;
}
.gs {
font-weight: bold !important;
}
.ld, .s, .sb, .sc, .sd, .s2, .sh, .si, .sx, .sr, .s1, .ss {
color: #f1c40f !important;
}
.na, .nc, .nd, .ne, .nf, .nx {
color: #2ecc71 !important;
}
}
.gist-data, .line-numbers, .gist-meta {
background: #2c3e50 !important;
}
}
}
.gist {
.gist-file {
border: none !important;
margin-bottom: 0 !important;
.gist-data {
border-bottom: 2px solid #95a5a6 !important;
.line-numbers {
border-right: 2px solid #95a5a6 !important;
padding: 1em !important;
}
td.line-data {
padding: 1em !important;
}
.gist-data span, pre, .line-numbers {
font-size: 14px !important;
line-height: 24px !important;
font-weight: normal !important;
color: #95a5a6 !important;
}
}
.gist-meta {
text-shadow: none !important;
a {
color: #95a5a6 !important;
}
}
.gist-syntax {
background: #fff;
color: #2c3e50 !important;
.hll {
background-color: #34495e !important;
}
.c, .cm, .cp, .c1, .cs {
color: #95a5a6 !important;
}
.err {
color: #e74c3c;
background-color: #95a5a6 !important;
}
.k, .kc, .kd, .kp, .kr, .kt, .no {
color: #2980b9 !important;
}
.l, .m, .mf, .mh, .mi, .mo, .se, .il {
color: #8e44ad !important;
}
.n, .p, .nb, .ni, .nl, .nn, .py, .nv, .w, .bp, .vc, .vg, .vi {
color: #2c3e50 !important;
}
.o, .kn, .nt, .ow {
color: #c0392b !important;
}
.ge {
font-style: italic !important;
}
.gs {
font-weight: bold !important;
}
.ld, .s, .sb, .sc, .sd, .s2, .sh, .si, .sx, .sr, .s1, .ss {
color: #f39c12 !important;
}
.na, .nc, .nd, .ne, .nf, .nx {
color: #27ae60 !important;
}
}
.gist-data, .line-numbers, .gist-meta {
background: #ecf0f1 !important;
}
}
}
.gist {
.gist-file {
background: #f2f3f4 !important;
border-radius: 8px !important;
border: 1px solid #ddd !important;
margin-bottom: 0 !important;
.gist-data {
background: transparent !important;
border-bottom: none !important;
td.line-data {
padding: 20px !important;
}
}
}
.line-numbers, .gist-meta {
display: none !important;
}
.gist-data span, pre {
font-size: 14px !important;
line-height: 24px !important;
font-weight: normal !important;
color: #777 !important;
}
}
.gist {
.gist-file {
border-radius: 8px !important;
border: 1px solid #ddd !important;
margin-bottom: 0 !important;
.gist-data {
background: transparent !important;
border-bottom: none !important;
td.line-data {
padding: 20px !important;
}
}
}
.line-numbers, .gist-meta {
display: none !important;
}
.gist-data span, pre {
font-size: 14px !important;
line-height: 24px !important;
font-weight: normal !important;
color: #777 !important;
}
}
.gist {
.gist-file {
border: none !important;
margin-bottom: 0 !important;
.gist-data {
border-bottom: 1px solid #444 !important;
.line-numbers {
border-right: 1px solid #444 !important;
padding: 1em !important;
}
td.line-data {
padding: 1em !important;
}
.gist-data span, pre, .line-numbers {
font-size: 14px !important;
line-height: 24px !important;
font-weight: normal !important;
color: #777 !important;
}
}
.gist-meta {
text-shadow: none !important;
a {
color: #f5f5f5 !important;
}
}
.gist-syntax {
background: #272822;
color: #f8f8f2 !important;
pre { background: transparent; color: #f8f8f2 !important; }
.hll { background-color: #49483e !important; }
.c { color: #75715e !important; } /* Comment */
.err { color: #960050; background-color: #1e0010 !important; } /* Error */
.k { color: #66d9ef !important; } /* Keyword */
.l { color: #ae81ff !important; } /* Literal */
.n { color: #f8f8f2 !important; } /* Name */
.o { color: #f92672 !important; } /* Operator */
.p { color: #f8f8f2 !important; } /* Punctuation */
.cm { color: #75715e !important; } /* Comment.Multiline */
.cp { color: #75715e !important; } /* Comment.Preproc */
.c1 { color: #75715e !important; } /* Comment.Single */
.cs { color: #75715e !important; } /* Comment.Special */
.ge { font-style: italic !important; } /* Generic.Emph */
.gs { font-weight: bold !important; } /* Generic.Strong */
.kc { color: #66d9ef !important; } /* Keyword.Constant */
.kd { color: #66d9ef !important; } /* Keyword.Declaration */
.kn { color: #f92672 !important; } /* Keyword.Namespace */
.kp { color: #66d9ef !important; } /* Keyword.Pseudo */
.kr { color: #66d9ef !important; } /* Keyword.Reserved */
.kt { color: #66d9ef !important; } /* Keyword.Type */
.ld { color: #e6db74 !important; } /* Literal.Date */
.m { color: #ae81ff !important; } /* Literal.Number */
.s { color: #e6db74 !important; } /* Literal.String */
.na { color: #a6e22e !important; } /* Name.Attribute */
.nb { color: #f8f8f2 !important; } /* Name.Builtin */
.nc { color: #a6e22e !important; } /* Name.Class */
.no { color: #66d9ef !important; } /* Name.Constant */
.nd { color: #a6e22e !important; } /* Name.Decorator */
.ni { color: #f8f8f2 !important; } /* Name.Entity */
.ne { color: #a6e22e !important; } /* Name.Exception */
.nf { color: #a6e22e !important; } /* Name.Function */
.nl { color: #f8f8f2 !important; } /* Name.Label */
.nn { color: #f8f8f2 !important; } /* Name.Namespace */
.nx { color: #a6e22e !important; } /* Name.Other */
.py { color: #f8f8f2 !important; } /* Name.Property */
.nt { color: #f92672 !important; } /* Name.Tag */
.nv { color: #f8f8f2 !important; } /* Name.Variable */
.ow { color: #f92672 !important; } /* Operator.Word */
.w { color: #f8f8f2 !important; } /* Text.Whitespace */
.mf { color: #ae81ff !important; } /* Literal.Number.Float */
.mh { color: #ae81ff !important; } /* Literal.Number.Hex */
.mi { color: #ae81ff !important; } /* Literal.Number.Integer */
.mo { color: #ae81ff !important; } /* Literal.Number.Oct */
.sb { color: #e6db74 !important; } /* Literal.String.Backtick */
.sc { color: #e6db74 !important; } /* Literal.String.Char */
.sd { color: #e6db74 !important; } /* Literal.String.Doc */
.s2 { color: #e6db74 !important; } /* Literal.String.Double */
.se { color: #ae81ff !important; } /* Literal.String.Escape */
.sh { color: #e6db74 !important; } /* Literal.String.Heredoc */
.si { color: #e6db74 !important; } /* Literal.String.Interpol */
.sx { color: #e6db74 !important; } /* Literal.String.Other */
.sr { color: #e6db74 !important; } /* Literal.String.Regex */
.s1 { color: #e6db74 !important; } /* Literal.String.Single */
.ss { color: #e6db74 !important; } /* Literal.String.Symbol */
.bp { color: #f8f8f2 !important; } /* Name.Builtin.Pseudo */
.vc { color: #f8f8f2 !important; } /* Name.Variable.Class */
.vg { color: #f8f8f2 !important; } /* Name.Variable.Global */
.vi { color: #f8f8f2 !important; } /* Name.Variable.Instance */
.il { color: #ae81ff !important; } /* Literal.Number.Integer.Long */
}
.gist-data, .line-numbers, .gist-meta {
background: #272822 !important;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment