Put asciidoc fix into template with the rest of the markup css

Also remove padding from the asciidoc code block so first line doesn't get indented
This commit is contained in:
kristi
2012-05-08 17:11:02 -07:00
parent 1dbe49243c
commit 49c6534da6
2 changed files with 1 additions and 11 deletions
@@ -10,17 +10,6 @@
A basic stylesheet for Gollum A basic stylesheet for Gollum
*/ */
/*
Fixes AsciiDoc listing block rendering.
Must be !important to override
.markdown-body code, .markdown-body tt {
in template.css.
https://github.com/github/gollum/issues/278
*/
pre > tt {
white-space: pre !important;
}
/* @section core */ /* @section core */
body, html { body, html {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
@@ -331,6 +331,7 @@ a.absent {
background-color: #f8f8f8; background-color: #f8f8f8;
border-radius: 3px; border-radius: 3px;
} }
.markdown-body pre>tt,
.markdown-body pre>code { .markdown-body pre>code {
margin: 0; margin: 0;
padding: 0; padding: 0;