OSDN Git Service

Add background color to line numbers of highlighted code.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 14 Mar 2010 14:53:25 +0000 (14:53 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 14 Mar 2010 14:53:25 +0000 (14:53 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3586 e93f8b46-1217-0410-a6f0-8f06a7374b81

public/stylesheets/application.css
public/stylesheets/scm.css

index 8b5e6e2..88e2dc7 100644 (file)
@@ -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%;
index 82b7636..2081cf3 100644 (file)
@@ -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; }