Only in header no monospace fonts
[m6w6/gitweb-theme] / gitweb.css
index dfe4e5ef612682f7175581aa10fb20b52bbef35e..9f48e39f50ca3eae6d3af7865c01d7c47b5ab85a 100755 (executable)
@@ -46,7 +46,7 @@ a { outline: none; }
 
 body {
     font-family: "Monaco", "Courier New", monospace;
-    font-size: 75%;
+    font-size: 12px;
     margin: 0;
     background-color: #fff;
     color: #000000;
@@ -77,24 +77,31 @@ td, th {
 ---------------------------------------------------------------------------- */
 
 .page_header {
-    background: #cfcfcf url(img/page_header.png) repeat-x 0 0;
-    height: 40px;
-    line-height: 40px;
+    height: 50px;
+    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;
+    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 */
+    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FFFFFF', endColorstr='#F5F5F5',GradientType=0 ); /* ie */
+    border-bottom: 1px solid #dfdfdf;
 }
 
 .page_header a:link, .page_header a:visited {
-    color: #000;
-    background: #eee;
+    color: #4183C4;
     text-decoration: none;
     padding: 3px;
+    font-weight: bold;
 }
 
 .page_header a:hover {
-    background: #bbb;
+    font-weight: bold;
     padding: 3px;
+    text-decoration: underline;
 }
 
 .page_header a:first-child {
@@ -102,35 +109,32 @@ td, th {
 }
 
 .page_header img.logo {
-    float: right;
-    padding: 7px 1.0em;
-    border: 0;
+    display: none;
 }
 
 /* Page Footer
 ---------------------------------------------------------------------------- */
 
 .page_footer {
-    height: 115px;
-    line-height: 115px;
-    background: #4386ba url(img/page_footer.png) repeat-x 0 0;
+    height: 80px;
+    line-height: 80px;
     padding: 0 30px;
     margin-top: 15px;
-}
-
-.page_footer a {
-    padding-top: 5em;
+    margin-bottom: 30px;
+    background: #f1f1f1;
+    border-top: 2px solid #ddd;
+    border-bottom: 1px solid #ddd;
 }
 
 .page_footer_text {
-    color: #fff;
+    color: #666;
     display: inline;
     float: left;
 }
 
 a.rss_logo {
     float: right;
-    padding: 3px;
+    padding: 3px 1px;
     width: 35px;
     line-height: 10px;
     border: 1px solid;
@@ -139,10 +143,10 @@ 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: 49px;
+    margin-top: 30px;
     margin-left: 5px;
 }
 
@@ -156,10 +160,14 @@ a.rss_logo:hover {
 .project_list,
 .shortlog,
 .tree,
-.commit_search {
-    width: 960px;
+.commit_search,
+.history {
+    width: 95%;
     margin: 0 auto 15px auto;
     border: 1px solid #d8d8d8;
+    -moz-box-shadow: 0 0 3px rgba(0,0,0,0.2);
+    -webkit-box-shadow: 0 0 3px rgba(0,0,0,0.2);
+    box-shadow: 0 0 3px rgba(0,0,0,0.2);
 }
 
 .project_list th,
@@ -183,8 +191,13 @@ 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 {
-    background: #efefef url(img/table_row.png) repeat-x 0 0;
+.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 */
+    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#F9F9F9', endColorstr='#EFEFEF',GradientType=0 ); /* ie */
     height: 2.5em;
     border-bottom: 1px solid #e1e1e1;
 }
@@ -200,32 +213,40 @@ th .header {
     margin: 0;
 }
 
+.projsearch {
+    position: absolute;
+    right: 4%;
+    top: 15px;
+}
+
 .commit_search {
     background: #eaeaea;
 }
 
 .page_nav,
-.history,
 .list_head,
 .page_path,
 .search {
-    width: 948px;
-    background: #f0f0f0;
+    width: 94%;
+    background: #eaeaea;
     color: #545454;
     border: 1px solid #d8d8d8;
     padding: 5px;
     margin: 0 auto 15px auto;
 }
 
+.history {
+    background: #eaeaea;
+}
+
 .title {
-    width: 950px;
+    width: 95%;
     padding: 5px;
 }
 
 .projects_list,
-.heads,
 .tags {
-    width: 960px;
+    width: 95%;
     background: #f0f0f0;
     color: #545454;
     border: 1px solid #d8d8d8;
@@ -233,8 +254,16 @@ th .header {
     margin: 0 auto 15px auto;
 }
 
+.heads {
+    width: 95%;
+    color: #545454;
+    border: 1px solid #d8d8d8;
+    padding: 5px;
+    margin: 0 auto 15px auto;
+}
+
 .header {
-    width: 948px;
+    width: 94%;
     margin: 0 auto 15px auto;
     background: #eaf2f5;
     border: 1px solid #bedce7;
@@ -249,7 +278,7 @@ th .header {
 }
 
 .title_text {
-    width: 948px;
+    width: 94%;
     background: #eaf2f5;
     border: 1px solid #bedce7;
     padding: 5px;
@@ -257,7 +286,7 @@ th .header {
 }
 
 .log_body {
-    width: 948px;
+    width: 94%;
     background: #eaf2f5;
     border: 1px solid #bedce7;
     border-top: 0;
@@ -267,27 +296,31 @@ th .header {
 
 .page_body {
     line-height: 1.4em;
-    width: 948px;
-    background: #f8f8ff;
+    width: 94%;
+    background: #f8f8f8;
     border: 1px solid #d8d8d8;
     padding: 5px;
     margin: 15px auto 15px auto;
 }
 
 .diff_tree {
-    width: 960px;
+    width: 95%;
     background: #f0f0f0;
     border: 1px solid #d8d8d8;
     padding: 5px;
     margin: 0 auto 15px auto;
 }
 
-.author_date {
-    width: 948px;
-    background: #f0f0f0;
-    border: 1px solid #d8d8d8;
-    padding: 5px;
-    margin: 0 auto 15px auto;
+.page_body > .list_head {
+    width: 98.5%;
+}
+
+.page_body > .diff_tree {
+    width: 99.5%;
+}
+
+.patch > .header {
+    width: 98.5%;
 }
 
 /* Refs
@@ -296,7 +329,7 @@ th .header {
 span.refs span {
     color: #000;
     padding: 0px 4px;
-    font-size: 70%;
+    font-size: 10px;
     font-weight: normal;
     border: 1px solid;
     background-color: #ffaaff;
@@ -318,6 +351,10 @@ span.refs span.head {
     border-color: #ccffcc #00cc33 #00cc33 #ccffcc;
 }
 
+span.refs a {
+    color: #000;
+}
+
 /* Diffs
 ---------------------------------------------------------------------------- */