From 6a1920915ce4590faee77d70d99c0f7d7421ac1e Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 14 Mar 2010 14:53:25 +0000 Subject: [PATCH] Add background color to line numbers of highlighted code. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3586 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- public/stylesheets/application.css | 2 +- public/stylesheets/scm.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index 8b5e6e297..88e2dc797 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -662,7 +662,7 @@ div.wiki a.new { div.wiki pre { margin: 1em 1em 1em 1.6em; - padding: 2px; + padding: 2px 2px 2px 0; background-color: #fafafa; border: 1px solid #dadada; width:95%; diff --git a/public/stylesheets/scm.css b/public/stylesheets/scm.css index 82b7636f3..2081cf381 100644 --- a/public/stylesheets/scm.css +++ b/public/stylesheets/scm.css @@ -91,7 +91,7 @@ div.action_A { background: #bfb } /************* CodeRay styles *************/ -.syntaxhl .no { padding: 0px 4px } +.syntaxhl .no { padding: 2px 4px 2px 4px; background-color: #eee; margin:0 } .syntaxhl .code pre { overflow: auto } .syntaxhl .debug { color:white ! important; background:blue ! important; }