summaryrefslogtreecommitdiffstats
path: root/nikola/data/themes/default/assets
diff options
context:
space:
mode:
Diffstat (limited to 'nikola/data/themes/default/assets')
-rw-r--r--nikola/data/themes/default/assets/css/rst.css121
1 files changed, 59 insertions, 62 deletions
diff --git a/nikola/data/themes/default/assets/css/rst.css b/nikola/data/themes/default/assets/css/rst.css
index 1f0edcb..cf73111 100644
--- a/nikola/data/themes/default/assets/css/rst.css
+++ b/nikola/data/themes/default/assets/css/rst.css
@@ -1,8 +1,6 @@
/*
-:Author: David Goodger
-:Contact: goodger@users.sourceforge.net
-:Date: $Date: 2005-12-18 01:56:14 +0100 (Sun, 18 Dec 2005) $
-:Revision: $Revision: 4224 $
+:Author: David Goodger (goodger@python.org)
+:Id: $Id: html4css1.css 7514 2012-09-14 14:27:12Z milde $
:Copyright: This stylesheet has been placed in the public domain.
Default cascading style sheet for the HTML output of Docutils.
@@ -35,11 +33,15 @@ a.toc-backref {
color: black }
blockquote.epigraph {
- margin: 2em 1em ; }
+ margin: 2em 5em ; }
dl.docutils dd {
margin-bottom: 0.5em }
+object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] {
+ overflow: hidden;
+}
+
/* Uncomment (and remove this text!) to get bold-faced definition list terms
dl.docutils dt {
font-weight: bold }
@@ -54,16 +56,9 @@ div.abstract p.topic-title {
div.admonition, div.attention, div.caution, div.danger, div.error,
div.hint, div.important, div.note, div.tip, div.warning {
- padding: 8px 35px 8px 14px;
- margin-bottom: 18px;
- text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
- background-color: #d9edf7;
- color: #3a87ad;
- border: 1px solid #bce8f1;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- border-radius: 4px;
-}
+ margin: 2em ;
+ border: medium outset ;
+ padding: 1em }
div.admonition p.admonition-title, div.hint p.admonition-title,
div.important p.admonition-title, div.note p.admonition-title,
@@ -73,7 +68,7 @@ div.tip p.admonition-title {
div.attention p.admonition-title, div.caution p.admonition-title,
div.danger p.admonition-title, div.error p.admonition-title,
-div.warning p.admonition-title {
+div.warning p.admonition-title, .code .error {
color: red ;
font-weight: bold ;
font-family: sans-serif }
@@ -97,7 +92,6 @@ div.dedication p.topic-title {
font-style: normal }
div.figure {
- text-align: center;
margin-left: 2em ;
margin-right: 2em }
@@ -116,7 +110,7 @@ div.line-block div.line-block {
margin-left: 1.5em }
div.sidebar {
- margin-left: 1em ;
+ margin: 0 0 0.5em 1em ;
border: medium outset ;
padding: 1em ;
background-color: #ffffee ;
@@ -135,21 +129,11 @@ div.system-messages h1 {
color: red }
div.system-message {
- padding: 8px 35px 8px 14px;
- margin-bottom: 18px;
- text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
- border: 1px solid #eed3d7;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- border-radius: 4px;
- padding: 1em;
- background-color: #f2dede;
- color: #b94a48;
-
-}
+ border: medium outset ;
+ padding: 1em }
div.system-message p.system-message-title {
- color: inherit ;
+ color: red ;
font-weight: bold }
div.topic {
@@ -168,11 +152,38 @@ h2.subtitle {
hr.docutils {
width: 75% }
-img.align-left {
- clear: left }
+img.align-left, .figure.align-left, object.align-left {
+ clear: left ;
+ float: left ;
+ margin-right: 1em }
-img.align-right {
- clear: right }
+img.align-right, .figure.align-right, object.align-right {
+ clear: right ;
+ float: right ;
+ margin-left: 1em }
+
+img.align-center, .figure.align-center, object.align-center {
+ display: block;
+ margin-left: auto;
+ margin-right: auto;
+}
+
+.align-left {
+ text-align: left }
+
+.align-center {
+ clear: both ;
+ text-align: center }
+
+.align-right {
+ text-align: right }
+
+/* reset inner alignment in figures */
+div.align-right {
+ text-align: inherit }
+
+/* div.align-center * { */
+/* text-align: left } */
ol.simple, ul.simple {
margin-bottom: 1em }
@@ -227,16 +238,20 @@ p.topic-title {
pre.address {
margin-bottom: 0 ;
margin-top: 0 ;
- font-family: serif ;
- font-size: 100% }
+ font: inherit }
-pre.literal-block, pre.doctest-block {
- margin: 0 0 0 0 ;
- background-color: #eeeeee;
- padding: 1em;
- overflow: auto;
-/* font-family: "Courier New", Courier, monospace;*/
-}
+pre.literal-block, pre.doctest-block, pre.math, pre.code {
+ margin-left: 2em ;
+ margin-right: 2em }
+
+pre.code .ln { color: grey; } /* line numbers */
+pre.code, code { background-color: #eeeeee }
+pre.code .comment, code .comment { color: #5C6576 }
+pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
+pre.code .literal.string, code .literal.string { color: #0C5404 }
+pre.code .name.builtin, code .name.builtin { color: #352B84 }
+pre.code .deleted, code .deleted { background-color: #DEB0A1}
+pre.code .inserted, code .inserted { background-color: #A3D289}
span.classifier {
font-family: sans-serif ;
@@ -293,23 +308,5 @@ h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
font-size: 100% }
-tt.docutils {
- background-color: #eeeeee }
-
ul.auto-toc {
list-style-type: none }
-
-#blog-title {
- font-size: 34pt;
- /*margin:0 0.3em -14px;*/
- background-color: #FFF;
- font-family: "courier";
- text-align: right;
- margin-top: 20px;
- margin-bottom: 10px;
-}
-
-img {
- margin-top: 12px;
- margin-bottom: 12px;
-}