]> gitweb.ps.run Git - ps-cgit/blobdiff - cgit.css
Use & instead of & in URLs.
[ps-cgit] / cgit.css
index cded981386ceed3eaeb5d37fe5eee2c669062e5d..8977533a18e8a6c5ceb16d4742906fd4b0bd75e0 100644 (file)
--- a/cgit.css
+++ b/cgit.css
@@ -26,6 +26,13 @@ h3 {
        font-weight: normal;
 }
 
+h4 {
+       margin-top: 1.5em;
+       margin-bottom: 0.1em;
+       font-size: 100%;
+       font-weight: bold;
+}
+
 a {
        color: blue;
        text-decoration: none;
@@ -53,7 +60,7 @@ table.list tr.nohover:hover {
 }
 
 table.list th {
-       font-weight: normal;
+       font-weight: bold;
        border-bottom: solid 1px #777;
        padding: 0.1em 0.5em 0.1em 0.5em;
        vertical-align: baseline;
@@ -133,22 +140,20 @@ td#search input {
        background-color: #fff;
 }
 
-td#summary {
+div#summary {
        vertical-align: top;
-       padding-bottom: 1em;
+       margin-bottom: 1em;
 }
 
-td#archivelist {
-       padding-bottom: 1em;
-}
-
-td#archivelist table {
+table#downloads {
        float: right;
        border-collapse: collapse;
        border: solid 1px #777;
+       margin-left: 0.5em;
+       margin-bottom: 0.5em;
 }
 
-td#archivelist table th {
+table#downloads th {
        background-color: #ccc;
 }
 
@@ -182,6 +187,11 @@ td.filesize {
        font-family: monospace;
 }
 
+td.links {
+       font-size: 80%;
+       padding-left: 2em;
+}
+
 td.filemode {
        font-family: monospace;
 }
@@ -224,9 +234,20 @@ div.commit-msg {
        font-family: monospace;
 }
 
+div.diffstat-header {
+       font-weight: bold;
+       padding-top: 1.5em;
+}
+
 table.diffstat {
        border-collapse: collapse;
-       margin-top: 1.5em;
+       width: 100%;
+       border: solid 1px #aaa;
+       background-color: #eee;
+}
+
+table.diffstat tr:hover {
+       background-color: #ccc;
 }
 
 table.diffstat th {
@@ -238,8 +259,13 @@ table.diffstat th {
 }
 
 table.diffstat td {
-       padding: 0.1em 1em 0.1em 0.1em;
+       padding: 0.2em 0.2em 0.1em 0.1em;
        font-size: 100%;
+       border: none;
+}
+
+table.diffstat td.mode {
+       white-space: nowrap;
 }
 
 table.diffstat td span.modechange {
@@ -259,19 +285,50 @@ table.diffstat td.upd a {
        color: blue;
 }
 
-table.diffstat td.summary {
+table.diffstat td.graph {
+       width: 75%;
+       vertical-align: center;
+}
+
+table.diffstat td.graph table {
+       border: none;
+}
+
+table.diffstat td.graph td {
+       padding: 0px;
+       border: 0px;
+       height: 7pt;
+}
+
+table.diffstat td.graph td.add {
+       background-color: #5c5;
+}
+
+table.diffstat td.graph td.rem {
+       background-color: #c55;
+}
+
+table.diffstat td.graph td.none {
+       background-color: none;
+}
+
+div.diffstat-summary {
        color: #888;
        padding-top: 0.5em;
 }
 
 table.diff td {
-       border: solid 1px black;
        font-family: monospace;
        white-space: pre;
 }
 
+table.diff td div.head {
+       font-weight: bold;
+       padding-top: 1em;
+}
+
 table.diff td div.hunk {
-       background: #ccc;
+       color: #009;
 }
 
 table.diff td div.add {
@@ -294,3 +351,63 @@ table.diff td div.del {
 .right {
        text-align: right;
 }
+
+table.list td.repogroup {
+       font-style: italic;
+       color: #888;
+}
+
+a.button {
+       font-size: 80%;
+       color: #333;
+       background-color: #ccc;
+       border: solid 1px #999;
+       padding: 0em 0.5em;
+       margin: 0.1em 0.25em;
+}
+
+a.button:hover {
+       text-decoration: none;
+       background-color: #eee;
+}
+
+a.primary {
+       font-size: 100%;
+}
+
+a.secondary {
+       font-size: 90%;
+}
+
+td.toplevel-repo {
+
+}
+
+table.list td.sublevel-repo {
+       padding-left: 1.5em;
+}
+
+span.age-mins {
+       font-weight: bold;
+       color: #080;
+}
+
+span.age-hours {
+       color: #080;
+}
+
+span.age-days {
+       color: #040;
+}
+
+span.age-weeks {
+       color: #444;
+}
+
+span.age-months {
+       color: #888;
+}
+
+span.age-years {
+       color: #bbb;
+}