From: Lexie Date: Fri, 4 Aug 2023 09:56:21 +0000 (-0400) Subject: Update git.t-ch.net theme and gitwebd X-Git-Url: https://git.t-ch.net/?a=commitdiff_plain;h=3ac08935838b0392679653e6b64a1a60c80d8614;p=git.t-ch.net.git Update git.t-ch.net theme and gitwebd --- diff --git a/gitwebd b/gitwebd index 00e2f17..c84b0f2 100755 --- a/gitwebd +++ b/gitwebd @@ -1,7 +1,5 @@ #!/bin/sh export FCGI_SOCKET_PATH=127.0.0.1:9001 -export GITWEB_PROJECTROOT=/usr/local/var/www/code -export GITWEB_CONFIG=/usr/local/etc/git/gitweb.perl daemon() { /usr/local/share/git/gitweb/gitweb.cgi --fastcgi diff --git a/static/gitweb.css b/static/gitweb.css index 3212601..e654862 100644 --- a/static/gitweb.css +++ b/static/gitweb.css @@ -1,23 +1,26 @@ +@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1p&family=Public+Sans&family=Rubik+Glitch&display=swap'); + + body { - font-family: sans-serif; + font-family: 'Public Sans', sans-serif; font-size: small; - border: solid #d9d8d1; - border-width: 1px; + /* border: solid #453F78; */ + /* border-width: 1px; */ margin: 10px; - background-color: #ffffff; - color: #000000; + background-color: #401F3E; + color: #FFFFFF; } a { - color: #0000cc; + color: #7189FF; } a:hover, a:visited, a:active { - color: #880000; + color: #EB5E55; } span.cntrl { - border: dashed #aaaaaa; + border: dashed #453F78; border-width: 1px; padding: 0px 2px 0px 2px; margin: 0px 2px 0px 2px; @@ -46,15 +49,15 @@ div.page_header { padding: 8px; font-size: 150%; font-weight: bold; - background-color: #d9d8d1; + background-color: #453F78; } div.page_header a:visited, a.header { - color: #0000cc; + color: #453F78; } div.page_header a:hover { - color: #880000; + color: #EB5E55; } div.page_nav { @@ -62,20 +65,20 @@ div.page_nav { } div.page_nav a:visited { - color: #0000cc; + color: #453F78; } div.page_path { padding: 8px; font-weight: bold; - border: solid #d9d8d1; + border: solid #453F78; border-width: 0px 0px 1px; } div.page_footer { height: 22px; padding: 4px 8px; - background-color: #d9d8d1; + background-color: #453F78; } div.page_footer_text { @@ -111,12 +114,12 @@ div.readme { } a.title:hover { - background-color: #d9d8d1; + background-color: #453F78; } div.title_text { padding: 6px 0px; - border: solid #d9d8d1; + border: solid #453F78; border-width: 0px 0px 1px; font-family: monospace; } @@ -148,7 +151,7 @@ div.log_link { div.list_head { padding: 6px 8px 4px; - border: solid #d9d8d1; + border: solid #453F78; border-width: 1px 0px 0px; font-style: italic; } @@ -159,7 +162,7 @@ div.list_head { div.author_date { padding: 8px; - border: solid #d9d8d1; + border: solid #453F78; border-width: 0px 0px 1px 0px; } @@ -178,22 +181,22 @@ table.tags a.subject { a.list:hover { text-decoration: underline; - color: #880000; + color: #EB5E55; } a.text { text-decoration: none; - color: #0000cc; + color: #453F78; } a.text:visited { text-decoration: none; - color: #880000; + color: #EB5E55; } a.text:hover { text-decoration: underline; - color: #880000; + color: #EB5E55; } table { @@ -302,7 +305,7 @@ td.current_head { } td.category { - background-color: #d9d8d1; + background-color: #453F78; border-top: 1px solid #000000; border-left: 1px solid #000000; font-weight: bold; @@ -400,7 +403,7 @@ div.diff.header { margin-top: 4px; padding: 4px 0px 2px 0px; - border: solid #d9d8d1; + border: solid #453F78; border-width: 1px 0px 1px 0px; } @@ -520,7 +523,7 @@ div.chunk_block.ctx div div.diff.ctx { div.index_include { - border: solid #d9d8d1; + border: solid #453F78; border-width: 0px 0px 1px; padding: 12px 8px; } @@ -630,7 +633,7 @@ div.binary { div.remote { margin: .5em; - border: 1px solid #d9d8d1; + border: 1px solid #453F78; display: inline-block; }