aboutsummaryrefslogtreecommitdiff
path: root/git/cgit.scss
diff options
context:
space:
mode:
Diffstat (limited to 'git/cgit.scss')
-rw-r--r--git/cgit.scss27
1 files changed, 27 insertions, 0 deletions
diff --git a/git/cgit.scss b/git/cgit.scss
new file mode 100644
index 0000000..3d0c4fb
--- /dev/null
+++ b/git/cgit.scss
@@ -0,0 +1,27 @@
+// Stylesheet for cgit on git.kassouni.net, layered over cgit's stock cgit.css.
+// Rules here have to match `div#cgit ...` to win on specificity, so they nest
+// under the same id. Compiled by ./theme.nix.
+@use "fonts";
+
+div#cgit {
+ font-family: fonts.$mono;
+
+ // cgit.css asks for generic `monospace` on these; point them at the webfont
+ a.ls-blob,
+ a.ls-dir,
+ .ls-mod,
+ .oid,
+ div.commit-msg,
+ div.notes,
+ table.bin-blob th,
+ table.bin-blob td,
+ table.diff td,
+ table.list td.commitgraph,
+ table.list td.logmsg,
+ table.list td.logsubject,
+ table.ssdiff td,
+ td.ls-mode,
+ td.ls-size {
+ font-family: fonts.$mono;
+ }
+}