From d2f7766aea9ddb0551675467d1549455e5167629 Mon Sep 17 00:00:00 2001 From: bootstraponline Date: Fri, 7 Mar 2014 20:35:21 -0500 Subject: [PATCH] Update template.css to match github --- .gitignore | 1 + Rakefile | 5 +++++ gollum.gemspec | 2 +- lib/gollum/public/gollum/css/template.css | 25 +++++++++++------------ 4 files changed, 19 insertions(+), 14 deletions(-) diff --git a/.gitignore b/.gitignore index 62e405fe..e4381377 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ pkg Gemfile.lock *.gem *.swp +.* diff --git a/Rakefile b/Rakefile index fdb6dfaa..5a9c0d42 100644 --- a/Rakefile +++ b/Rakefile @@ -128,6 +128,11 @@ task :build => :gemspec do sh "mv #{gem_file} pkg" end +desc "Build and install" +task :install => :build do + sh "gem install --local --no-ri --no-rdoc pkg/#{name}-#{version}.gem" +end + desc 'Update gemspec' task :gemspec => :validate do # read spec file and split out manifest section diff --git a/gollum.gemspec b/gollum.gemspec index b1d4574a..8a74f059 100644 --- a/gollum.gemspec +++ b/gollum.gemspec @@ -6,7 +6,7 @@ Gem::Specification.new do |s| s.name = 'gollum' s.version = '2.7.0' - s.date = '2014-02-20' + s.date = '2014-03-14' s.rubyforge_project = 'gollum' s.license = 'MIT' diff --git a/lib/gollum/public/gollum/css/template.css b/lib/gollum/public/gollum/css/template.css index f51d792e..e75bc140 100644 --- a/lib/gollum/public/gollum/css/template.css +++ b/lib/gollum/public/gollum/css/template.css @@ -13,7 +13,7 @@ html, body { } body { - font: 13.34px helvetica,arial,freesans,clean,sans-serif; + font: 13px Helvetica, arial, freesans, clean, sans-serif; line-height: 1.4; } @@ -36,8 +36,8 @@ a.absent { } .markdown-body { - font-size: 14px; - line-height: 1.6; + font-size: 15px; + line-height: 1.7; } .markdown-body>*:first-child { margin-top: 0!important; @@ -126,8 +126,7 @@ a.absent { .markdown-body table, .markdown-body pre, .markdown-body hr { - margin: 0px 0; - margin-bottom: 15px; + margin: 15px 0; } .markdown-body li { margin: 0px; @@ -173,14 +172,6 @@ a.absent { .markdown-body ol { padding-left: 30px; } -.markdown-body ul li>:first-child, -.markdown-body ol li>:first-child { - margin-top: 0; -} -.markdown-body ul li>:last-child, -.markdown-body ol li>:last-child { - margin-bottom: 0; -} .markdown-body dl { padding: 0; } @@ -330,6 +321,14 @@ a.absent { margin: 13px auto 0; text-align: right; } + +.markdown-body code, +.markdown-body pre, +.markdown-body tt { + font-family: Consolas, "Liberation Mono", Courier, monospace; + font-size: 12px; +} + .markdown-body code, .markdown-body tt { margin: 0 2px;