Merge remote-tracking branch 'upstream/master' into frontend-tweak

This commit is contained in:
kristi
2012-05-08 14:58:32 -07:00
4 changed files with 356 additions and 337 deletions
+1
View File
@@ -1,5 +1,6 @@
rvm: rvm:
- 1.8.7 - 1.8.7
- 1.9.3
notifications: notifications:
disabled: true disabled: true
before_install: before_install:
+3
View File
@@ -472,6 +472,9 @@ like Rack::Auth, OmniAuth, etc.
Precious::App.set(:default_markup, :markdown) # set your favorite markup language Precious::App.set(:default_markup, :markdown) # set your favorite markup language
run Precious::App run Precious::App
## Windows Filename Validation
Note that filenames on windows must not contain any of the following characters `\ / : * ? " < > |`. See [this support article](http://support.microsoft.com/kb/177506) for details.
## Testing ## Testing
[![Build Status](https://secure.travis-ci.org/github/gollum.png?branch=master)](http://travis-ci.org/github/gollum) [![Build Status](https://secure.travis-ci.org/github/gollum.png?branch=master)](http://travis-ci.org/github/gollum)
@@ -10,6 +10,17 @@
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;
@@ -127,18 +138,22 @@ a:hover, a:visited {
width: 70%; width: 70%;
} }
#wiki-header #header-content,
#wiki-footer #footer-content { #wiki-footer #footer-content {
background-color: #f7f7f7; background-color: #f7f7f7;
border: 1px solid #ddd; border: 1px solid #ddd;
font-size: 1.2em;
line-height: 1.5em;
margin-top: 1.5em;
padding: 1em; padding: 1em;
border-radius: 0.5em; border-radius: 0.5em;
-moz-border-radius: 0.5em; -moz-border-radius: 0.5em;
-webkit-border-radius: 0.5em; -webkit-border-radius: 0.5em;
} }
#wiki-header #header-content {
margin-bottom: 1.5em;
}
#wiki-footer #footer-content {
margin-top: 1.5em;
}
#wiki-footer #footer-content h3 { #wiki-footer #footer-content h3 {
font-size: 1.2em; font-size: 1.2em;
+3 -3
View File
@@ -22,7 +22,7 @@
<div id="wiki-body" class="gollum-{{format}}-content"> <div id="wiki-body" class="gollum-{{format}}-content">
{{#has_header}} {{#has_header}}
<div id="wiki-header" class="gollum-{{header_format}}-content"> <div id="wiki-header" class="gollum-{{header_format}}-content">
<div id="header-content"> <div id="header-content" class="markdown-body">
{{{header_content}}} {{{header_content}}}
</div> </div>
</div> </div>
@@ -33,14 +33,14 @@
</div> </div>
{{#has_sidebar}} {{#has_sidebar}}
<div id="wiki-rightbar" class="gollum-{{sidebar_format}}-content"> <div id="wiki-rightbar" class="gollum-{{sidebar_format}}-content">
<div class="markdown-body"> <div id="sidebar-content" class="markdown-body">
{{{sidebar_content}}} {{{sidebar_content}}}
</div> </div>
</div> </div>
{{/has_sidebar}} {{/has_sidebar}}
{{#has_footer}} {{#has_footer}}
<div id="wiki-footer" class="gollum-{{footer_format}}-content"> <div id="wiki-footer" class="gollum-{{footer_format}}-content">
<div id="footer-content"> <div id="footer-content" class="markdown-body">
{{{footer_content}}} {{{footer_content}}}
</div> </div>
</div> </div>