Commits

Thomas Kluyver  committed 86a0e5f

Docs theme tweaks

  • Participants
  • Parent commits 4eb2576

Comments (0)

Files changed (3)

File docs/reST/themes/classic/elements.html

  #}
 {%- block body %}
   <div class="sectionwrapper">
+    <h1>{{ title }}</h1>
 {%-   block section %}{% endblock %}
   </div>
 {%- endblock %}

File docs/reST/themes/classic/static/pygame.css_t

 
 div.header p.top {
     margin-top: 0;
+    margin-bottom: 1em;
 }
 
 div.header p.bottom {
 }
 
 p {
-    margin-top: 1em;
+    margin: 0.5em 0;
+}
+
+strong {
+    font-weight: bold;
+}
+
+em {
+    font-style: italic;
 }
 
 dl {
-    padding-top: 2em;
+    padding-top: 1em;
+    padding-bottom: 1em;
 }
 
 dd {
 
 table.toc {
     margin-left: 2em;
+    margin-bottom: 0.5em;
 }
 
 table.toc td {
 
 span.signature {
     font-family: {{ theme_sigfont }};
+    margin-bottom: 0.5em;
 }
 
 table.docutils td.toc {
 div.body h6 {
     font-family: {{ theme_headfont }};
     font-weight: bold;
-    margin: 12.5% 0 12.5% 0
-    padding: 12.5% 0 12.5% 0;
+    margin: 1em 0 0.5em;
     text-align: left;
 }
 
 pre {
     font-family: monospace;
     padding: 5px;
-    margin-left: 30px;
+    padding-left: 15px;
     margin-bottom: 1em;
     background-color: {{ theme_codebgcolor }};
     color: {{ theme_codetextcolor }};

File docs/reST/tut/newbieguide.rst

 A Newbie Guide to pygame
 ************************
 
-**or**
+or **Things I learned by trial and error so you don't have to,**
 
-Things I learned by trial and error so you don't have to.
-=========================================================
-
-**or**
-
-How I learned to stop worrying and love the blit.
-=================================================
-
+or **How I learned to stop worrying and love the blit.**
 
 Pygame_ is a python wrapper for SDL_, written by Pete Shinners.  What this
 means is that, using pygame, you can write games or other multimedia
 
 ----
 
-David Clark is an avid pygame user and the editor of the Pygame Code
+*David Clark is an avid pygame user and the editor of the Pygame Code
 Repository, a showcase for community-submitted python game code.  He is also
-the author of Twitch, an entirely average pygame arcade game.
+the author of Twitch, an entirely average pygame arcade game.*
 
 .. _Pygame: http://www.pygame.org/
 .. _SDL: http://libsdl.org