]>
git.cameronkatri.com Git - mandoc.git/blob - mandoc.css
1 /* $Id: mandoc.css,v 1.6 2017/01/19 15:48:39 schwarze Exp $ */
3 * Standard style sheet for mandoc(1) -Thtml and man.cgi(8).
8 html
{ max-width: 100ex; }
9 body
{ font-family: Helvetica
,Arial
,sans-serif
; }
13 td
{ vertical-align: top
; }
15 /* Search form and search results. */
17 fieldset
{ border: thin solid silver
;
23 div
.results
{ margin-top: 1em;
27 /* Header and footer lines. */
29 table
.head
{ border-bottom: 1px dotted
#808080;
32 td
.head-vol
{ text-align: center
; }
36 table
.foot
{ border-top: 1px dotted
#808080;
39 td
.foot-date
{ width: 50%; }
40 td
.foot-os
{ width: 50%;
43 /* Sections and paragraphs. */
47 h1
.Sh
{ margin-top: 2ex;
51 h2
.Ss
{ margin-top: 2ex;
55 div
.Pp
{ margin: 1ex 0ex; }
60 blockquote
{ margin-left: 5ex; margin-top: 0ex; margin-bottom: 0ex; } /* D1. */
61 table
.synopsis
{ } /* SYNOPSIS section table. */
63 /* General font modes. */
65 i
{ } /* Italic: BI, IB, I, (implicit). */
66 .emph { font-style: italic
; font-weight: normal
; } /* Emphasis: Em, Bl -emphasis. */
67 b
{ } /* Bold: SB, BI, IB, BR, RB, B, (implicit). */
68 .symb { font-style: normal
; font-weight: bold
; } /* Symbolic: Sy, Ms, Bf -symbolic. */
69 small
{ } /* Small: SB, SM. */
70 .lit { font-style: normal
; font-weight: normal
; font-family: monospace
; } /* Literal: Dl, Li, Ql, Bf -literal, Bl -literal, Bl -unfilled. */
74 .display { } /* Top of all Bd, D1, Dl. */
75 .list { } /* Top of all Bl. */
77 /* Context-specific modes. */
79 i
.addr
{ font-weight: normal
; } /* Address (Ad). */
80 i
.arg
{ font-weight: normal
; } /* Command argument (Ar). */
81 span
.author
{ } /* Author name (An). */
82 b
.cmd
{ font-style: normal
; } /* Command (Cm). */
83 b
.config
{ font-style: normal
; } /* Config statement (Cd). */
84 span
.define
{ } /* Defines (Dv). */
85 span
.desc
{ } /* Nd. After em-dash. */
86 b
.diag
{ font-style: normal
; } /* Diagnostic (Bl -diag). */
87 span
.env
{ } /* Environment variables (Ev). */
88 span
.errno
{ } /* Error string (Er). */
89 i
.farg
{ font-weight: normal
; } /* Function argument (Fa, Fn). */
90 i
.file
{ font-weight: normal
; } /* File (Pa). */
91 b
.flag
{ font-style: normal
; } /* Flag (Fl, Cm). */
92 b
.fname
{ font-style: normal
; } /* Function name (Fa, Fn, Rv). */
93 i
.ftype
{ font-weight: normal
; } /* Function types (Ft, Fn). */
94 b
.includes
{ font-style: normal
; } /* Header includes (In). */
95 span
.lib
{ } /* Library (Lb). */
96 b
.macro
{ font-style: normal
; } /* Macro-ish thing (Fd). */
97 b
.name
{ font-style: normal
; } /* Name of utility (Nm). */
98 span
.opt
{ } /* Options (Op, Oo/Oc). */
99 span
.ref
{ } /* Citations (Rs). */
100 span
.ref-auth
{ } /* Reference author (%A). */
101 i
.ref-book
{ font-weight: normal
; } /* Reference book (%B). */
102 span
.ref-city
{ } /* Reference city (%C). */
103 span
.ref-date
{ } /* Reference date (%D). */
104 i
.ref-issue
{ font-weight: normal
; } /* Reference issuer/publisher (%I). */
105 i
.ref-jrnl
{ font-weight: normal
; } /* Reference journal (%J). */
106 span
.ref-num
{ } /* Reference number (%N). */
107 span
.ref-opt
{ } /* Reference optionals (%O). */
108 span
.ref-page
{ } /* Reference page (%P). */
109 span
.ref-corp
{ } /* Reference corporate/foreign author (%Q). */
110 span
.ref-rep
{ } /* Reference report (%R). */
111 span
.ref-title
{ text-decoration: underline
; } /* Reference title (%T). */
112 span
.ref-vol
{ } /* Reference volume (%V). */
113 span
.type
{ font-style: italic
; font-weight: normal
; } /* Variable types (Vt). */
114 span
.unix
{ } /* Unices (Ux, Ox, Nx, Fx, Bx, Bsx, Dx). */
115 b
.utility
{ font-style: normal
; } /* Name of utility (Ex). */
116 b
.var
{ font-style: normal
; } /* Variables (Rv). */
118 a
.link-ext
{ } /* Off-site link (Lk). */
119 a
.link-includes
{ } /* Include-file link (In). */
120 a
.link-mail
{ } /* Mailto links (Mt). */
121 a
.link-ref
{ } /* Reference section links (%Q). */
123 /* Formatting for lists. See mdoc(7). */
139 dd
.list-ohang
{ margin-left: 0ex; }
149 ul
.list-bul
{ list-style-type: disc
; padding-left: 1em; }
152 ul
.list-dash
{ list-style-type: none
; padding-left: 0em; }
153 li
.list-dash:before
{ content: "\2014 "; }
155 ul
.list-hyph
{ list-style-type: none
; padding-left: 0em; }
156 li
.list-hyph:before
{ content: "\2013 "; }
158 ul
.list-item
{ list-style-type: none
; padding-left: 0em; }
161 ol
.list-enum
{ padding-left: 2em; }
164 /* Equation modes. See eqn(7). */
168 /* Table modes. See tbl(7). */