]> gitweb.ps.run Git - ps-cgit/blobdiff - cgit.css
Replace sidebar/logo
[ps-cgit] / cgit.css
index 5d47099a66c2c953be9b4272bc64fa4dcdb735a7..67cf48eb1b2adcd84de6b860f9be3214eebdbdad 100644 (file)
--- a/cgit.css
+++ b/cgit.css
@@ -1,37 +1,14 @@
-body {
-       font-family: arial, sans-serif;
-       font-size: 11pt;
-       color: black;
-       background: white;
-}
-
 body, table {
        padding: 0em;
        margin: 0em;
 }
 
-table {
-      border-collapse: collapse;
-}
-
-h2 {
-       font-size: 120%;
-       font-weight: bold;
-       margin-top: 0em;
-       margin-bottom: 0.25em;
-}
-
-h3 {
-       margin-top: 0em;
-       font-size: 100%;
-       font-weight: normal;
-}
-
-h4 {
-       margin-top: 1.5em;
-       margin-bottom: 0.1em;
-       font-size: 100%;
-       font-weight: bold;
+body {
+       font-family: sans;
+       font-size: 10pt;
+       color: #333;
+       background: white;
+       padding: 4px;
 }
 
 a {
@@ -43,131 +20,111 @@ a:hover {
        text-decoration: underline;
 }
 
-table.list {
-       border: none;
-       border-collapse: collapse;
+table {
+      border-collapse: collapse;
 }
 
-table.list tr {
-       background: white;
+table#header {
+       width: 100%;
+       margin-bottom: 1em;
 }
 
-table.list tr:hover {
-       background: #eee;
+table#header td.logo {
+       width: 96px;
 }
 
-table.list tr.nohover:hover {
-       background: white;
+table#header td.main {
+       font-size: 200%;
 }
 
-table.list th {
-       font-weight: bold;
-       border-bottom: solid 1px #777;
-       padding: 0.1em 0.5em 0.1em 0.5em;
-       vertical-align: baseline;
+table#header td.sub {
+       color: #777;
+       border-top: solid 1px #ccc;
 }
 
-table.list td {
-       border: none;
-       padding: 0.1em 0.5em 0.1em 0.5em;
+table.tabs {
+       border-bottom: solid 2px #ccc;
+       border-collapse: collapse;
+       margin-top: 2em;
+       margin-bottom: 1em;
+       width: 100%;
 }
 
-img {
-       border: none;
+table.tabs td {
+       padding: 0px 0.5em;
 }
 
-table#layout {
-       width: 100%;
-       border-collapse: collapse;
-       margin: 0px;
+table.tabs td a {
+       padding: 2px 1em;
+       color: #007;
 }
 
-td#header, td#logo {
-       color: #666;
-       background-color: #ddd;
-       border-bottom: solid 1px #000;
+table.tabs td a.active {
+       color: #000;
+       background-color: #ccc;
 }
 
-td#header {
-       font-size: 150%;
-       font-weight: bold;
-       padding: 0.2em 0.5em;
-       vertical-align: text-bottom;
+div.content {
+       margin: 0px;
+       padding: 1em;
 }
 
-td#header a {
-       color: #666;
-}
 
-td#header a:hover {
-       text-decoration: underline;
+table.list {
+       width: 100%;
+       border: none;
+       border-collapse: collapse;
 }
 
-td#logo {
-       text-align: right;
-       vertical-align: middle;
-       padding-right: 0.5em;
+table.list tr {
+       background: white;
 }
 
-td#crumb, td#search {
-       color: #ccc;
-       border-top: solid 3px #555;
-       background-color: #666;
-       border-bottom: solid 1px #333;
-       padding: 2px 1em;
+table.list tr:hover {
+       background: #eee;
 }
 
-td#crumb {
-       font-weight: bold;
+table.list tr.nohover:hover {
+       background: white;
 }
 
-td#crumb a {
-       color: #ccc;
-       background-color: #666;
-       padding: 0em 0.5em 0em 0.5em;
+table.list th {
+       font-weight: normal;
+       border-bottom: solid 1px #ccc;
+       padding: 0.1em 0.5em 0.1em 0.5em;
+       vertical-align: baseline;
 }
 
-td#crumb a:hover {
-       color: #666;
-       background-color: #ccc;
-       text-decoration: none;
+table.list td {
+       border: none;
+       padding: 0.1em 0.5em 0.1em 0.5em;
 }
 
-td#search {
-       text-align: right;
-       vertical-align: middle;
-       padding-right: 0.5em;
+table.list td a {
+       color: black;
 }
 
-td#search form {
-       margin: 0px;
-       padding: 0px;
+img {
+       border: none;
 }
 
-td#search select {
-       font-size: 9pt;
-       padding: 0px;
-       border: solid 1px #333;
-       color: #333;
-       background-color: #fff;
+input#switch-btn {
+       margin: 2px 0px 0px 0px;
 }
 
-td#search input {
-       font-size: 9pt;
-       padding: 0px;
+td#sidebar input.txt {
+       width: 100%;
+       margin: 2px 0px 0px 0px;
 }
 
-td#search input.txt {
-       width: 8em;
-       border: solid 1px #333;
-       color: #333;
-       background-color: #fff;
+table#grid {
+       margin: 0px;
 }
 
-td#search input.btn {
-       border: solid 1px #333;
-       color: #333;
-       background-color: #ccc;
+td#content {
+       vertical-align: top;
+       padding: 1em 2em 1em 1em;
+       border: none;
 }
 
 div#summary {
@@ -187,10 +144,6 @@ table#downloads th {
        background-color: #ccc;
 }
 
-td#content {
-       padding: 1em 0.5em;
-}
-
 div#blob {
        border: solid 1px black;
 }
@@ -284,7 +237,6 @@ div.diffstat-header {
 
 table.diffstat {
        border-collapse: collapse;
-       width: 100%;
        border: solid 1px #aaa;
        background-color: #eee;
 }
@@ -325,7 +277,7 @@ table.diffstat td.upd a {
 }
 
 table.diffstat td.graph {
-       width: 75%;
+       width: 500px;
        vertical-align: middle;
 }
 
@@ -364,7 +316,7 @@ table.diff td {
 table.diff td div.head {
        font-weight: bold;
        margin-top: 1em;
-       background-color: #eee;
+       color: black;
 }
 
 table.diff td div.hunk {