Skip to content

Commit 4c7f148

Browse files
author
Richard Jones
committed
new CSS
1 parent 213ba3b commit 4c7f148

File tree

1 file changed

+16
-11
lines changed

1 file changed

+16
-11
lines changed

doc/default.css

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
:Author: David Goodger
33
4-
:date: $Date: 2002-04-11 00:26:05 $
5-
:version: $Revision: 1.3 $
4+
:date: $Date: 2002-05-24 03:12:39 $
5+
:version: $Revision: 1.4 $
66
:copyright: This stylesheet has been placed in the public domain.
77
88
Default cascading style sheet for the HTML output of Docutils.
@@ -15,6 +15,9 @@ a.footnote-reference {
1515
a.target {
1616
color: blue }
1717

18+
code {
19+
background-color: #eeeeee }
20+
1821
div.abstract {
1922
margin: 2em 5em }
2023

@@ -28,13 +31,15 @@ div.important, div.note, div.tip, div.warning {
2831
border: medium outset ;
2932
padding: 1em }
3033

31-
div.attention h3, div.caution h3, div.danger h3, div.error h3,
32-
div.warning h3 {
34+
div.attention p.admonition-title, div.caution p.admonition-title,
35+
div.danger p.admonition-title, div.error p.admonition-title,
36+
div.warning p.admonition-title {
3337
color: red ;
3438
font-weight: bold ;
3539
font-family: sans-serif }
3640

37-
div.hint h3, div.important h3, div.note h3, div.tip h3 {
41+
div.hint p.admonition-title, div.important p.admonition-title,
42+
div.note p.admonition-title, div.tip p.admonition-title {
3843
font-weight: bold ;
3944
font-family: sans-serif }
4045

@@ -57,15 +62,13 @@ div.system-message {
5762
border: medium outset ;
5863
padding: 1em }
5964

60-
div.system-message h3 {
61-
color: red }
65+
div.system-message p.system-message-title {
66+
color: red ;
67+
font-weight: bold }
6268

6369
div.topic {
6470
margin: 2em }
6571

66-
dt {
67-
margin-bottom: -1em }
68-
6972
h1.title {
7073
text-align: center }
7174

@@ -112,7 +115,9 @@ p.topic-title {
112115
font-weight: bold }
113116

114117
pre.literal-block, pre.doctest-block {
115-
margin-left: 2em }
118+
margin-left: 2em ;
119+
margin-right: 2em ;
120+
background-color: #eeeeee }
116121

117122
span.classifier {
118123
font-family: sans-serif ;

0 commit comments

Comments
 (0)