From 7302c3f1079a5f97b466837d3038dec29d4cad72 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Thu, 25 Feb 2021 13:32:18 +0100 Subject: testing dark theme --- cgit.css | 47 +++++++++++++++++++++++++++-------------------- 1 file changed, 27 insertions(+), 20 deletions(-) diff --git a/cgit.css b/cgit.css index f8eb6f8..031d00c 100644 --- a/cgit.css +++ b/cgit.css @@ -2,6 +2,7 @@ body { max-width:70em; margin: auto; + background-color: black; } div#cgit { @@ -9,13 +10,13 @@ div#cgit { margin: 0em; font-family: sans-serif; font-size: 10pt; - color: #333; - background: white; + color: white; + /*! background: white; */ padding: 4px; } div#cgit a { - color: blue; + color: white; text-decoration: none; } @@ -25,6 +26,9 @@ div#cgit a:hover { div#cgit table { border-collapse: collapse; + border: none; + border: none; + border: none; } div#cgit table#header { @@ -44,7 +48,7 @@ div#cgit table#header td.main { } div#cgit table#header td.main a { - color: #000; + color: white; } div#cgit table#header td.form { @@ -62,7 +66,7 @@ div#cgit table#header td.form select { } div#cgit table#header td.sub { - color: #777; + color: lightgray; border-top: solid 1px #ccc; padding-left: 10px; } @@ -73,6 +77,7 @@ div#cgit table.tabs { margin-top: 2em; margin-bottom: 0px; width: 100%; + border-color: darkmagenta; } div#cgit table.tabs td { @@ -82,13 +87,14 @@ div#cgit table.tabs td { div#cgit table.tabs td a { padding: 2px 0.75em; - color: #777; + color: lightgray; font-size: 110%; } div#cgit table.tabs td a.active { - color: #000; - background-color: #ccc; + color: white; + background-color: darkmagenta; + border-radius: 10px 10px 0 0; } div#cgit table.tabs a[href^="http://"]:after, div#cgit table.tabs a[href^="https://"]:after { @@ -122,7 +128,7 @@ div#cgit div.path { div#cgit div.content { margin: 0px; padding: 2em; - border-bottom: solid 3px #ccc; + border-bottom: solid 3px darkmagenta; } @@ -133,7 +139,7 @@ div#cgit table.list { } div#cgit table.list tr { - background: white; + /*! background: white; */ } div#cgit table.list tr.logheader { @@ -141,23 +147,23 @@ div#cgit table.list tr.logheader { } div#cgit table.list tr:nth-child(even) { - background: #f7f7f7; + background: #333; } div#cgit table.list tr:nth-child(odd) { - background: white; + /*! background: white; */ } div#cgit table.list tr:hover { - background: #eee; + background: darkmagenta; } div#cgit table.list tr.nohover { - background: white; + /*! background: white; */ } div#cgit table.list tr.nohover:hover { - background: white; + background: darkmagenta; } div#cgit table.list tr.nohover-highlight:hover:nth-child(even) { @@ -224,7 +230,7 @@ div#cgit table.list td.logmsg { } div#cgit table.list td a { - color: black; + /*! color: black; */ } div#cgit table.list td a.ls-dir { @@ -640,7 +646,7 @@ div#cgit span.age-days { } div#cgit span.age-weeks { - color: #444; + /*! color: #444; */ } div#cgit span.age-months { @@ -652,18 +658,18 @@ div#cgit span.age-years { } div#cgit span.insertions { - color: #080; + color: greenyellow; } div#cgit span.deletions { - color: #800; + color: red; } div#cgit div.footer { margin-top: 0.5em; text-align: center; font-size: 80%; - color: #ccc; + /*! color: darkmagenta; */ } div#cgit div.footer a { @@ -899,3 +905,4 @@ div#cgit table.ssdiff td.space { div#cgit table.ssdiff td.space div { min-height: 3em; } + -- cgit v1.2.3