Apply patch for [CVE-2012-2677][boost] ordered_malloc() overflow
[external/boost.git] / rst.css
1 @import url("doc/src/boostbook.css");
2 @import url("doc/src/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  */
7
8 dl.docutils dt {
9   font-weight: bold }
10
11 img.boost-logo {
12   border: none;
13   vertical-align: middle
14 }
15
16 pre.literal-block span.concept {
17   font-style: italic;
18 }
19
20 .nav { 
21 display: inline;
22 list-style-type: none;
23 }
24
25 .prevpage {
26 padding-top: -5px;
27 text-align: left;
28 float: left;
29 }
30
31 .nextpage {
32 padding-top: -20px;
33 text-align: right;
34 float: right;
35 }
36
37 div.small {
38    font-size: smaller }
39
40 h2 a { 
41    font-size: 90%; 
42 }
43 h3 a { 
44    font-size: 80%; 
45 }
46 h4 a { 
47    font-size: 70%; 
48 }
49 h5 a { 
50    font-size: 60%; 
51 }
52
53 dl,table
54 {
55    text-align: left;
56    font-size: 10pt; 
57    line-height: 1.15;
58 }
59
60
61 /*=============================================================================
62     Tables
63 =============================================================================*/
64
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.
70 */
71
72     table[border="1"]
73     {
74         width: 92%;
75         margin-left: 4%;
76         margin-right: 4%;
77     }
78     
79     table[border="1"]
80     {
81         padding: 4px;
82     }
83     
84     /* Table Cells */
85     table[border="1"] tr td
86     {
87         padding: 0.5em;
88         text-align: left;
89         font-size: 9pt;
90     }
91
92     table[border="1"] tr th
93     {
94         padding: 0.5em 0.5em 0.5em 0.5em;
95         border: 1pt solid white;
96         font-size: 80%;
97     }
98
99     @media screen
100     {
101     
102     /* Tables */
103         table[border="1"] tr td
104         {
105             border: 1px solid #DCDCDC;
106         }
107     
108         table[border="1"] tr th
109         {
110             background-color: #F0F0F0;
111             border: 1px solid #DCDCDC;
112         }
113
114         pre, 
115         .screen
116         {
117             border: 1px solid #DCDCDC;
118         }
119     
120         td pre
121         td .screen
122         {
123             border: 0px
124         }
125     
126         .sidebar pre
127         {
128             border: 0px
129         }
130     
131     }
132
133     pre, 
134     .screen
135     {
136         font-size: 9pt;
137         display: block;
138         margin: 1pc 4% 0pc 4%;
139         padding: 0.5pc 0.5pc 0.5pc 0.5pc;
140     }
141
142     /* Program listings in tables don't get borders */
143     td pre, 
144     td .screen
145     {
146         margin: 0pc 0pc 0pc 0pc;
147         padding:  0pc 0pc 0pc 0pc;
148     }
149