diff options
| author | Monty Taylor <mordred@inaugust.com> | 2013-07-11 16:24:50 -0400 |
|---|---|---|
| committer | Monty Taylor <mordred@inaugust.com> | 2013-07-11 16:54:46 -0400 |
| commit | a71799ea2cbfa1354c786991a85b610753f5474c (patch) | |
| tree | 11381f15bdd75736cef5cd50978fe9af9560cf7c /doc/source/theme | |
| parent | 85fe71617f301e2163a97108aaa70de5bfb6b4a5 (diff) | |
| download | sqlalchemy-migrate-a71799ea2cbfa1354c786991a85b610753f5474c.tar.gz | |
Updated to OpenStack Build stuff.
Diffstat (limited to 'doc/source/theme')
| -rw-r--r-- | doc/source/theme/almodovar.css | 288 | ||||
| -rw-r--r-- | doc/source/theme/layout.css | 123 | ||||
| -rw-r--r-- | doc/source/theme/layout.html | 90 |
3 files changed, 501 insertions, 0 deletions
diff --git a/doc/source/theme/almodovar.css b/doc/source/theme/almodovar.css new file mode 100644 index 0000000..c7f250b --- /dev/null +++ b/doc/source/theme/almodovar.css @@ -0,0 +1,288 @@ +/* + * Original theme modified by Evan Rosson + * http://erosson.com/migrate + * --- + * + * Theme Name: Almodovar + * Theme URI: http://blog.ratterobert.com/archiv/2005/03/09/almodovar/ + * Description: Das Theme basiert im Ursprung auf Michael Heilemanns <a href="http://binarybonsai.com/kubrick/">Kubrick</a>-Template und ist von dem einen oder anderen Gimmick anderer sehr guter Templates inspiriert worden. + * Version: 0.7 + * Author: ratte / robert + * Author URI: http://blog.ratterobert.com/ + * */ + +/* Begin Typography & Colors */ +body { + font-size: 75%; + font-family: 'Lucida Grande', 'Trebuchet MS', 'Bitstream Vera Sans', Sans-Serif; + background-color: #CCF; + color: #333; + text-align: center; +} + +#page { + background-color: #fff; + border: 1px solid #88f; + text-align: left; +} + +#content { + font-size: 1.2em; + margin: 1em; + } + +#content p, +#content ul, +#content blockquote { + line-height: 1.6em; +} + +#footer { + border-top: 1px solid #006; + margin-top: 2em; +} + +small { + font-family: 'Trebuchet MS', Arial, Helvetica, Sans-Serif; + font-size: 0.9em; + line-height: 1.5em; + } + +h1, h2, h3 { + font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif; + font-weight: bold; + margin-top: .7em; + margin-bottom: .7em; + } + +h1 { + font-size: 2.5em; +} +h2 { + font-size: 2em; +} +h3 { + font-size: 1.5em; +} + +h1, h2, h3 { + color: #33a; +} + +h1 a, h2 a, h3 a { + color: #33a; +} + +h1, h1 a, h1 a:hover, h1 a:visited, +h2, h2 a, h2 a:hover, h2 a:visited, +h3, h3 a, h3 a:hover, h3 a:visited, +cite { + text-decoration: none; +} + +#content p a:visited { + color: #004099; + /*font-weight: normal;*/ +} + +small, blockquote, strike { + color: #33a; +} + +#links ul ul li, #links li { + list-style: none; +} + +code { + font: 1.1em 'Courier', 'Courier New', Fixed; +} + +acronym, abbr, span.caps { + font-size: 0.9em; + letter-spacing: .07em; +} + +a { + color: #0050FF; + /*text-decoration: none;*/ + text-decoration:underline; + /*font-weight: bold;*/ +} +a:hover { + color: #0080FF; +} + +/* Special case doc-title */ +h1.doc-title { + text-transform: lowercase; + font-size: 4em; + margin: 0; +} +h1.doc-title a { + display: block; + padding-left: 0.8em; + padding-bottom: .5em; + padding-top: .5em; + margin: 0; + border-bottom: 1px #fff solid; +} +h1.doc-title, +h1.doc-title a, +h1.doc-title a:visited, +h1.doc-title a:hover { + text-decoration: none; + color: #0050FF; +} +/* End Typography & Colors */ + + +/* Begin Structure */ +body { + margin: 0; + padding: 0; +} + +#page { + background-color: white; + margin: 0 auto 0 9em; + padding: 0; + max-width: 60em; + border: 1px solid #555596; +} +* html #page { +* width: 60em; +* } +* +* #content { +* margin: 0 1em 0 3em; +* } +* +* #content h1 { +* margin-left: 0; +* } +* +* #footer { +* padding: 0 0 0 1px; +* margin: 0; +* margin-top: 1.5em; +* clear: both; +* } +* +* #footer p { +* margin: 1em; +* } +* +*/* End Structure */ + + + +/* Begin Headers */ +.description { + text-align: center; + } + +/* End Headers */ + + +/* Begin Form Elements */ +#searchform { + margin: 1em auto; + text-align: right; + } + +#searchform #s { + width: 100px; + padding: 2px; + } + +#searchsubmit { + padding: 1px; + } +/* End Form Elements */ + + +/* Begin Various Tags & Classes */ +acronym, abbr, span.caps { + cursor: help; +} + +acronym, abbr { + border-bottom: 1px dashed #999; +} + +blockquote { + margin: 15px 30px 0 10px; + padding-left: 20px; + border-left: 5px solid #CCC; +} + +blockquote cite { + margin: 5px 0 0; + display: block; +} + +hr { + display: none; +} + +a img { + border: none; +} + +.navigation { + display: block; + text-align: center; + margin-top: 10px; + margin-bottom: 60px; +} +/* End Various Tags & Classes*/ + +span a { color: #CCC; } + +span a:hover { color: #0050FF; } + +#navcontainer { + margin-top: 0px; + padding-top: 0px; + width: 100%; + background-color: #AAF; + text-align: right; +} + +#navlist ul { + margin-left: 0; + margin-right: 5px; + padding-left: 0; + white-space: nowrap; +} + +#navlist li { + display: inline; + list-style-type: none; +} + +#navlist a { + padding: 3px 10px; + color: #fff; + background-color: #339; + text-decoration: none; + border: 1px solid #44F; + font-weight: normal; +} + +#navlist a:hover { + color: #000; + background-color: #FFF; + text-decoration: none; + font-weight: normal; +} + +#navlist a:active, #navlist a.selected { + padding: 3px 10px; + color: #000; + background-color: #EEF; + text-decoration: none; + border: 1px solid #CCF; + font-weight: normal; +} + diff --git a/doc/source/theme/layout.css b/doc/source/theme/layout.css new file mode 100644 index 0000000..ed80572 --- /dev/null +++ b/doc/source/theme/layout.css @@ -0,0 +1,123 @@ +@import url("pudge.css"); +@import url("almodovar.css"); + +/* Basic Style +----------------------------------- */ + +h1.pudge-member-page-heading { + font-size: 300%; +} +h4.pudge-member-page-subheading { + font-size: 130%; + font-style: italic; + margin-top: -2.0em; + margin-left: 2em; + margin-bottom: .3em; + color: #0050CC; +} +p.pudge-member-blurb { + font-style: italic; + font-weight: bold; + font-size: 120%; + margin-top: 0.2em; + color: #999; +} +p.pudge-member-parent-link { + margin-top: 0; +} +/*div.pudge-module-doc { + max-width: 45em; +}*/ +div.pudge-section { + margin-left: 2em; + max-width: 45em; +} +/* Section Navigation +----------------------------------- */ + +div#pudge-section-nav +{ + margin: 1em 0 1.5em 0; + padding: 0; + height: 20px; +} + +div#pudge-section-nav ul { + border: 0; + margin: 0; + padding: 0; + list-style-type: none; + text-align: center; + border-right: 1px solid #aaa; +} +div#pudge-section-nav ul li +{ + display: block; + float: left; + text-align: center; + padding: 0; + margin: 0; +} + +div#pudge-section-nav ul li .pudge-section-link, +div#pudge-section-nav ul li .pudge-missing-section-link +{ + background: #aaa; + width: 9em; + height: 1.8em; + border: 1px solid #bbb; + padding: 0; + margin: 0 0 10px 0; + color: #ddd; + text-decoration: none; + display: block; + text-align: center; + font: 11px/20px "Verdana", "Lucida Grande"; + cursor: hand; + text-transform: lowercase; +} + +div#pudge-section-nav ul li a:hover { + color: #000; + background: #fff; +} + +div#pudge-section-nav ul li .pudge-section-link { + background: #888; + color: #eee; + border: 1px solid #bbb; +} + +/* Module Lists +----------------------------------- */ +dl.pudge-module-list dt { + font-style: normal; + font-size: 110%; +} +dl.pudge-module-list dd { + color: #555; +} + +/* Misc Overrides */ +.rst-doc p.topic-title a { + color: #777; +} +.rst-doc ul.auto-toc a, +.rst-doc div.contents a { + color: #333; +} +pre { background: #eee; } + +.rst-doc dl dt { + color: #444; + margin-top: 1em; + font-weight: bold; +} +.rst-doc dl dd { + margin-top: .2em; +} +.rst-doc hr { + display: block; + margin: 2em 0; +} + diff --git a/doc/source/theme/layout.html b/doc/source/theme/layout.html new file mode 100644 index 0000000..094e989 --- /dev/null +++ b/doc/source/theme/layout.html @@ -0,0 +1,90 @@ +<?xml version="1.0"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<?python
+import pudge
+
+def initialize(t):
+ g = t.generator
+ if not hasattr(t, 'title'):
+ t.title = 'Untitled'
+ t.doc_title = g.index_document['title']
+ t.home_url = g.organization_url or g.blog_url or g.trac_url
+ t.home_title = g.organization
+?>
+
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:py="http://purl.org/kid/ns#"
+ py:def="layout">
+
+ <head>
+ <title>${title}</title>
+ <link rel="stylesheet" type="text/css" href="layout.css"/>
+ <link py:if="generator.syndication_url"
+ rel="alternate"
+ type="application/rss+xml"
+ title="RSS 2.0" href="${generator.syndication_url}"/>
+
+ </head>
+ <body>
+ <div id="page">
+ <h1 class="doc-title"><a href="${home_url}">${home_title}</a></h1>
+ <div id="navcontainer">
+ <ul id="navlist">
+ <li class="pagenav">
+ <ul>
+ <li class="page_item">
+ <a href="index.html"
+ class="${'index.html'== destfile and 'selected' or ''}"
+ title="Project Home / Index">${doc_title}</a>
+ </li>
+ <li class="page_item">
+ <a href="module-index.html"
+ class="${'module-index.html'== destfile and 'selected' or ''}"
+ title="${doc_title.lower()} package and module reference">Modules</a>
+ </li>
+ <?python
+ trac_url = generator.trac_url
+ mailing_list_url = generator.mailing_list_url
+ ?>
+ <li py:if="trac_url">
+ <a href="${trac_url}"
+ title="Wiki / Subversion / Roadmap / Bug Tracker"
+ >Trac</a>
+ </li>
+ <li py:if="generator.blog_url">
+ <a href="${generator.blog_url}">Blog</a>
+ </li>
+ <li py:if="mailing_list_url">
+ <a href="${mailing_list_url}"
+ class="${mailing_list_url == destfile and 'selected' or ''}"
+ title="Mailing List">Discuss</a>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ </div>
+
+ <hr />
+
+ <div id="content" py:content="content()"/>
+
+ <div id="footer">
+ <?python license = generator.get_document('doc-license') ?>
+
+ <p style="float: left;">
+ built with
+ <a href="http://lesscode.org/projects/pudge/"
+ >pudge/${pudge.__version__}</a><br />
+ original design by
+ <a href="http://blog.ratterobert.com/"
+ >ratter / robert</a><br />
+ </p>
+ <p style="float:right;">
+ evan.rosson (at) gmail.com
+ </p>
+ </div>
+ </div>
+ </body>
+
+</html>
|
