fix doc example typo
[boost.git] / rst.css
blob657224b7b1972b0dd56bac54c2486185dce89c2e
1 @import url("doc/html/boostbook.css");
2 @import url("doc/html/docutils.css");
3 /* Copyright David Abrahams 2006. Distributed under the Boost
4 Software License, Version 1.0. (See accompanying
5 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 */
8 dl.docutils dt {
9 font-weight: bold }
11 img.boost-logo {
12 border: none;
13 vertical-align: middle
16 pre.literal-block span.concept {
17 font-style: italic;
20 .nav {
21 display: inline;
22 list-style-type: none;
25 .prevpage {
26 padding-top: -5px;
27 text-align: left;
28 float: left;
31 .nextpage {
32 padding-top: -20px;
33 text-align: right;
34 float: right;
37 div.small {
38 font-size: smaller }
40 h2 a {
41 font-size: 90%;
43 h3 a {
44 font-size: 80%;
46 h4 a {
47 font-size: 70%;
49 h5 a {
50 font-size: 60%;
53 dl,table
55 text-align: left;
56 font-size: 10pt;
57 line-height: 1.15;
61 /*=============================================================================
62 Tables
63 =============================================================================*/
65 /* The only clue docutils gives us that tables are logically tables,
66 and not, e.g., footnotes, is that they have border="1". Therefore
67 we're keying off of that. We used to manually patch docutils to
68 add a "table" class to all logical tables, but that proved much too
69 fragile.
72 table[border="1"]
74 width: 92%;
75 margin-left: 4%;
76 margin-right: 4%;
79 table[border="1"]
81 padding: 4px;
84 /* Table Cells */
85 table[border="1"] tr td
87 padding: 0.5em;
88 text-align: left;
89 font-size: 9pt;
92 table[border="1"] tr th
94 padding: 0.5em 0.5em 0.5em 0.5em;
95 border: 1pt solid white;
96 font-size: 80%;
99 @media screen
102 /* Tables */
103 table[border="1"] tr td
105 border: 1px solid #DCDCDC;
108 table[border="1"] tr th
110 background-color: #F0F0F0;
111 border: 1px solid #DCDCDC;
114 pre,
115 .screen
117 border: 1px solid #DCDCDC;
120 td pre
121 td .screen
123 border: 0px
126 .sidebar pre
128 border: 0px
133 pre,
134 .screen
136 font-size: 9pt;
137 display: block;
138 margin: 1pc 4% 0pc 4%;
139 padding: 0.5pc 0.5pc 0.5pc 0.5pc;
142 /* Program listings in tables don't get borders */
143 td pre,
144 td .screen
146 margin: 0pc 0pc 0pc 0pc;
147 padding: 0pc 0pc 0pc 0pc;