]>
git.cameronkatri.com Git - mandoc.git/blob - style.css
1 /* $Id: style.css,v 1.21 2011/02/09 09:52:47 kristaps Exp $ */
3 html
{ max-width: 800px; }
6 font-family: Times
, serif
; }
8 /* Preamble structure. */
10 table
.foot
{ width: 100%;
13 border-top: 1px dotted
#dddddd;
14 color: #999999; } /* Document footer. */
15 td
.foot-date
{ width: 50%; } /* Document footer: date. */
16 td
.foot-os
{ width: 50%; text-align: right
; } /* Document footer: OS/source. */
17 table
.head
{ width: 100%;
20 border-bottom: 1px dotted
#dddddd;
21 color: #999999; } /* Document header. */
22 td
.head-ltitle
{ width: 10%; } /* Document header: left-title. */
23 td
.head-vol
{ width: 80%; text-align: center
; } /* Document header: volume. */
24 td
.head-rtitle
{ width: 10%; text-align: right
; } /* Document header: right-title. */
28 h1
{ margin-bottom: 0px; color: #000000; font-size: 0.93em; margin-left: -4ex; } /* Section header (Sh, SH). */
29 h2
{ margin-bottom: 0px; color: #000000; font-size: 0.93em; margin-left: -2ex; } /* Sub-section header (Ss, SS). */
30 div
.section
{ margin-bottom: 2ex; margin-left: 4ex; } /* Sections (Sh, SH). */
31 div
.subsection
{ } /* Sub-sections (Ss, SS). */
32 table
.synopsis
{ } /* SYNOPSIS section table. */
34 /* Vertical spacing. */
36 p
{ } /* Paragraph: Pp, Lp. */
37 blockquote
{ margin-top: 0px; margin-bottom: 0px; }
38 table
{ margin-top: 0px; margin-bottom: 0px; }
39 td
{ vertical-align: top
; } /* SYNOPSIS section table. */
41 /* General font modes. */
43 .emph { font-style: italic
; font-weight: normal
; } /* Emphasis: Em, Bl -emphasis. */
44 .symb { font-style: normal
; font-weight: bold
; } /* Symbolic: Sy, Ms, Bf -symbolic. */
48 .display { background-color: #EEEEEE;
51 border: 1px solid
#339999; } /* Top of all Bd, D1, Dl. */
52 .list { } /* Top of all Bl. */
54 /* Context-specific modes. */
56 i
.addr
{ font-weight: normal
; } /* Address (Ad). */
57 i
.arg
{ font-weight: normal
; } /* Command argument (Ar). */
58 span
.author
{ } /* Author name (An). */
59 b
.cmd
{ font-style: normal
; } /* Command (Cm). */
60 b
.config
{ font-style: normal
; } /* Config statement (Cd). */
61 span
.define
{ } /* Defines (Dv). */
62 span
.desc
{ } /* Nd. After em-dash. */
63 b
.diag
{ font-style: normal
; } /* Diagnostic (Bl -diag). */
64 span
.env
{ } /* Environment variables (Ev). */
65 span
.errno
{ } /* Error string (Er). */
66 i
.farg
{ font-weight: normal
; } /* Function argument (Fa, Fn). */
67 i
.file
{ font-weight: normal
; } /* File (Pa). */
68 b
.flag
{ font-style: normal
; } /* Flag (Fl, Cm). */
69 b
.fname
{ font-style: normal
; } /* Function name (Fa, Fn, Rv). */
70 i
.ftype
{ font-weight: normal
; } /* Function types (Ft, Fn). */
71 b
.includes
{ font-style: normal
; } /* Header includes (In). */
72 span
.lib
{ } /* Library (Lb). */
73 i
.link-sec
{ font-weight: normal
; } /* Section links (Sx). */
74 code
.lit
{ font-style: normal
; font-weight: normal
; } /* Literal: Dl, Li, Bf -literal, Bl -literal, Bl -unfilled. */
75 b
.macro
{ font-style: normal
; } /* Macro-ish thing (Fd). */
76 b
.name
{ color: blue
; font-style: normal
; } /* Name of utility (Nm). */
77 span
.opt
{ } /* Options (Op, Oo/Oc). */
78 span
.ref
{ } /* Citations (Rs). */
79 span
.ref-auth
{ } /* Reference author (%A). */
80 i
.ref-book
{ font-weight: normal
; } /* Reference book (%B). */
81 span
.ref-city
{ } /* Reference city (%C). */
82 span
.ref-date
{ } /* Reference date (%D). */
83 i
.ref-issue
{ font-weight: normal
; } /* Reference issuer/publisher (%I). */
84 i
.ref-jrnl
{ font-weight: normal
; } /* Reference journal (%J). */
85 span
.ref-num
{ } /* Reference number (%N). */
86 span
.ref-opt
{ } /* Reference optionals (%O). */
87 span
.ref-page
{ } /* Reference page (%P). */
88 span
.ref-corp
{ } /* Reference corporate/foreign author (%Q). */
89 span
.ref-rep
{ } /* Reference report (%R). */
90 span
.ref-title
{ text-decoration: underline
; } /* Reference title (%T). */
91 span
.ref-vol
{ } /* Reference volume (%V). */
92 span
.type
{ font-style: italic
; font-weight: normal
; } /* Variable types (Vt). */
93 span
.unix
{ } /* Unices (Ux, Ox, Nx, Fx, Bx, Bsx, Dx). */
94 b
.utility
{ font-style: normal
; } /* Name of utility (Ex). */
95 b
.var
{ font-style: normal
; } /* Variables (Rv). */
97 a
.link-ext
{ background: transparent url
(external.png) center right no-repeat
; padding-right: 12px; }/* Off-site link (Lk). */
98 a
.link-includes
{ } /* Include-file link (In). */
99 a
.link-mail
{ background: transparent url
(external.png) center right no-repeat
; padding-right: 12px; }/* Mailto links (Mt). */
100 a
.link-man
{ } /* Manual links (Xr). */
101 a
.link-ref
{ } /* Reference section links (%Q). */
102 a
.link-sec
{ text-decoration: none
; border-bottom: 1px dotted
#339999; } /* Section links (Sx). */
104 /* Formatting for lists. */
120 dd
.list-ohang
{ margin-left: 0em; }
130 ul
.list-bul
{ list-style-type: disc
; padding-left: 1em; }
133 ul
.list-dash
{ list-style-type: none
; padding-left: 0em; }
134 li
.list-dash:before
{ content: "\2014 "; }
136 ul
.list-hyph
{ list-style-type: none
; padding-left: 0em; }
137 li
.list-hyph:before
{ content: "\2013 "; }
139 ul
.list-item
{ list-style-type: none
; padding-left: 0em; }
142 ol
.list-enum
{ padding-left: 2em; }
145 /* Equation modes. See eqn(7). */
149 /* Table modes. See tbl(7). */