]>
git.cameronkatri.com Git - mandoc.git/blob - style.css
1 /* $Id: style.css,v 1.20 2010/12/24 22:51:13 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. */
33 table
.synopsis td
{ vertical-align: top
; } /* SYNOPSIS section table. */
35 /* Vertical spacing. */
37 p
{ } /* Paragraph: Pp, Lp. */
38 blockquote
{ margin-top: 0px; margin-bottom: 0px; }
39 table
{ margin-top: 0px; margin-bottom: 0px; }
41 /* General font modes. */
43 .lit { font-family: monospace
; font-style: normal
; font-weight: normal
; } /* Literal: Dl, Li, Bf -literal, Bl -literal, Bl -unfilled. */
44 .italic { font-style: italic
; font-weight: normal
; } /* Italic: BI, IB, I, (implicit). */
45 .emph { font-style: italic
; font-weight: normal
; } /* Emphasis: Em, Bl -emphasis. */
46 .bold { font-style: normal
; font-weight: bold
; } /* Bold: SB, BI, IB, BR, RB, B, (implicit). */
47 .symb { font-style: normal
; font-weight: bold
; } /* Symbolic: Sy, Ms, Bf -symbolic. */
48 .roman { font-style: normal
; font-weight: normal
; } /* Roman: (implicit). */
49 .small { font-style: normal
; font-weight: normal
; font-size: smaller
; } /* Small: SB, SM. */
53 .display { background-color: #EEEEEE;
56 border: 1px solid
#339999; } /* Top of all Bd, D1, Dl. */
57 .list { } /* Top of all Bl. */
59 /* Context-specific modes. */
61 i
.addr
{ font-weight: normal
; } /* Address (Ad). */
62 i
.arg
{ font-weight: normal
; } /* Command argument (Ar). */
63 span
.author
{ } /* Author name (An). */
64 b
.cmd
{ font-style: normal
; } /* Command (Cm). */
65 b
.config
{ font-style: normal
; } /* Config statement (Cd). */
66 span
.define
{ } /* Defines (Dv). */
67 span
.desc
{ } /* Nd. After em-dash. */
68 b
.diag
{ font-style: normal
; } /* Diagnostic (Bl -diag). */
69 span
.env
{ } /* Environment variables (Ev). */
70 span
.errno
{ } /* Error string (Er). */
71 i
.farg
{ font-weight: normal
; } /* Function argument (Fa, Fn). */
72 i
.file
{ font-weight: normal
; } /* File (Pa). */
73 b
.flag
{ font-style: normal
; } /* Flag (Fl, Cm). */
74 b
.fname
{ font-style: normal
; } /* Function name (Fa, Fn, Rv). */
75 i
.ftype
{ font-weight: normal
; } /* Function types (Ft, Fn). */
76 b
.includes
{ font-style: normal
; } /* Header includes (In). */
77 span
.lib
{ } /* Library (Lb). */
78 b
.macro
{ font-style: normal
; } /* Macro-ish thing (Fd). */
79 b
.name
{ color: blue
; font-style: normal
; } /* Name of utility (Nm). */
80 span
.opt
{ } /* Options (Op, Oo/Oc). */
81 span
.ref
{ } /* Citations (Rs). */
82 span
.ref-auth
{ } /* Reference author (%A). */
83 i
.ref-book
{ font-weight: normal
; } /* Reference book (%B). */
84 span
.ref-city
{ } /* Reference city (%C). */
85 span
.ref-date
{ } /* Reference date (%D). */
86 i
.ref-issue
{ font-weight: normal
; } /* Reference issuer/publisher (%I). */
87 i
.ref-jrnl
{ font-weight: normal
; } /* Reference journal (%J). */
88 span
.ref-num
{ } /* Reference number (%N). */
89 span
.ref-opt
{ } /* Reference optionals (%O). */
90 span
.ref-page
{ } /* Reference page (%P). */
91 span
.ref-corp
{ } /* Reference corporate/foreign author (%Q). */
92 span
.ref-rep
{ } /* Reference report (%R). */
93 span
.ref-title
{ text-decoration: underline
; } /* Reference title (%T). */
94 span
.ref-vol
{ } /* Reference volume (%V). */
95 span
.type
{ font-style: italic
; font-weight: normal
; } /* Variable types (Vt). */
96 span
.unix
{ } /* Unices (Ux, Ox, Nx, Fx, Bx, Bsx, Dx). */
97 b
.utility
{ font-style: normal
; } /* Name of utility (Ex). */
98 b
.var
{ font-style: normal
; } /* Variables (Rv). */
100 a
.link-ext
{ background: transparent url
(external.png) center right no-repeat
; padding-right: 12px; }/* Off-site link (Lk). */
101 a
.link-includes
{ } /* Include-file link (In). */
102 a
.link-mail
{ background: transparent url
(external.png) center right no-repeat
; padding-right: 12px; }/* Mailto links (Mt). */
103 a
.link-man
{ } /* Manual links (Xr). */
104 a
.link-ref
{ } /* Reference section links (%Q). */
105 a
.link-sec
{ text-decoration: none
; border-bottom: 1px dotted
#339999; } /* Section links (Sx). */
107 /* Formatting for lists. */
123 dd
.list-ohang
{ margin-left: 0em; }
133 ul
.list-bul
{ list-style-type: disc
; padding-left: 1em; }
136 ul
.list-dash
{ list-style-type: none
; padding-left: 0em; }
137 li
.list-dash:before
{ content: "\2014 "; }
139 ul
.list-hyph
{ list-style-type: none
; padding-left: 0em; }
140 li
.list-hyph:before
{ content: "\2013 "; }
142 ul
.list-item
{ list-style-type: none
; padding-left: 0em; }
145 ol
.list-enum
{ padding-left: 2em; }