]> gitweb.ps.run Git - ps-cgit/blobdiff - cgit.css
Extend repo summary with tag list
[ps-cgit] / cgit.css
index 5f0192650efb226d77963ab209104306ed60870d..d94b1b7b95a6b1fc00a1a85dbbaab21c3e267d6d 100644 (file)
--- a/cgit.css
+++ b/cgit.css
@@ -8,9 +8,9 @@ body {
 
 
 h2 {
-       font-size: normal;
+       font-size: 120%;
        font-weight: bold;
-       margin-bottom: 0.1em;
+       margin-bottom: 0.5em;
 }
 
 a {
@@ -31,11 +31,15 @@ table.list tr {
        background: white;
 }
 table.list tr:hover {
-       background: #eee;
+       background: #eeb;
+}
+table.list tr.nohover:hover {
+       background: white;
 }
 table.list th {
-       font-weight: bold;
+       font-weight: normal;
        background: #ddd;
+       border-top: solid 1px #aaa;
        border-bottom: solid 1px #aaa;
        padding: 0.1em 0.5em 0.1em 0.5em;
        vertical-align: baseline;
@@ -50,16 +54,22 @@ img {
 
 
 div#header {
-       background-color: #eee;
+       background-color: #ddd;
        padding: 0.25em 0.25em 0.25em 0.5em;
        font-size: 150%;
        font-weight: bold;
-       border: solid 1px #ccc;
+       border: solid 1px #aaa;
        vertical-align: middle;
+       margin-bottom: 2em;
 }
 div#header img#logo {
        float: right;
 }
+
+div#header input {
+       float: right;
+       margin: 0.25em 1em;
+}
 div#header a {
        color: black;
 }
@@ -77,24 +87,29 @@ div.error {
        font-weight: bold;
        margin: 1em 2em;
 }
+div.ls-blob, div.ls-dir {
+       font-family: monospace;
+}
 div.ls-dir a {
        font-weight: bold;
 }
 th.filesize, td.filesize {
        text-align: right;
 }
+td.filesize {
+       font-family: monospace;
+}
 td.filemode {
        font-family: monospace;
 }
 
 td.blob {
        white-space: pre;
-       font-family: courier;
-       font-size: 100%;
+       font-family: monospace;
        background-color: white;
 }
 
-table.log td {
+table.nowrap td {
        white-space: nowrap;
 }
 
@@ -154,6 +169,25 @@ table.diffstat td.summary {
        color: #888;
        padding-top: 0.5em;
 }
+
+table.diff td {
+       border: solid 1px black;
+       font-family: monospace;
+       white-space: pre;
+}
+
+table.diff td div.hunk {
+       background: #ccc;
+}
+
+table.diff td div.add {
+       color: green;
+}
+
+table.diff td div.del {
+       color: red;
+}
+
 .sha1 {
        font-family: courier;
        font-size: 90%;