Skip to content

Instantly share code, notes, and snippets.

@v3l0c1r4pt0r
Created February 19, 2018 18:02
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 v3l0c1r4pt0r/cfbb0117504c59ad0008be0d63f6e86d to your computer and use it in GitHub Desktop.
Save v3l0c1r4pt0r/cfbb0117504c59ad0008be0d63f6e86d to your computer and use it in GitHub Desktop.
CSS stylesheet for including with :TOhtml output
/** vim2html.css
* This file consists of full CSS needed to color every default highlighting
* group of Vim syntax on :TOhtml command output
*/
.Operator { color: #ff6060; }
/*.Ignore { color: #000000; }*/
.Error { color: #ffffff; background-color: #ff6060; padding-bottom: 1px; }
.Underlined { color: #5fd7ff; text-decoration: underline; }
.Type { color: #87ffaf; }
.Todo { color: #000000; background-color: #ffff00; padding-bottom: 1px; }
.Special { color: #c000c0; }
.PreProc { color: #5fd7ff; }
.Identifier { color: #00ffff; font-weight: bold; }
.Statement { color: #ffff00; }
.Comment { color: #008080; }
.Constant { color: #ff40ff; }
.Function { color: #ffffff; }
.Repeat { color: #ffffff; }
.LineNr { color: #ffff00; }
.Operator::selection,
/*.Ignore::selection,*/
.Error::selection,
.Underlined::selection,
.Type::selection,
.Todo::selection,
.Special::selection,
.PreProc::selection,
.Identifier::selection,
.Statement::selection,
.Comment::selection,
.Constant::selection,
.Function::selection,
.Repeat ::selection,
.LineNr::selection
{
color:#222;
}
.Operator::-moz-selection,
/*.Ignore::-moz-selection,*/
.Error::-moz-selection,
.Underlined::-moz-selection,
.Type::-moz-selection,
.Todo::-moz-selection,
.Special::-moz-selection,
.PreProc::-moz-selection,
.Identifier::-moz-selection,
.Statement::-moz-selection,
.Comment::-moz-selection,
.Constant::-moz-selection,
.Function::-moz-selection,
.Repeat ::-moz-selection,
.LineNr::-moz-selection
{
color:#222;
}
.Operator::selection { background-color: #ff6060; }
/*.Ignore::selection { background-color: #000000; }*/
.Error::selection { background-color: #ffffff; color: #ff6060; padding-bottom: 1px; }
.Underlined::selection { background-color: #5fd7ff; text-decoration: underline; }
.Type::selection { background-color: #87ffaf; }
.Todo::selection { background-color: #000000; color: #ffff00; padding-bottom: 1px; }
.Special::selection { background-color: #c000c0; }
.PreProc::selection { background-color: #5fd7ff; }
.Identifier::selection { background-color: #00ffff; font-weight: bold; }
.Statement::selection { background-color: #ffff00; }
.Comment::selection { background-color: #008080; }
.Constant::selection { background-color: #ff40ff; }
.Function::selection { background-color: #ffffff; }
.Repeat::selection { background-color: #ffffff; }
.LineNr::selection { background-color: #ffff00; }
.Operator::-moz-selection { background-color: #ff6060; }
/*.Ignore::-moz-selection { background-color: #000000; }*/
.Error::-moz-selection { background-color: #ffffff; color: #ff6060; padding-bottom: 1px; }
.Underlined::-moz-selection { background-color: #5fd7ff; text-decoration: underline; }
.Type::-moz-selection { background-color: #87ffaf; }
.Todo::-moz-selection { background-color: #000000; color: #ffff00; padding-bottom: 1px; }
.Special::-moz-selection { background-color: #c000c0; }
.PreProc::-moz-selection { background-color: #5fd7ff; }
.Identifier::-moz-selection { background-color: #00ffff; font-weight: bold; }
.Statement::-moz-selection { background-color: #ffff00; }
.Comment::-moz-selection { background-color: #008080; }
.Constant::-moz-selection { background-color: #ff40ff; }
.Function::-moz-selection { background-color: #ffffff; }
.Repeat::-moz-selection { background-color: #ffffff; }
.LineNr::-moz-selection { background-color: #ffff00; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment