From: Troels Knak-Nielsen Date: Thu, 27 Jan 2011 13:08:03 +0000 (+0100) Subject: syntax highlight support X-Git-Tag: gitweb-1.7.12~11^2~1 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fgitweb-theme;a=commitdiff_plain;h=64449756887c3675d8d93c8d8768b0867574efc9 syntax highlight support --- diff --git a/gitweb.css b/gitweb.css index 9f48e39..7e9cbe0 100755 --- a/gitweb.css +++ b/gitweb.css @@ -4,11 +4,11 @@ /* Based on http://meyerweb.com/eric/tools/css/reset/ */ /* v1.0 | 20080212 */ -html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, -blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, -font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, -u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, -caption, tbody, tfoot, thead, tr, th, td { +html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, +blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, +font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, +u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, +caption, tbody, tfoot, thead, tr, th, td { margin: 0; padding: 0; border: 0; @@ -17,17 +17,17 @@ caption, tbody, tfoot, thead, tr, th, td { vertical-align: baseline; background: transparent; } - + ol, ul { list-style: none; } blockquote, q { quotes: none; } -blockquote:before, blockquote:after, +blockquote:before, blockquote:after, q:before, q:after { - content: ''; + content: ''; content: none; } - + :focus { outline: 0; } ins { text-decoration: none; } @@ -152,7 +152,7 @@ a.rss_logo { a.rss_logo:hover { background-color: #ee5500; -} +} /* Elements ---------------------------------------------------------------------------- */ @@ -242,6 +242,7 @@ th .header { .title { width: 95%; padding: 5px; + margin: 0 auto 15px auto; } .projects_list, @@ -433,4 +434,28 @@ span.match { td.error { color: red; background: yellow; -} \ No newline at end of file +} + +/* blob view */ + +td.pre, div.pre, div.diff { + white-space: pre; +} + +/* Style definition generated by highlight 2.4.5, http://www.andre-simon.de/ */ + +/* Highlighting theme definition: */ + +.num { color:#6ecf36; } +.esc { color:#ff00ff; } +.str { color:#ff00d3; background-color: #edc9ec } +.dstr { color:#818100; } +.slc { color:#838183; font-style:italic; } +.com { color:#838183; font-style:italic; } +.dir { color:#008200; } +.sym { color:#000000; } +.line { color:#555555; } +.kwa { color:#666666; font-weight:bold; } +.kwb { color:#6b3099; } +.kwc { color:#d4663d; } +.kwd { color:#2928ff; }