diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2020-08-10 01:58:59 +0200 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2020-08-10 01:58:59 +0200 |
commit | 763b255542bb86cd45599c0b4eb44bf4be67a212 (patch) | |
tree | bf2114d1a608c733546d75860d656a9d69bcf115 | |
parent | 1171210a16b26f53dc2edce973440d0b46663502 (diff) | |
download | cgitcss-763b255542bb86cd45599c0b4eb44bf4be67a212.tar.gz |
name changes
-rw-r--r-- | cgit.css | 27 |
1 files changed, 13 insertions, 14 deletions
@@ -9,11 +9,10 @@ --text: white; --inactive-text: grey; --accent-color: green; - --highlight-bg: #444; + --hover-bg: #444; --table-bg1: #000; --table-bg2: #111; - --tab-active-bg: #333; - --tab-inactive-bg: #222; /*UNUSED*/ + --highlight-bg: #333; --age-mins: #0f0; --age-hours: #0a0; --age-days: #050; @@ -93,12 +92,12 @@ div#cgit table#header td.form select { div#cgit table#header td.sub { color: var(--inactive-text); - border-top: solid 1px var(--tab-active-bg); + border-top: solid 1px var(--highlight-bg); padding-left: 10px; } div#cgit table.tabs { - border-bottom: solid 3px var(--tab-active-bg); + border-bottom: solid 3px var(--highlight-bg); border-collapse: collapse; margin-top: 2em; margin-bottom: 0px; @@ -118,7 +117,7 @@ div#cgit table.tabs td a { div#cgit table.tabs td a.active { color: var(--text); - background-color: var(--tab-active-bg); + background-color: var(--highlight-bg); } div#cgit table.tabs a[href^="http://"]:after, div#cgit table.tabs a[href^="https://"]:after { @@ -146,13 +145,13 @@ div#cgit div.path { margin: 0px; padding: 5px 2em 2px 2em; color: var(--text); - background-color: var(--tab-active-bg); + background-color: var(--highlight-bg); } div#cgit div.content { margin: 0px; padding: 2em; - border-bottom: solid 3px var(--tab-active-bg); + border-bottom: solid 3px var(--highlight-bg); } @@ -179,7 +178,7 @@ div#cgit table.list tr:nth-child(odd) { } div#cgit table.list tr:hover { - background: var(--highlight-bg); + background: var(--hover-bg); } div#cgit table.list tr.nohover { @@ -187,7 +186,7 @@ div#cgit table.list tr.nohover { } div#cgit table.list tr.nohover:hover { - background: var(--highlight-bg); + background: var(--hover-bg); } div#cgit table.list tr.nohover-highlight:hover:nth-child(even) { @@ -333,7 +332,7 @@ div#cgit td.ls-mode { div#cgit table.blob { margin-top: 0.5em; - border-top: solid 1px var(--tab-active-bg); + border-top: solid 1px var(--highlight-bg); } div#cgit table.blob td.hashes, @@ -347,7 +346,7 @@ div#cgit table.blob td.linenumbers { margin: 0; padding: 0 0.5em 0 0.5em; vertical-align: top; text-align: right; - border-right: 1px solid var(--tab-active-bg); + border-right: 1px solid var(--highlight-bg); } div#cgit table.blob pre { @@ -433,7 +432,7 @@ div#cgit div.cgit-panel { } div#cgit div.cgit-panel table { - background-color: var(--tab-active-bg); + background-color: var(--highlight-bg); } div#cgit div.cgit-panel th { @@ -501,7 +500,7 @@ div#cgit div.diffstat-header { div#cgit table.diffstat { border-collapse: collapse; - background-color: var(--tab-active-bg); + background-color: var(--highlight-bg); } div#cgit table.diffstat th { |