Skip to content

Commit e54b625

Browse files
committed
Aligned CSS with latest DocUtils version.
1 parent be81a86 commit e54b625

2 files changed

Lines changed: 28 additions & 20 deletions

File tree

DBUtils/Docs/Doc.css

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@
1111
/* Customization for Webware goes here: */
1212

1313
body {
14-
background-color: #FFFFFF;
15-
font-family: Verdana, Arial, Helvetica, sans-serif;
16-
font-size: 10pt;
17-
padding: 12pt;
14+
background-color: #FFFFFF;
15+
font-family: Verdana, Arial, Helvetica, sans-serif;
16+
font-size: 10pt;
17+
padding: 12pt;
1818
}
1919
table {
2020
empty-cells: show;
2121
}
2222
td, th {
23-
font-family: Verdana, Arial, Helvetica, sans-serif;
24-
font-size: 10pt;
23+
font-family: Verdana, Arial, Helvetica, sans-serif;
24+
font-size: 10pt;
2525
}
2626
p {
2727
margin-top: 6pt;

DBUtils/Docs/DocUtils.css

Lines changed: 22 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
/*
22
Default cascading style sheet for the HTML output of Docutils.
3-
Written by David Goodger. Version as of Docutils 0.3.9.
3+
Written by David Goodger. Version as of Docutils 0.5.
44
This stylesheet has been placed in the public domain.
55
*/
66

7+
.borderless, table.borderless td, table.borderless th {
8+
border: 0 }
9+
10+
table.borderless td, table.borderless th {
11+
padding: 0 0.5em 0 0 ! important }
12+
713
.first {
814
margin-top: 0 ! important }
915

@@ -68,9 +74,11 @@ div.dedication p.topic-title {
6874
font-style: normal }
6975

7076
div.figure {
71-
margin-left: 2em }
77+
margin-left: 2em;
78+
margin-right: 2em }
7279

7380
div.footer, div.header {
81+
clear: both;
7482
font-size: smaller }
7583

7684
div.line-block {
@@ -84,7 +92,7 @@ div.line-block div.line-block {
8492
margin-left: 1.5em }
8593

8694
div.sidebar {
87-
margin-left: 1em;
95+
margin: 0 0 0.5em 1em;
8896
border: medium outset;
8997
padding: 1em;
9098
background-color: #ffffee;
@@ -126,6 +134,12 @@ h2.subtitle {
126134
hr.docutils {
127135
width: 75% }
128136

137+
img.align-left {
138+
clear: left }
139+
140+
img.align-right {
141+
clear: right }
142+
129143
ol.simple, ul.simple {
130144
margin-bottom: 1em }
131145

@@ -182,14 +196,9 @@ pre.address {
182196
font-family: serif;
183197
font-size: 100% }
184198

185-
pre.line-block {
186-
font-family: serif;
187-
font-size: 100% }
188-
189199
pre.literal-block, pre.doctest-block {
190200
margin-left: 2em;
191-
margin-right: 2em;
192-
background-color: #eeeeee }
201+
margin-right: 2em }
193202

194203
span.classifier {
195204
font-family: sans-serif;
@@ -215,7 +224,8 @@ span.section-subtitle {
215224
font-size: 80% }
216225

217226
table.citation {
218-
border-left: solid thin gray }
227+
border-left: solid 1px gray;
228+
margin-left: 1px }
219229

220230
table.docinfo {
221231
margin: 2em 4em }
@@ -225,7 +235,8 @@ table.docutils {
225235
margin-bottom: 0.5em }
226236

227237
table.footnote {
228-
border-left: solid thin black }
238+
border-left: solid 1px black;
239+
margin-left: 1px }
229240

230241
table.docutils td, table.docutils th,
231242
table.docinfo td, table.docinfo th {
@@ -243,8 +254,5 @@ h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
243254
h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
244255
font-size: 100% }
245256

246-
tt.docutils {
247-
background-color: #eeeeee }
248-
249257
ul.auto-toc {
250258
list-style-type: none }

0 commit comments

Comments
 (0)