From b35cd3a021d755c94c58bcd18c236570a70e8b06 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Sat, 12 Jul 2008 23:40:45 -0700 Subject: modified rst stylesheet for knowledge section. TODO: tweak, look for problems --- static/style/docutils.css | 416 ++++++++++++++++++---------------------------- 1 file changed, 163 insertions(+), 253 deletions(-) (limited to 'static') diff --git a/static/style/docutils.css b/static/style/docutils.css index cd63ace..764652f 100644 --- a/static/style/docutils.css +++ b/static/style/docutils.css @@ -1,281 +1,191 @@ /* -:Author: David Goodger -:Contact: goodger@users.sourceforge.net -:Date: $Date: 2005-12-18 01:56:14 +0100 (Sun, 18 Dec 2005) $ -:Revision: $Revision: 4224 $ -:Copyright: This stylesheet has been placed in the public domain. +Author: Peter Parente +Date: 2008/01/22 +Version: 1.0 +Copyright: This stylesheet has been placed in the public domain - free to edit and use for all uses. -Default cascading style sheet for the HTML output of Docutils. +Modified by Bryan Newbold, July 2008 for personal use. -See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to -customize this style sheet. */ -div.document { - margin-top: -38px; } -/* used to remove borders from tables and images */ -.borderless, table.borderless td, table.borderless th { - border: 0 } +body { + font: 100%; + color: black; +} -table.borderless td, table.borderless th { - /* Override padding for "table.docutils td" with "! important". - The right padding separates the table cells. */ - padding: 0 0.5em 0 0 ! important } - -.first { - /* Override more specific margin styles with "! important". */ - margin-top: 0 ! important } - -.last, .with-subtitle { - margin-bottom: 0 ! important } +p.topic-title { + font-weight: bold; +} -.hidden { - display: none } +table.docinfo { + text-align: left; + margin: 2em 0em; +} a.toc-backref { - text-decoration: none ; - color: black } - -blockquote.epigraph { - margin: 2em 5em ; } - -dl.docutils dd { - margin-bottom: 0.5em } - -/* Uncomment (and remove this text!) to get bold-faced definition list terms -dl.docutils dt { - font-weight: bold } -*/ - -div.abstract { - margin: 2em 5em } - -div.abstract p.topic-title { - font-weight: bold ; - text-align: center } - -div.admonition, div.attention, div.caution, div.danger, div.error, -div.hint, div.important, div.note, div.tip, div.warning { - 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, -div.tip p.admonition-title { - font-weight: bold ; - font-family: sans-serif } - -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 { - color: red ; - font-weight: bold ; - font-family: sans-serif } - -/* Uncomment (and remove this text!) to get reduced vertical space in - compound paragraphs. -div.compound .compound-first, div.compound .compound-middle { - margin-bottom: 0.5em } - -div.compound .compound-last, div.compound .compound-middle { - margin-top: 0.5em } -*/ - -div.dedication { - margin: 2em 5em ; - text-align: center ; - font-style: italic } - -div.dedication p.topic-title { - font-weight: bold ; - font-style: normal } + text-decoration: none; +} -div.figure { - margin-left: 2em ; - margin-right: 2em } +a.strong { + font-weight: bold; +} -div.footer, div.header { - clear: both; - font-size: smaller } +img { + margin: 0; + border: 0; +} -div.line-block { - display: block ; - margin-top: 1em ; - margin-bottom: 1em } +p { + margin: 0.5em 0 1em 0; + line-height: 1.5em; +} -div.line-block div.line-block { - margin-top: 0 ; - margin-bottom: 0 ; - margin-left: 1.5em } +p img { + border: 0; + margin: 0; +} -div.sidebar { - margin-left: 1em ; - border: medium outset ; - padding: 1em ; - background-color: #ffffee ; - width: 40% ; - float: right ; - clear: right } - -div.sidebar p.rubric { - font-family: sans-serif ; - font-size: medium } - -div.system-messages { - margin: 5em } - -div.system-messages h1 { - color: red } - -div.system-message { - border: medium outset ; - padding: 1em } - -div.system-message p.system-message-title { - color: red ; - font-weight: bold } - -div.topic { - margin: 2em } +p.rubric { + font-weight: bold; + font-style: italic; +} -h1.section-subtitle, h2.section-subtitle, h3.section-subtitle, -h4.section-subtitle, h5.section-subtitle, h6.section-subtitle { - margin-top: 0.4em } +h1.pagetitle { + border-bottom: none; +} h1.title { - text-align: center } + text-align: center; + font-size: 250%; + margin-bottom: 0em; + border-bottom: 2px solid #aaa; +} h2.subtitle { - text-align: center } - -hr.docutils { - width: 75% } - -img.align-left { - clear: left } - -img.align-right { - clear: right } - -ol.simple, ul.simple { - margin-bottom: 1em } + text-align: center; + border-bottom: 0px; +} + +h1, h2, h3, h4, h5, h6 { + background-color: transparent; + margin: 0em; + padding-top: 0.5em; +} + +h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { + color: black; +} + +h1 { + text-align: left; + font-size: 160%; + margin-bottom: 0.5em; + border-bottom: 2px solid #aaa; +} + +h2 { + text-align: left; + font-size: 140%; + margin-bottom: 0.5em; + border-bottom: 1px solid #aaa; +} + +h3 { + text-align: left; + font-size: 130%; + margin-bottom: 0.5em; +} + +h4 { + text-align: left; + font-size: 110%; + font-weight: bold; + margin-bottom: 0.5em; +} + +h5 { + text-align: left; + font-size: 105%; + font-weight: bold; + margin-bottom: 0.5em; +} + +h6 { + text-align: left; + font-size: 100%; + font-weight: bold; + margin-bottom: 0.5em; +} + +dt { + font-style: italic; +} + +dd { + margin-bottom: 1.5em; +} + +div.admonition, div.note, div.tip, div.caution, div.warning, div.important { + margin: 2em 2em; + padding: 0em 1em; + border-top: 1px solid #aaa; + border-left: 1px solid #aaa; + border-bottom: 2px solid #555; + border-right: 2px solid #555; +} + +div.warning { + background-color: yellow; + border-top: 2px solid; + border-left: 2px solid; + border-color: orange; +} + +p.admonition-title { + font-weight: bold; + border-bottom: 1px solid #aaa; + padding-left: 30px; +} -ol.arabic { - list-style: decimal } - -ol.loweralpha { - list-style: lower-alpha } - -ol.upperalpha { - list-style: upper-alpha } - -ol.lowerroman { - list-style: lower-roman } - -ol.upperroman { - list-style: upper-roman } - -p.attribution { - text-align: right ; - margin-left: 50% } +table.docutils { + text-align: left; + border: 1px solid gray; + border-collapse: collapse; + width: 100%; + margin: 1.5em 0em; +} -p.caption { - font-style: italic } +table.docutils caption { + font-style: italic; +} -p.credits { - font-style: italic ; - font-size: smaller } +table.docutils td, table.docutils th { + padding: 0.25em 0.5em; +} -p.label { - white-space: nowrap } +table.docutils th { + background-color: #dddddd; +} -p.rubric { - font-weight: bold ; - font-size: larger ; - color: maroon ; - text-align: center } +div.sidebar { + width: 33%; + float: right; + margin: 0em 2em; + padding: 0em 1em; + border-top: 1px solid #aaa; + border-left: 1px solid #aaa; + border-bottom: 2px solid #555; + border-right: 2px solid #555; +} p.sidebar-title { - font-family: sans-serif ; - font-weight: bold ; - font-size: larger } + margin-bottom: 0em; + border-bottom: 1px solid #aaa; + font-weight: bold; +} p.sidebar-subtitle { - font-family: sans-serif ; - font-weight: bold } - -p.topic-title { - font-weight: bold } - -pre.address { - margin-bottom: 0 ; - margin-top: 0 ; - font-family: serif ; - font-size: 100% } - -pre.literal-block, pre.doctest-block { - margin-left: 2em ; - margin-right: 2em ; - background-color: #ffffff; } - -span.classifier { - font-family: sans-serif ; - font-style: oblique } - -span.classifier-delimiter { - font-family: sans-serif ; - font-weight: bold } - -span.interpreted { - font-family: sans-serif } - -span.option { - white-space: nowrap } - -span.pre { - white-space: pre } - -span.problematic { - color: red } - -span.section-subtitle { - /* font-size relative to parent (h1..h6 element) */ - font-size: 80% } - -table.citation { - border-left: solid 1px gray; - margin-left: 1px } - -table.docinfo { - margin: 2em 4em } - -table.docutils { - margin-top: 0.5em ; - margin-bottom: 0.5em } - -table.footnote { - border-left: solid 1px black; - margin-left: 1px } - -table.docutils td, table.docutils th, -table.docinfo td, table.docinfo th { - padding-left: 0.5em ; - padding-right: 0.5em ; - vertical-align: top } - -table.docutils th.field-name, table.docinfo th.docinfo-name { - font-weight: bold ; - text-align: left ; - white-space: nowrap ; - padding-left: 0 } - -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: #ffffff; } - -ul.auto-toc { - list-style-type: none } + margin-top: 0em; + font-style: italic; + color: #003a6b; +} -- cgit v1.2.3