Commits

Anonymous committed 4b7e6f3

More style and layout changes to the docs.

Comments (0)

Files changed (3)

docs/_static/media/css/layout.css

 }
 
 a {
-	background-color: #ff0081;
 	margin-left: -0.1em;
 	padding: 0 0.2em 0.1em 0.2em;
 }

docs/_static/media/css/typography.css

 }
 
 a {
-	color: #fff;
+	color: #ba0000;
 	text-decoration: none;
 }
 
-a.code {
-	font-size: 1.2em;
+a:hover {
+	color: #e34400;
 }
 
-a:hover {
+a[href^="http:"] {
 	text-decoration: underline;
 }
 
-a:active {
+p#footer a {
 	text-decoration: none;
 }
 
-a.code, pre, code, tt {
+pre, code, tt {
 	font-family: Inconsolata, Consolas, Menlo, Monaco, "Courier New", Courier;
 }
 

docs/_templates/document.html

   <body>
     <div id="content">
     
-      {% if crumbs %}
       <div id="breadcrumbs">
         <p>
-          {% if crumbs|length >= 1 %}
-            <a href="/">index</a> &#187;
+          {% if crumbs %}
+            {% if crumbs|length >= 1 %}
+              <a href="/">index</a> &#187;
+            {% endif %}
+            
+            {% for crumb in crumbs[:-1] %}
+              <a href="/{{ '/'.join(crumbs[:loop.revindex]) | escape }}">{{ crumb | escape }}</a> &#187;
+            {% endfor %}
+            
+            {{ crumbs[-1].rsplit('.', 1)[0] | escape }}
+          {% else %}
+          index
           {% endif %}
-          
-          {% for crumb in crumbs[:-1] %}
-            <a href="/{{ '/'.join(crumbs[:loop.revindex]) | escape }}">{{ crumb | escape }}</a> &#187;
-          {% endfor %}
-          
-          {{ crumbs[-1].rsplit('.', 1)[0] | escape }}
         </p>
       </div>
-      {% endif %}
       
       {{ content }}
       
       <p id="footer">
-        Django-in-a-Box<br />
-        <a class="code" href="/">docs/</a> ::
-        <a class="code" href="http://code.zacharyvoase.com/django-in-a-box">\code</a>
+        <a href="http://code.zacharyvoase.com/django-in-a-box">Django-in-a-Box</a>
       </p>
     </div>
   </body>