Version 1.15.1.
[nbdkit/ericb.git] / html / pod.css
blob1c07ec8c4d9282ecc7f520ea5213091af046f76e
1 /* CSS to make pod2html files look a little bit better. */
3 body {
4 margin-left: 4em;
7 body p, body ul, ol, body dl {
8 margin-left: 2em;
9 width: 31em;
12 pre {
13 width: 31em;
16 li {
17 padding-bottom: 0.5em;
20 /* Code sections. */
22 pre {
23 background-color: #f8f8f8;
24 color: rgb(204,0,0);
25 font-weight: 550;
26 border-left: 6px solid rgb(204,64,64);
27 padding: 6px;
28 margin-left: 1em;
29 font-size: 120%;
32 /* Bold, italic in man pages. */
33 b, strong {
34 color: rgb(204,0,0);
37 i, em {
38 color: rgb(204,0,0);
41 /* Name heading. */
43 body > h1:first-of-type {
44 display: none;
47 body > h1:first-of-type + p {
48 font-size: 125%;
49 font-weight: bold;
50 color: rgb(204,0,0);
51 margin-left: -32px;
54 /* Warning heading in man pages. */
55 a[name="warning"] {
56 -moz-border-radius-topleft: 5px;
57 -moz-border-radius-topright: 5px;
58 border-radius-topleft: 5px;
59 border-radius-topright: 5px;
61 color: white;
62 background-color: rgb(204,0,0);
64 a[name="warning"]:before {
65 content: "\00a0\00a0\00a0";
67 a[name="warning"]:after {
68 content: "\00a0\00a0\00a0";
71 /* Put the index on the right hand side in a floating box. */
72 ul[id="index"] {
73 float: right;
74 width: 18em;
75 border-left: 3em solid white;
76 background-color: #fcfcfc;
77 margin-top: 32px;
78 padding-top: 0px;
79 margin-left: 1em;
80 padding-left: 1em;
81 padding-right: 1em;
82 font-size: 90%;
85 ul[id="index"] a[href] {
86 text-decoration: none;
89 ul[id="index"] a[href]:hover {
90 text-decoration: underline;
93 ul[id="index"] a[href]:before {
94 content: '#\00a0';
95 color: rgb(204,0,0);
96 font-size: x-small;
99 ul[id="index"] {
100 width: 17em;
101 list-style: none;
102 margin-left: 0px;
103 margin-right: 0px;
104 padding-left: 0px;
105 padding-right: 0px;
108 ul[id="index"] > li {
109 margin-bottom: 0.5em;
112 ul[id="index"] > li ul {
113 width: 16em;
114 list-style: none;
115 margin-left: 0px;
116 margin-right: 0px;
117 padding-left: 0px;
118 padding-right: 0px;
119 margin-bottom: 0.5em;
122 ul[id="index"] > li ul li {
123 display: inline;
124 margin-right: 1em;
128 ul[id="index"] > li ul li:after {
129 color: #ccc;
130 content: '\2014';
134 /* Get rid of those horrible <hr>'s :-( */
135 hr { display: none; }
137 /* Demote <h1>'s and set rest of headers relative. */
138 h1 {
139 font-size: 100%;
140 color: black;
141 border-bottom: solid 1px rgb(204,0,0);
144 h2 {
145 font-size: 95%;
146 border-bottom: none;
149 h3 {
150 font-size: 90%;
153 h4 {
154 font-size: 85%;