summary refs log tree commit diff
path: root/www/git.causal.agency/custom.css
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-12-18 23:17:45 -0500
committerJune McEnroe <june@causal.agency>2019-12-18 23:17:45 -0500
commit57126590cc5c8f5a7c88729dd4a796a0199a36e0 (patch)
treec74d74444b03db5e7de28ba10dbf3f148124a8a2 /www/git.causal.agency/custom.css
parentUse :target rather than :focus pseudo-class (diff)
downloadsrc-57126590cc5c8f5a7c88729dd4a796a0199a36e0.tar.gz
src-57126590cc5c8f5a7c88729dd4a796a0199a36e0.zip
Customize cgit CSS
Diffstat (limited to '')
-rw-r--r--www/git.causal.agency/custom.css34
1 files changed, 32 insertions, 2 deletions
diff --git a/www/git.causal.agency/custom.css b/www/git.causal.agency/custom.css
index 7bec1dea..66cdc185 100644
--- a/www/git.causal.agency/custom.css
+++ b/www/git.causal.agency/custom.css
@@ -1,11 +1,41 @@
 @import url("cgit.css");
 
+* { line-height: 1.25em; }
+
 div#cgit {
+	max-width: 117ch;
+	margin: auto;
+	font-family: monospace;
 	-moz-tab-size: 4;
 	tab-size: 4;
 }
 
-div#cgit table.blob td.linenumbers a:focus {
+div#cgit table#header td.logo {
+	display: none;
+}
+div#cgit table#header td.sub {
+	border-top: none;
+}
+div#cgit table.tabs {
+	border-bottom: none;
+}
+div#cgit div.content {
+	border-bottom: none;
+}
+div#cgit table.list th a {
+	color: inherit;
+}
+div#cgit table.list tr:nth-child(even) {
+	background: inherit;
+}
+div#cgit table.list tr:hover {
+	background: inherit;
+}
+div#cgit table.list tr.nohover-highlight:hover:nth-child(even) {
+	background: inherit;
+}
+
+div#cgit table.blob td.linenumbers a:target {
 	color: goldenrod;
 	text-decoration: underline;
 	outline: none;
@@ -14,7 +44,6 @@ div#cgit table.blob td.linenumbers a:focus {
 div#cgit .hi.Keyword { color: dimgray; }
 div#cgit .hi.Macro { color: green; }
 div#cgit .hi.Tag { color: inherit; text-decoration: underline; }
-div#cgit .hi.Tag:focus { color: goldenrod; outline: none; }
 div#cgit .hi.String { color: teal; }
 div#cgit .hi.Format { color: teal; font-weight: bold; }
 div#cgit .hi.Interp { color: olive; }
@@ -22,3 +51,4 @@ div#cgit .hi.Comment { color: navy; }
 div#cgit .hi.Todo { color: navy; font-weight: bold; }
 div#cgit .hi.DiffOld { color: red; }
 div#cgit .hi.DiffNew { color: green; }
+div#cgit .hi.Tag:target { color: goldenrod; outline: none; }
44201c95df419abe1ab18ff92b7466c51637c76&follow=1'>Remove typer, add downgrade to READMEJune McEnroe 2021-09-15Set bot mode on downgradeJune McEnroe 2021-09-15Enter capsicum in downgradeJune McEnroe 2021-09-15Factor out common parts of downgrade messagesJune McEnroe 2021-09-14Add downgrade IRC botJune McEnroe 2021-09-14Sort by title if authors matchJune McEnroe 2021-09-13Swap-remove tags as they're foundJune McEnroe 2021-09-12Replace htagml regex with strncmpJune McEnroe 2021-09-11Also defer printing comment for lone close-parensJune McEnroe 2021-09-10Publish "git-comment"June McEnroe 2021-09-10Add git comment --pretty optionJune McEnroe 2021-09-08Defer printing comment if line is blank or closing braceJune McEnroe 2021-09-08Up default min-repeat to 30 linesJune McEnroe 2021-09-08Handle dirty lines in git-commentJune McEnroe 2021-09-08Document and install git-commentJune McEnroe 2021-09-08Add repeat and all options to git-commentJune McEnroe 2021-09-08Add group threshold to git-commentJune McEnroerder here. 2021-02-07Fully configure and rebind cwmJune McEnroe This is sort of a mix of trying to emulate macOS somewhat for my muscle memory and just rebinding some of the cwm defaults to use 4- rather than M-. 2021-02-07Add BintiJune McEnroe 2021-02-07Finish configuring xtermJune McEnroe 2021-02-06Enable tapping, reverse scroll, set scaling in wsconsctlJune McEnroe 2021-02-06Set root window to black on purple snowJune McEnroe 2021-02-06Add xmodmap configurationJune McEnroe 2021-02-06Add initial OpenBSD X configurationJune McEnroe cwm still needs a lot more rebinding, and I need to actually look at its other options. xterm definitely still needs some configuration, but I at least managed to get it to use a decent looking font. Very happy that OpenBSD includes Luxi Mono, which is what my usual font, Go Mono, is based on anyway. Still missing is xmodmap and such. 2021-02-06Add xterm output to schemeJune McEnroemp;follow=1'>Sort by title if authors matchJune McEnroe There are probably better things to sort by but title definitely always exists. 2021-09-13Swap-remove tags as they're foundJune McEnroe This makes it even faster. From ~1s on a sqlite3.c amalgamation to ~0.85s. 2021-09-12Replace htagml regex with strncmpJune McEnroe Since ctags only ever produces regular expressions of the form /^re$/ or /^re/ with no other special characters, instead unescape the pattern and simply use strncmp. Running on a sqlite3.c amalgamation, the regex version takes ~37s while the strncmp version takes ~1s, producing identical output. Big win! 2021-09-11Also defer printing comment for lone close-parensJune McEnroe 2021-09-10Publish "git-comment"June McEnroe 2021-09-10Add git comment --pretty optionJune McEnroe 2021-09-08Defer printing comment if line is blank or closing braceJune McEnroe This fixes badly indented comments. 2021-09-08Up default min-repeat to 30 linesJune McEnroe 2021-09-08Handle dirty lines in git-commentJune McEnroe 2021-09-08Document and install git-commentJune McEnroe 2021-09-08Add repeat and all options to git-commentJune McEnroe 2021-09-08Add group threshold to git-commentJune McEnroe