]> gitweb.ps.run Git - ps-cgit/blobdiff - cgit.css
Remove troublesome chars from cachefile names
[ps-cgit] / cgit.css
index 5f0192650efb226d77963ab209104306ed60870d..9112bfe23f75a9ab9f0ac167f88dca4833d613d2 100644 (file)
--- a/cgit.css
+++ b/cgit.css
@@ -8,7 +8,7 @@ body {
 
 
 h2 {
 
 
 h2 {
-       font-size: normal;
+       font-size: 100%;
        font-weight: bold;
        margin-bottom: 0.1em;
 }
        font-weight: bold;
        margin-bottom: 0.1em;
 }
@@ -31,10 +31,10 @@ table.list tr {
        background: white;
 }
 table.list tr:hover {
        background: white;
 }
 table.list tr:hover {
-       background: #eee;
+       background: #eeb;
 }
 table.list th {
 }
 table.list th {
-       font-weight: bold;
+       font-weight: normal;
        background: #ddd;
        border-bottom: solid 1px #aaa;
        padding: 0.1em 0.5em 0.1em 0.5em;
        background: #ddd;
        border-bottom: solid 1px #aaa;
        padding: 0.1em 0.5em 0.1em 0.5em;
@@ -50,16 +50,22 @@ img {
 
 
 div#header {
 
 
 div#header {
-       background-color: #eee;
+       background-color: #ddd;
        padding: 0.25em 0.25em 0.25em 0.5em;
        font-size: 150%;
        font-weight: bold;
        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;
        vertical-align: middle;
+       margin-bottom: 2em;
 }
 div#header img#logo {
        float: right;
 }
 }
 div#header img#logo {
        float: right;
 }
+
+div#header input {
+       float: right;
+       margin: 0.25em 1em;
+}
 div#header a {
        color: black;
 }
 div#header a {
        color: black;
 }
@@ -77,24 +83,29 @@ div.error {
        font-weight: bold;
        margin: 1em 2em;
 }
        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;
 }
 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;
 td.filemode {
        font-family: monospace;
 }
 
 td.blob {
        white-space: pre;
-       font-family: courier;
-       font-size: 100%;
+       font-family: monospace;
        background-color: white;
 }
 
        background-color: white;
 }
 
-table.log td {
+table.nowrap td {
        white-space: nowrap;
 }
 
        white-space: nowrap;
 }
 
@@ -154,6 +165,25 @@ table.diffstat td.summary {
        color: #888;
        padding-top: 0.5em;
 }
        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%;
 .sha1 {
        font-family: courier;
        font-size: 90%;