aboutsummaryrefslogtreecommitdiff
path: root/git/cgit.scss
blob: 3d0c4fbf88eb8a488a16399088807a8cbb114084 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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;
  }
}