]>
git.cameronkatri.com Git - mandoc.git/blob - mandoc.css
1 /* $Id: mandoc.css,v 1.31 2018/05/26 20:04:41 schwarze Exp $ */
3 * Standard style sheet for mandoc(1) -Thtml and man.cgi(8).
8 html
{ max-width: 65em; }
9 body
{ font-family: Helvetica
,Arial
,sans-serif
; }
10 table
{ margin-top: 0em;
12 td
{ vertical-align: top
; }
13 ul
, ol
, dl
{ margin-top: 0em;
15 li
, dt
{ margin-top: 1em; }
17 a
.permalink
{ border-bottom: thin dotted
;
20 text-decoration: inherit
; }
23 /* Search form and search results. */
25 fieldset
{ border: thin solid silver
;
31 table
.results
{ margin-top: 1em;
35 /* Header and footer lines. */
37 table
.head
{ width: 100%;
38 border-bottom: 1px dotted
#808080;
41 td
.head-vol
{ text-align: center
; }
44 div
.Nd
{ display: inline
; }
46 table
.foot
{ width: 100%;
47 border-top: 1px dotted
#808080;
50 td
.foot-os
{ text-align: right
; }
52 /* Sections and paragraphs. */
56 h1
.Sh
{ margin-top: 2ex;
60 h2
.Ss
{ margin-top: 2ex;
64 div
.Pp
{ margin: 1ex 0ex; }
68 /* Displays and lists. */
71 div
.D1
{ margin-left: 3.8em; }
73 ul
.Bl-bullet
{ list-style-type: disc
;
76 ul
.Bl-dash
{ list-style-type: none
;
78 ul
.Bl-dash
> li:before
{
80 ul
.Bl-item
{ list-style-type: none
;
86 ol
.Bl-enum
{ padding-left: 2em; }
100 margin-left: 5.5em; }
109 dl
.Bl-tag
{ margin-left: 5.5em; }
114 padding-right: 1.2em;
115 vertical-align: top
; }
127 table
.Bl-column
> tbody
> tr
{ }
128 table
.Bl-column
> tbody
> tr
> td
{
130 table
.Bl-compact
> tbody
> tr
> td
{
133 cite
.Rs
{ font-style: normal
;
134 font-weight: normal
; }
136 i
.RsB
{ font-weight: normal
; }
139 i
.RsI
{ font-weight: normal
; }
140 i
.RsJ
{ font-weight: normal
; }
146 span
.RsT
{ text-decoration: underline
; }
153 /* Semantic markup for command line utilities. */
156 code
.Nm
{ font-style: normal
;
158 font-family: inherit
; }
159 code
.Fl
{ font-style: normal
;
161 font-family: inherit
; }
162 code
.Cm
{ font-style: normal
;
164 font-family: inherit
; }
165 var
.Ar
{ font-style: italic
;
166 font-weight: normal
; }
167 div
.Op
{ display: inline
; }
168 code
.Ic
{ font-style: normal
;
170 font-family: inherit
; }
171 code
.Ev
{ font-style: normal
;
173 font-family: monospace
; }
174 span
.Pa
{ font-style: italic
;
175 font-weight: normal
; }
177 /* Semantic markup for function libraries. */
180 code
.In
{ font-style: normal
;
182 font-family: inherit
; }
184 code
.Fd
{ font-style: normal
;
186 font-family: inherit
; }
187 var
.Ft
{ font-style: italic
;
188 font-weight: normal
; }
189 code
.Fn
{ font-style: normal
;
191 font-family: inherit
; }
192 var
.Fa
{ font-style: italic
;
193 font-weight: normal
; }
194 var
.Vt
{ font-style: italic
;
195 font-weight: normal
; }
196 var
.Va
{ font-style: italic
;
197 font-weight: normal
; }
198 code
.Dv
{ font-style: normal
;
200 font-family: monospace
; }
201 code
.Er
{ font-style: normal
;
203 font-family: monospace
; }
205 /* Various semantic markup. */
210 code
.Cd
{ font-style: normal
;
212 font-family: inherit
; }
213 span
.Ad
{ font-style: italic
;
214 font-weight: normal
; }
215 span
.Ms
{ font-style: normal
;
220 /* Physical markup. */
222 .Bf { display: inline
; }
223 .No { font-style: normal
;
224 font-weight: normal
; }
225 .Em { font-style: italic
;
226 font-weight: normal
; }
227 .Sy { font-style: normal
;
229 .Li { font-style: normal
;
231 font-family: monospace
; }
233 /* Overrides to avoid excessive margins on small devices. */
235 @media (max-width: 37.5em) {
237 margin-left: 0.5em; }
238 h1
.Sh
, h2
.Ss
{ margin-left: 0em; }
239 div
.D1
{ margin-left: 2em; }
242 dl
.Bl-tag
{ margin-left: 2em; }