summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cgit.css32
1 files changed, 31 insertions, 1 deletions
diff --git a/cgit.css b/cgit.css
index 8cb0388..f85e7f0 100644
--- a/cgit.css
+++ b/cgit.css
@@ -580,7 +580,8 @@ body {
color: #4183C4 !important;
}
-#cgit .blob {
+#cgit .blob,
+#cgit .bin-blob {
font-size: 90%;
border: 1px solid #CCC;
width: 920px;
@@ -588,6 +589,35 @@ body {
margin-top: 1em;
}
+#cgit .bin-blob {
+ white-space: pre;
+}
+
+#cgit .bin-blob td:first-child {
+ color: rgba(0, 0, 0, 0.3);
+ border-right: 1px solid #E5E5E5;
+}
+
+#cgit .bin-blob td:last-child {
+ border-left: 1px solid #E5E5E5;
+}
+
+#cgit .bin-blob tr:hover td {
+ background-color: #F8EEC7;
+}
+
+#cgit .bin-blob td {
+ vertical-align: top;
+ padding: 0 0.5em;
+ font-family: "Source Code Pro";
+}
+
+#cgit .bin-blob th {
+ background-image: linear-gradient(#FAFAFA, #EAEAEA);
+ border: 1px solid #D5D5D5;
+ padding: 0.3em 1em;
+}
+
#cgit .blob td {
vertical-align: top;
padding: 0;