about summary refs log tree commit diff
path: root/users/sterni/htmlman/defaultStyle.nix
blob: a44b5ef069345d4d60bd821ce8f643ee633d629d (plain) (blame)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{ ... }:

''
  body {
    font-size: 1em;
    line-height: 1.5;
    font-family: serif;
    background-color: #efefef;
  }

  h1, h2, h3, h4, h5, h6 {
    font-family: sans-serif;
    font-size: 1em;
    margin: 5px 0;
  }

  h1 {
    margin-top: 0;
  }

  a:link, a:visited {
    color: #3e7eff;
  }

  h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    text-decoration: none;
  }

  .manual-text, .index-text {
    padding: 20px;
    max-width: 800px;
    background-color: white;
    margin: 0 auto;
  }

  table.head, table.foot {
    display: none;
  }

  .Nd {
    display: inline;
  }

  /* use same as cheddar for man pages */
  pre {
    padding: 16px;
    background-color: #f6f8fa;
  }
''