aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cgit.css16
1 files changed, 16 insertions, 0 deletions
diff --git a/cgit.css b/cgit.css
index c2f236e..a7c0ae0 100644
--- a/cgit.css
+++ b/cgit.css
@@ -928,6 +928,7 @@ div#cgit table.ssdiff td.space div {
#header td a {
margin-right: 5px;
+ font-family: sans;
}
header {
@@ -935,3 +936,18 @@ header {
font-weight: bold;
font-size: x-large;
}
+
+@media screen and (max-width: 900px) {
+ #cgit td:nth-child(n+3) {
+ overflow: hidden;
+ max-width: 25vw;
+ text-overflow: ellipsis
+ }
+ div#cgit {
+ overflow-x: auto
+ }
+
+ #cgit table {
+ max-width: 100%
+ }
+}
Jeremias Stotters git repositories generated by CGIT