syntax highlight support
[m6w6/gitweb-theme] / gitweb.css
index e906c87c6957aff00ef7842fbacfb3e5b8683d49..7e9cbe0bc9ef32cdb0229fcf293206fa5689d5e4 100755 (executable)
@@ -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; }
@@ -45,7 +45,7 @@ a { outline: none; }
 ---------------------------------------------------------------------------- */
 
 body {
-    font-family: Helvetica,Arial,Freesans,Clean,sans-serif;
+    font-family: "Monaco", "Courier New", monospace;
     font-size: 12px;
     margin: 0;
     background-color: #fff;
@@ -81,9 +81,9 @@ td, th {
     line-height: 50px;
     position: relative;
     padding: 0 27px;
-    margin-bottom: 30px;
+    margin-bottom: 20px;
     font-size: 20px;
-    font-family: Helvetica,Arial,Freesans,Clean,sans-serif;
+    font-family: Helvetica, Arial, Freesans, Clean, sans-serif;
     background: #FFFFFF; /* old browsers */
     background: -moz-linear-gradient(top, #FFFFFF 0%, #F5F5F5 100%); /* firefox */
     background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#FFFFFF), color-stop(100%,#F5F5F5)); /* webkit */
@@ -109,9 +109,6 @@ td, th {
 }
 
 .page_header img.logo {
-    float: right;
-    padding: 1.5em 1.0em;
-    border: 0;
     display: none;
 }
 
@@ -129,10 +126,6 @@ td, th {
     border-bottom: 1px solid #ddd;
 }
 
-.page_footer a {
-    padding-top: 5em;
-}
-
 .page_footer_text {
     color: #666;
     display: inline;
@@ -141,7 +134,7 @@ td, th {
 
 a.rss_logo {
     float: right;
-    padding: 3px;
+    padding: 3px 1px;
     width: 35px;
     line-height: 10px;
     border: 1px solid;
@@ -150,16 +143,16 @@ a.rss_logo {
     background-color: #ff6600;
     font-weight: bold;
     font-family: sans-serif;
-    font-size: 70%;
+    font-size: 80%;
     text-align: center;
     text-decoration: none;
-    margin-top: 33px;
+    margin-top: 30px;
     margin-left: 5px;
 }
 
 a.rss_logo:hover {
     background-color: #ee5500;
-}  
+}
 
 /* Elements
 ---------------------------------------------------------------------------- */
@@ -167,8 +160,8 @@ a.rss_logo:hover {
 .project_list,
 .shortlog,
 .tree,
-.commit_search {
-    font-family: "Monaco", "Courier New", monospace;
+.commit_search,
+.history {
     width: 95%;
     margin: 0 auto 15px auto;
     border: 1px solid #d8d8d8;
@@ -198,7 +191,9 @@ a.rss_logo:hover {
 .project_list tr.dark, .project_list tr.light,
 .shortlog tr.dark, .shortlog tr.light,
 .tree tr.dark, .tree tr.light,
-.commit_search tr.dark, .commit_search tr.light {
+.commit_search tr.dark, .commit_search tr.light,
+.history tr.dark, .history tr.light,
+.heads tr.dark, .heads tr.light {
     background: #F9F9F9; /* old browsers */
     background: -moz-linear-gradient(top, #F9F9F9 0%, #EFEFEF 100%); /* firefox */
     background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#F9F9F9), color-stop(100%,#EFEFEF)); /* webkit */
@@ -218,30 +213,39 @@ th .header {
     margin: 0;
 }
 
+.projsearch {
+    position: absolute;
+    right: 4%;
+    top: 15px;
+}
+
 .commit_search {
     background: #eaeaea;
 }
 
 .page_nav,
-.history,
 .list_head,
 .page_path,
 .search {
     width: 94%;
-    background: #f0f0f0;
+    background: #eaeaea;
     color: #545454;
     border: 1px solid #d8d8d8;
     padding: 5px;
     margin: 0 auto 15px auto;
 }
 
+.history {
+    background: #eaeaea;
+}
+
 .title {
     width: 95%;
     padding: 5px;
+    margin: 0 auto 15px auto;
 }
 
 .projects_list,
-.heads,
 .tags {
     width: 95%;
     background: #f0f0f0;
@@ -251,8 +255,15 @@ th .header {
     margin: 0 auto 15px auto;
 }
 
+.heads {
+    width: 95%;
+    color: #545454;
+    border: 1px solid #d8d8d8;
+    padding: 5px;
+    margin: 0 auto 15px auto;
+}
+
 .header {
-    font-family: "Monaco", "Courier New", monospace;
     width: 94%;
     margin: 0 auto 15px auto;
     background: #eaf2f5;
@@ -268,7 +279,6 @@ th .header {
 }
 
 .title_text {
-    font-family: "Monaco", "Courier New", monospace;
     width: 94%;
     background: #eaf2f5;
     border: 1px solid #bedce7;
@@ -277,7 +287,6 @@ th .header {
 }
 
 .log_body {
-    font-family: "Monaco", "Courier New", monospace;
     width: 94%;
     background: #eaf2f5;
     border: 1px solid #bedce7;
@@ -303,14 +312,6 @@ th .header {
     margin: 0 auto 15px auto;
 }
 
-.author_date {
-    width: 94%;
-    background: #f0f0f0;
-    border: 1px solid #d8d8d8;
-    padding: 5px;
-    margin: 0 auto 15px auto;
-}
-
 .page_body > .list_head {
     width: 98.5%;
 }
@@ -351,11 +352,14 @@ span.refs span.head {
     border-color: #ccffcc #00cc33 #00cc33 #ccffcc;
 }
 
+span.refs a {
+    color: #000;
+}
+
 /* Diffs
 ---------------------------------------------------------------------------- */
 
 .patchset {
-    font-family: "Monaco", "Courier New", monospace;
     overflow: auto;
 }
 
@@ -430,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; }