diff options
author | Alberto Bertogli <albertito@blitiri.com.ar> | 2012-09-16 12:17:56 +0200 |
---|---|---|
committer | Alberto Bertogli <albertito@blitiri.com.ar> | 2012-11-10 18:49:54 +0100 |
commit | 80ef0017d47f536bf2c8c6af4b514efa50071a23 (patch) | |
tree | db630a50bf30abca5a62cd206d8bc9abed61b4e0 /static | |
download | git-arr-fork-0.01.zip |
Initial commit0.01
Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>
Diffstat (limited to 'static')
-rw-r--r-- | static/git-arr.css | 168 | ||||
-rw-r--r-- | static/syntax.css | 70 |
2 files changed, 238 insertions, 0 deletions
diff --git a/static/git-arr.css b/static/git-arr.css new file mode 100644 index 0000000..2e28c69 --- /dev/null +++ b/static/git-arr.css @@ -0,0 +1,168 @@ + +/* + * git-arr style sheet + */ + +body { + font-family: sans-serif; + font-size: small; + padding: 0 1em 1em 1em; +} + +h1 { + font-size: x-large; + background: #ddd; + padding: 0.3em; +} + +h2, h3 { + border-bottom: 1px solid #ccc; + padding-bottom: 0.3em; + margin-bottom: 0.5em; +} + +hr { + border: none; + background-color: #e3e3e3; + height: 1px; +} + +/* By default, use implied links, more discrete for increased readability. */ +a { + text-decoration: none; + color: black; +} +a:hover { + text-decoration: underline; + color: #800; +} + +/* Explicit links */ +a.explicit { + color: #038; +} +a.explicit:hover, a.explicit:active { + color: #880000; +} + + +/* Normal table, for listing things like repositories, branches, etc. */ +table.nice { + text-align: left; + font-size: small; +} +table.nice td { + padding: 0.15em 0.5em; +} +table.nice td.links { + font-size: smaller; +} +table.nice td.main { + min-width: 10em; +} +table.nice tr:hover { + background: #eee; +} + +/* Table for commits. */ +table.commits td.date { + font-style: italic; + color: gray; +} +table.commits td.subject { + min-width: 32em; +} +table.commits td.author { + color: gray; +} + +/* Table for commit information. */ +table.commit-info tr:hover { + background: inherit; +} +table.commit-info td { + vertical-align: top; +} +table.commit-info span.date, span.email { + color: gray; +} + +/* Reference annotations. */ +span.refs { + margin: 0px 0.5em; + padding: 0px 0.25em; + border: solid 1px gray; +} +span.head { + background-color: #88ff88; +} +span.tag { + background-color: #ffff88; +} + +/* Commit message and diff. */ +pre.commit-message { + font-size: large; + padding: 0.2em 2em; +} +pre.diff-body { + /* Note this is only used as a fallback if pygments is not available. */ + font-size: medium; +} +table.changed-files span.lines-added { + color: green; +} +table.changed-files span.lines-deleted { + color: red; +} + +/* Pagination. */ +div.paginate { + padding-bottom: 1em; +} + +div.paginate span.inactive { + color: gray; +} + +/* Directory listing. */ +table.ls td.name { + min-width: 20em; +} +table.ls tr.blob td.size { + color: gray; +} + +/* Blob. */ +pre.blob-body { + /* Note this is only used as a fallback if pygments is not available. */ + font-size: medium; +} + +/* Pygments overrides. */ +div.linenodiv { + padding-right: 0.5em; + color: gray; + font-size: medium; +} +div.source_code { + background: inherit; + font-size: medium; +} + +/* Repository information table. */ +table.repo_info tr:hover { + background: inherit; +} +table.repo_info td.category { + font-weight: bold; +} +table.repo_info td { + vertical-align: top; +} + +span.ctrlchr { + color: gray; + padding: 0 0.2ex 0 0.1ex; + margin: 0 0.2ex 0 0.1ex; +} diff --git a/static/syntax.css b/static/syntax.css new file mode 100644 index 0000000..097e4d2 --- /dev/null +++ b/static/syntax.css @@ -0,0 +1,70 @@ + +/* CSS for syntax highlighting. + * Generated by pygments (what we use for syntax highlighting): + * + * $ pygmentize -S default -f html -a .source_code + */ + +.source_code .hll { background-color: #ffffcc } +.source_code { background: #f8f8f8; } +.source_code .c { color: #408080; font-style: italic } /* Comment */ +.source_code .err { border: 1px solid #FF0000 } /* Error */ +.source_code .k { color: #008000; font-weight: bold } /* Keyword */ +.source_code .o { color: #666666 } /* Operator */ +.source_code .cm { color: #408080; font-style: italic } /* Comment.Multiline */ +.source_code .cp { color: #BC7A00 } /* Comment.Preproc */ +.source_code .c1 { color: #408080; font-style: italic } /* Comment.Single */ +.source_code .cs { color: #408080; font-style: italic } /* Comment.Special */ +.source_code .gd { color: #A00000 } /* Generic.Deleted */ +.source_code .ge { font-style: italic } /* Generic.Emph */ +.source_code .gr { color: #FF0000 } /* Generic.Error */ +.source_code .gh { color: #000080; font-weight: bold } /* Generic.Heading */ +.source_code .gi { color: #00A000 } /* Generic.Inserted */ +.source_code .go { color: #808080 } /* Generic.Output */ +.source_code .gp { color: #000080; font-weight: bold } /* Generic.Prompt */ +.source_code .gs { font-weight: bold } /* Generic.Strong */ +.source_code .gu { color: #800080; font-weight: bold } /* Generic.Subheading */ +.source_code .gt { color: #0040D0 } /* Generic.Traceback */ +.source_code .kc { color: #008000; font-weight: bold } /* Keyword.Constant */ +.source_code .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */ +.source_code .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */ +.source_code .kp { color: #008000 } /* Keyword.Pseudo */ +.source_code .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */ +.source_code .kt { color: #B00040 } /* Keyword.Type */ +.source_code .m { color: #666666 } /* Literal.Number */ +.source_code .s { color: #BA2121 } /* Literal.String */ +.source_code .na { color: #7D9029 } /* Name.Attribute */ +.source_code .nb { color: #008000 } /* Name.Builtin */ +.source_code .nc { color: #0000FF; font-weight: bold } /* Name.Class */ +.source_code .no { color: #880000 } /* Name.Constant */ +.source_code .nd { color: #AA22FF } /* Name.Decorator */ +.source_code .ni { color: #999999; font-weight: bold } /* Name.Entity */ +.source_code .ne { color: #D2413A; font-weight: bold } /* Name.Exception */ +.source_code .nf { color: #0000FF } /* Name.Function */ +.source_code .nl { color: #A0A000 } /* Name.Label */ +.source_code .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */ +.source_code .nt { color: #008000; font-weight: bold } /* Name.Tag */ +.source_code .nv { color: #19177C } /* Name.Variable */ +.source_code .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */ +.source_code .w { color: #bbbbbb } /* Text.Whitespace */ +.source_code .mf { color: #666666 } /* Literal.Number.Float */ +.source_code .mh { color: #666666 } /* Literal.Number.Hex */ +.source_code .mi { color: #666666 } /* Literal.Number.Integer */ +.source_code .mo { color: #666666 } /* Literal.Number.Oct */ +.source_code .sb { color: #BA2121 } /* Literal.String.Backtick */ +.source_code .sc { color: #BA2121 } /* Literal.String.Char */ +.source_code .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */ +.source_code .s2 { color: #BA2121 } /* Literal.String.Double */ +.source_code .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */ +.source_code .sh { color: #BA2121 } /* Literal.String.Heredoc */ +.source_code .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */ +.source_code .sx { color: #008000 } /* Literal.String.Other */ +.source_code .sr { color: #BB6688 } /* Literal.String.Regex */ +.source_code .s1 { color: #BA2121 } /* Literal.String.Single */ +.source_code .ss { color: #19177C } /* Literal.String.Symbol */ +.source_code .bp { color: #008000 } /* Name.Builtin.Pseudo */ +.source_code .vc { color: #19177C } /* Name.Variable.Class */ +.source_code .vg { color: #19177C } /* Name.Variable.Global */ +.source_code .vi { color: #19177C } /* Name.Variable.Instance */ +.source_code .il { color: #666666 } /* Literal.Number.Integer.Long */ + |