Skip to content

Instantly share code, notes, and snippets.

@kares
Created August 30, 2009 11:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kares/177940 to your computer and use it in GitHub Desktop.
Save kares/177940 to your computer and use it in GitHub Desktop.
a twilight theme for gists
.gist {
color: /* #000 */ #9B703F;
}
.gist div {
padding: 0;
margin: 0;
}
.gist .gist-file {
border: 1px solid #dedede; /* gray */
font-family: Monaco, "Courier New", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", monospace;
/* margin-bottom: 1em; */
}
.gist .gist-file .gist-meta {
overflow: hidden;
font-size: 85%;
padding: .5em;
color: /* #666; */ #CCCCCC;
background-color: /* #eaeaea; */ #000000;
}
.gist .gist-file .gist-meta a {
color: /* #369; */ #F57700;
}
.gist .gist-file .gist-meta a:visited {
color: /* #737; */ #F57700;
}
.gist .gist-file .gist-data {
overflow: auto;
background-color: /* #f8f8ff; */ #141414;
border-bottom: 1px solid #ddd;
font-size: 100%;
}
.gist .gist-file .gist-data pre {
font-family: 'Bitstream Vera Sans Mono', 'Courier', monospace;
background: transparent !important;
margin: 0 !important;
border: none !important;
padding: .25em .5em .5em .5em !important;
}
.gist .gist-file .gist-data .gist-highlight {
background: transparent !important;
}
/* ADDED CSS */
.gist .gist-file .gist-data .gist-highlight .line {
white-space: nowrap;
}
.gist .gist-file .gist-data .gist-line-numbers {
background-color: #ececec;
color: #aaa;
border-right: 1px solid #ddd;
text-align: right;
}
.gist .gist-file .gist-data .gist-line-numbers span {
clear: right;
display: block;
}
.gist-syntax { background: #ffffff; }
.gist-syntax .c { color: #999988; font-style: italic } /* Comment */
.gist-syntax .err { color: #a61717; background-color: #e3d2d2 } /* Error */
.gist-syntax .k { color: /* #000000; */ #CDA869; font-weight: bold } /* Keyword */
.gist-syntax .o { color: /* #000000; */ #F8F8F8; font-weight: bold } /* Operator */
.gist-syntax .cm { color: #999988; font-style: italic } /* Comment.Multiline */
.gist-syntax .cp { color: #999999; font-weight: bold } /* Comment.Preproc */
.gist-syntax .c1 { color: #999988; font-style: italic } /* Comment.Single */
.gist-syntax .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
.gist-syntax .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
.gist-syntax .gd .x { color: #000000; background-color: #ffaaaa } /* Generic.Deleted.Specific */
.gist-syntax .ge { color: #000000; font-style: italic } /* Generic.Emph */
.gist-syntax .gr { color: #aa0000 } /* Generic.Error */
.gist-syntax .gh { color: #999999 } /* Generic.Heading */
.gist-syntax .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
.gist-syntax .gi .x { color: #000000; background-color: #aaffaa } /* Generic.Inserted.Specific */
.gist-syntax .go { color: #888888 } /* Generic.Output */
.gist-syntax .gp { color: #555555 } /* Generic.Prompt */
.gist-syntax .gs { font-weight: bold } /* Generic.Strong */
.gist-syntax .gu { color: #aaaaaa } /* Generic.Subheading */
.gist-syntax .gt { color: #aa0000 } /* Generic.Traceback */
.gist-syntax .kc { color: /* #000000; */ #CF6A4C; font-weight: bold } /* Keyword.Constant */
.gist-syntax .kd { color: /* #000000; */ #CF6A4C; font-weight: bold } /* Keyword.Declaration */
.gist-syntax .kp { color: /* #000000; */ #CF6A4C; font-weight: bold } /* Keyword.Pseudo */
.gist-syntax .kr { color: /* #000000; */ #CF6A4C; font-weight: bold } /* Keyword.Reserved */
.gist-syntax .kt { color: #445588; font-weight: bold } /* Keyword.Type */
.gist-syntax .m { color: #009999 } /* Literal.Number */
.gist-syntax .s { color: /* #d14 */ #8F9D6A; } /* Literal.String */
.gist-syntax .na { color: #008080 } /* Name.Attribute */
.gist-syntax .nb { color: /*#0086B3; */ #7587A6; } /* Name.Builtin */
.gist-syntax .nc { color: #445588; font-weight: bold } /* Name.Class */
.gist-syntax .no { color: /* #008080; */ #9B859D; } /* Name.Constant */
.gist-syntax .ni { color: #800080 } /* Name.Entity */
.gist-syntax .ne { color: /* #990000; */ #9B703F; font-weight: bold } /* Name.Exception */
.gist-syntax .nf { color: /* #990000; */ #9B703F; font-weight: bold } /* Name.Function */
.gist-syntax .nn { color: /* #555555; */ #9B703F; } /* Name.Namespace */
.gist-syntax .nt { color: /* #000080; */ #CDA869; } /* Name.Tag */
.gist-syntax .nv { color: /* #000080; */ #CDA869; } /* Name.Variable */
.gist-syntax .ow { color: #000000; font-weight: bold } /* Operator.Word */
.gist-syntax .w { color: #bbbbbb } /* Text.Whitespace */
.gist-syntax .mf { color: #009999 } /* Literal.Number.Float */
.gist-syntax .mh { color: #009999 } /* Literal.Number.Hex */
.gist-syntax .mi { color: #009999 } /* Literal.Number.Integer */
.gist-syntax .mo { color: #009999 } /* Literal.Number.Oct */
.gist-syntax .sb { color: /* #d14 */ #8F9D6A; } /* Literal.String.Backtick */
.gist-syntax .sc { color: /* #d14 */ #8F9D6A; } /* Literal.String.Char */
.gist-syntax .sd { color: /* #d14 */ #8F9D6A; } /* Literal.String.Doc */
.gist-syntax .s2 { color: /* #d14 */ #8F9D6A; } /* Literal.String.Double */
.gist-syntax .se { color: /* #d14 */ #8F9D6A; } /* Literal.String.Escape */
.gist-syntax .sh { color: /* #d14 */ #8F9D6A; } /* Literal.String.Heredoc */
.gist-syntax .si { color: /* #d14 */ #8F9D6A; } /* Literal.String.Interpol */
.gist-syntax .sx { color: /* #d14 */ #8F9D6A; } /* Literal.String.Other */
.gist-syntax .sr { color: #009926 } /* Literal.String.Regex */
.gist-syntax .s1 { color: /* #d14 */ #8F9D6A; } /* Literal.String.Single */
.gist-syntax .ss { color: /* #990073; */ #CF6A4C; } /* Literal.String.Symbol */
.gist-syntax .bp { color: #999999 } /* Name.Builtin.Pseudo */
.gist-syntax .vc { color: #008080 } /* Name.Variable.Class */
.gist-syntax .vg { color: #008080 } /* Name.Variable.Global */
.gist-syntax .vi { color: #008080 } /* Name.Variable.Instance */
.gist-syntax .il { color: #009999 } /* Literal.Number.Integer.Long */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment