aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremias Stotter <jeremias@stotter.eu>2023-01-22 22:59:46 +0100
committerJeremias Stotter <jeremias@stotter.eu>2023-01-22 22:59:46 +0100
commit7c5115b40cbb83bcec1241f1f13333220506c1a0 (patch)
tree22d6e1019592192f8e67434cd82ec51f39367055
parent53f113456990418662f9af18a5053415cc0d826b (diff)
downloadcgit-dark-master.tar.gz
cgit-dark-master.tar.bz2
cgit-dark-master.zip
Is now somewhat mobile responsiveHEADmaster
-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