Anonymous avatar Anonymous committed 22ab6f2

[svn] copied over the lesscode.org pudge template for customizations

Comments (0)

Files changed (4)

docs/pudge_template/almodovar.css

+/*
+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: #d5d6d7;
+	color: #333;
+	text-align: center;
+}
+
+#page {
+	background-color: #fff;
+	border: 1px solid #999;
+	text-align: left;
+}
+
+#content {
+	font-size: 1.2em;
+	margin: 0;
+	}
+
+#content p,
+#content ul,
+#content blockquote { 
+  line-height: 1.6em;
+}
+
+#footer {
+	border-top: 1px solid #000;
+  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: #777;
+}
+
+h1 a, h2 a, h3 a {
+	color: #777;
+}
+
+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: #c63
+  font-weight: normal;
+}
+
+small, blockquote, strike {
+	color: #777;
+}
+
+#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: #FF5000;
+	text-decoration: none;
+  font-weight: bold;
+}
+a:hover {
+	color: #FF8000;
+}
+
+/* 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: #FF5000;
+}
+/* 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 #959596;
+}
+* 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: #FF5000; }
+
+#navcontainer {
+	margin-top: 0px;
+	padding-top: 0px;
+	width: 100%;
+	background-color: #CCC;
+	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: #999;
+	text-decoration: none;
+	border: 1px solid #CCC;
+  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: #EEE;
+    text-decoration: none;
+    border: 1px solid #CCC;
+    font-weight: normal;
+}

docs/pudge_template/layout.css

+@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: #aaa; /* #FF5000 */
+}
+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;
+}

docs/pudge_template/layout.html

+<?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>
+              <li class="page_item">
+                <a href="${home_url}about">
+                  about ${home_title}
+                </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;">
+          <span py:if="license" py:strip="1">
+          This documentation is licensed under the 
+          <a href="${license['basename']}.html" 
+             title="Documentation License"
+             >${license['title']}</a>
+          <br/>
+          </span>
+          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>
+        <div>
+        <br/>
+        <a name="search">
+          <form method="get" id="searchform" 
+                action="http://lesscode.org/blog/index.php">
+            <div>
+              <input type="text" value="" name="s" id="s" />
+              <input type="submit" id="searchsubmit" value="Search" />
+            </div>
+          </form>
+        </a>
+        <br/>
+        </div>
+      </div>
+    </div>
+  </body>
+
+</html>
 tag_svn_revision = true
 
 [pudge]
-theme = lesscode.org
+template_dir = docs/pudge_template
 docs = docs/index.txt
 doc_base = docs/
 dest = docs/html
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.