]> gitweb.ps.run Git - ps-cgit/blobdiff - cgit.css
Simplify ui-commit.c
[ps-cgit] / cgit.css
index c16f3f2d4377d7338675c26c7daa9f51142edf52..94372d60c895b5a3b24277055c2e3681500ab54a 100644 (file)
--- a/cgit.css
+++ b/cgit.css
@@ -13,27 +13,37 @@ h2 {
        margin-bottom: 0.1em;
 }
 
+a {
+       color: blue;
+       text-decoration: none;
+}
+
+a:hover {
+       text-decoration: underline;
+}
 
 table.list {
        border: solid 1px black;
        border-collapse: collapse;
        border: solid 1px #aaa;
 }
-
+table.list tr {
+       background: white;
+}
+table.list tr:hover {
+       background: #eee;
+}
 table.list th {
-       text-align: left;
        font-weight: bold;
        background: #ddd;
        border-bottom: solid 1px #aaa;
-       padding: 0.1em 0.5em 0.1em;
+       padding: 0.1em 0.5em 0.1em 0.5em;
        vertical-align: baseline;
 }
 table.list td {
        border: none;
-       padding: 0.1em 1em 0.1em 0.5em;
-       background: white;
+       padding: 0.1em 0.5em 0.1em 0.5em;
 }
-
 img {
        border: none;
 }
@@ -47,7 +57,6 @@ div#header {
        border: solid 1px #aaa;
        vertical-align: middle;
 }
-
 div#header img#logo {
        float: right;
 }
@@ -56,6 +65,10 @@ div#content {
        margin: 0.5em 0.5em;
 }
 
+div#blob {
+       border: solid 1px black;
+}
+
 div.error {
        color: red;
        font-weight: bold;
@@ -70,3 +83,49 @@ th.filesize, td.filesize {
 th.filemode, td.filemode {
        text-align: center;
 }
+
+td.blob {
+       white-space: pre;
+       font-family: courier;
+       font-size: 100%;
+       background-color: white;
+}
+
+table.log td {
+       white-space: nowrap;
+}
+
+table.commit-info {
+       border-collapse: collapse;
+       margin-top: 1em;
+       
+}
+table.commit-info th {
+       text-align: left;
+       font-weight: normal;
+       padding: 0.1em 1em 0.1em 0.1em;
+}
+table.commit-info td {
+       font-weight: normal;
+       padding: 0.1em 1em 0.1em 0.1em;
+}
+div.commit-subject {
+       font-weight: bold;
+       font-size: 110%;
+       margin: 1em 0em 1em;
+}
+div.commit-msg {
+       white-space: pre;
+       font-family: courier;
+       font-size: 100%;
+}
+.sha1 {
+       font-family: courier;
+       font-size: 90%;
+}
+.left {
+       text-align: left;
+}
+.right {
+       text-align: right;
+}