summaryrefslogtreecommitdiffstats
path: root/html/pod.css
blob: d90ebb5483964c14371158e3be4630a8bc9d1af0 (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
/* CSS to make pod2html files look a little bit better. */

body {
  margin-left: 4em;
}

body p, body ul, ol, body dl {
  margin-left: 2em;
  width: 31em;
}

pre {
  width: 31em;
}

li {
  padding-bottom: 0.5em;
}

/* Code sections. */

pre {
  background-color: #f8f8f8;
  color: rgb(204,0,0);
  font-weight: 550;
  border-left: 6px solid rgb(204,64,64);
  padding: 6px;
  margin-left: 1em;
  font-size: 120%;
}

/* Bold, italic in man pages. */
b, strong {
  color: rgb(204,0,0);
}

i, em {
  color: rgb(204,0,0);
}

/* Name heading. */

body > h1:first-of-type {
  display: none;
}

body > h1:first-of-type + p {
  font-size: 125%;
  font-weight: bold;
  color: rgb(204,0,0);
  margin-left: -32px;
}

/* Warning heading in man pages. */
a[name="warning"] {
  -moz-border-radius-topleft: 5px;
  -moz-border-radius-topright: 5px;
  border-radius-topleft: 5px;
  border-radius-topright: 5px;

  color: white;
  background-color: rgb(204,0,0);
}
a[name="warning"]:before {
  content: "\00a0\00a0\00a0";
}
a[name="warning"]:after {
  content: "\00a0\00a0\00a0";
}

/* Put the index on the right hand side in a floating box. */
div[name="index"] {
    float: right;
    width: 18em;
    border-left: 3em solid white;
    background-color: #fcfcfc;
    margin-top: 32px;
    padding-top: 0px;
    margin-left: 1em;
    padding-left: 1em;
    padding-right: 1em;
    font-size: 90%;
}

div[name="index"] a[href] {
    text-decoration: none;
}

div[name="index"] a[href]:hover {
    text-decoration: underline;
}

div[name="index"] a[href]:before {
    content: '#\00a0';
    color: rgb(204,0,0);
    font-size: x-small;
}

div[name="index"] > ul {
    width: 17em;
    list-style: none;
    margin-left: 0px;
    margin-right: 0px;
    padding-left: 0px;
    padding-right: 0px;
}

div[name="index"] > ul > li {
    margin-bottom: 0.5em;
}

div[name="index"] > ul ul {
    width: 16em;
    list-style: none;
    margin-left: 0px;
    margin-right: 0px;
    padding-left: 0px;
    padding-right: 0px;
    margin-bottom: 0.5em;
}

div[name="index"] > ul > ul li {
    display: inline;
    margin-right: 1em;
}

/*
div[name="index"] > ul > ul li:after {
    color: #ccc;
    content: '\2014';
}
*/

/* Get rid of those horrible <hr>'s :-( */
hr { display: none; }

/* Demote <h1>'s and set rest of headers relative. */
h1 {
    font-size: 100%;
    color: black;
    border-bottom: solid 1px rgb(204,0,0);
}

h2 {
    font-size: 95%;
    border-bottom: none;
}

h3 {
    font-size: 90%;
}

h4 {
    font-size: 85%;
}