Skip to content

Instantly share code, notes, and snippets.

@kopiro
Created August 27, 2011 18:13
Show Gist options
  • Save kopiro/1175692 to your computer and use it in GitHub Desktop.
Save kopiro/1175692 to your computer and use it in GitHub Desktop.
Get the Coda i-syntax-coloring in GIST snippets
.gist {
color: #fff !important;
background: #fff !important;
padding: 3px !important;
border: 1px solid #888 !important;
overflow: auto !important;
}
.gist .gist-file {
border: none !important;
margin-bottom: 0 !important;
background: #222 !important;
padding: 4px !important;
}
.gist .gist-file .gist-meta {
display: none !important;
}
.gist .gist-file .gist-data {
background: inherit !important;
border-bottom: none !important;
}
.gist .gist-file .gist-data pre {
font-family: "Monaco", "Courier New", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", monospace !important;
background: transparent !important;
margin: 0 !important;
border: none !important;
padding: 0 !important;
}
.gist .gist-file .gist-data .gist-highlight {
background: transparent !important;
}
.gist pre .line {
font-size: 12px !important;
line-height: 1.3 !important;
}
.gist-syntax { background: transparent !important; }
.gist-syntax .c { color: #91dc93 !important; font-style: italic } /* Comment */
.gist-syntax .err { color: #a61717 !important; background: transparent !important; } /* Error */
.gist-syntax .k { color: #ec77b4 !important; font-weight: bold } /* Keyword */
.gist-syntax .o { color: #fff !important; font-weight: bold } /* Operator */
.gist-syntax .cm { color: #91dc93 !important; font-style: italic } /* Comment.Multiline */
.gist-syntax .cp { color: #f00 !important; font-weight: bold } /* Comment.Preproc */
.gist-syntax .c1 { color: #91dc93 !important; font-style: italic } /* Comment.Single */
.gist-syntax .cs { color: #91dc93 !important; font-weight: bold; font-style: italic } /* Comment.Special */
.gist-syntax .gd { color: #ccc !important; background-color: #ffdddd } /* Generic.Deleted */
.gist-syntax .gd .x { color: #ccc !important; background-color: #ffaaaa } /* Generic.Deleted.Specific */
.gist-syntax .ge { color: #fff !important; font-style: italic } /* Generic.Emph */
.gist-syntax .gr { color: #f00 } /* Generic.Error */
.gist-syntax .gh { color: #999999 } /* Generic.Heading */
.gist-syntax .gi { color: #fff !important; background-color: #ddffdd } /* Generic.Inserted */
.gist-syntax .gi .x { color: #fff !important; 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: #ec77b4 !important; font-weight: bold } /* Keyword.Constant */
.gist-syntax .kd { color: #ec77b4 !important; font-weight: bold } /* Keyword.Declaration */
.gist-syntax .kp { color: #ec77b4 !important; font-weight: bold } /* Keyword.Pseudo */
.gist-syntax .kr { color: #ec77b4 !important; 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: #ff8714 !important; } /* Literal.String */
.gist-syntax .na { color: #a256e5 !important; } /* Name.Attribute */
.gist-syntax .nb { color: #a256e5 !important; } /* Name.Builtin */
.gist-syntax .nc { color: #445588; font-weight: bold } /* Name.Class */
.gist-syntax .no { color: #008080 } /* Name.Constant */
.gist-syntax .ni { color: #800080 } /* Name.Entity */
.gist-syntax .ne { color: #990000; font-weight: bold } /* Name.Exception */
.gist-syntax .nf { color: #990000; font-weight: bold } /* Name.Function */
.gist-syntax .nn { color: #555555 } /* Name.Namespace */
.gist-syntax .nt { color: #ed77e5 !important; } /* Name.Tag */
.gist-syntax .nv { color: #ffd67d !important; } /* Name.Variable */
.gist-syntax .ow { color: #fff !important; font-weight: bold } /* Operator.Word */
.gist-syntax .w { color: #bbbbbb } /* Text.Whitespace */
.gist-syntax .mf { color: #0000ff !important; } /* Literal.Number.Float */
.gist-syntax .mh { color: #0000ff !important; } /* Literal.Number.Hex */
.gist-syntax .mi { color: #0000ff !important; } /* Literal.Number.Integer */
.gist-syntax .mo { color: #0000ff !important; } /* Literal.Number.Oct */
.gist-syntax .sb { color: #ff8714 !important; } /* Literal.String.Backtick */
.gist-syntax .sc { color: #ff8714 !important; } /* Literal.String.Char */
.gist-syntax .sd { color: #ff8714 !important; } /* Literal.String.Doc */
.gist-syntax .s2 { color: #ff8714 !important; } /* Literal.String.Double */
.gist-syntax .se { color: #ff8714 !important; } /* Literal.String.Escape */
.gist-syntax .sh { color: #ff8714 !important; } /* Literal.String.Heredoc */
.gist-syntax .si { color: #ff8714 !important; } /* Literal.String.Interpol */
.gist-syntax .sx { color: #ff8714 !important; } /* Literal.String.Other */
.gist-syntax .sr { color: #ff8714 !important; } /* Literal.String.Regex */
.gist-syntax .s1 { color: #ff8714 !important; } /* Literal.String.Single */
.gist-syntax .ss { color: #990073 } /* 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 */
.gist-syntax .nx { color: #fff !important; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment