Commits

Anonymous committed 824b807

Pygments working. Some styling changes.

  • Participants
  • Parent commits 84a1873

Comments (0)

Files changed (2)

File relaxlog/lib/rst_directive.py

 pygments_directive.content = 1
 pygments_directive.options = dict([(key, directives.flag) for key in VARIANTS])
 
-directives.register_directive('code-block', pygments_directive)
+directives.register_directive('code-block', pygments_directive)

File relaxlog/static/styles.css

 body { font-family: monospace; }
 
 #container { margin: 6em auto; width: 530px; }
-#footer { border-top: 1px solid #E0E0E0; padding-top: 1.4em; margin-top: 3em; }
+#footer { border-top: 1px solid #E0E0E0; padding-top: 1.4em; margin: 3em 0; }
 
 a { color: #0000FF; }
 a:visited { color: #3B00D0; }
 h4 { font-style: italic; line-height: 40px; }
 p { margin-bottom: 20px; line-height: 20px; }
 
-pre, code, tt { font-size: 14px; line-height: 20px; }
+blockquote { margin: 0 0 20px 26px; color: #333; border-left: 4px #ccc solid; padding-left: 6px; }
+pre, code, tt { line-height: 16px; }
 em { font-style: italic; }
 strong { font-weight: bold; }
 sup { font-size: 12px; line-height: 12px; vertical-align: top; }
 ol li { list-style: decimal outside; }
 ul li { list-style: circle outside; }
 
-.body img {
-    display: block;
-    margin: 20px auto;
-}
-
-blockquote { margin: 0 0 20px 32px; color: #333; border-left: 4px #ccc solid; padding-left: 6px; }
+.body img { display: block; margin: 20px auto; }