From 6be13d2058615a0fbeee4319a41b1dceea07d045 Mon Sep 17 00:00:00 2001 From: Alex McNamara Date: Fri, 6 Jan 2012 00:23:58 -0500 Subject: [PATCH] Removed italic syntax classes to [again] fix chrome rendering issues on windows (italics render the characters 1px too tall). --- resources/public/css/native.css | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/resources/public/css/native.css b/resources/public/css/native.css index b2ee289..25c2ae6 100644 --- a/resources/public/css/native.css +++ b/resources/public/css/native.css @@ -1,7 +1,7 @@ .linenos {float: left;} .syntax .hll { background-color: #404040 } .syntax { background: #202020; color: #d0d0d0 } -.syntax .c { color: #999999; font-style: italic } /* Comment */ +.syntax .c { color: #999999; font-weight: bold; } /* Comment */ .syntax .err { color: #a61717; background-color: #e3d2d2 } /* Error */ .syntax .g { color: #d0d0d0 } /* Generic */ .syntax .k { color: #6ab825; font-weight: bold } /* Keyword */ @@ -10,14 +10,14 @@ .syntax .o { color: #d0d0d0 } /* Operator */ .syntax .x { color: #d0d0d0 } /* Other */ .syntax .p { color: #d0d0d0 } /* Punctuation */ -.syntax .cm { color: #999999; font-style: italic } /* Comment.Multiline */ -.syntax .cp { color: #cd2828; font-weight: bold } /* Comment.Preproc */ -.syntax .c1 { color: #999999; font-style: italic } /* Comment.Single */ +.syntax .cm { color: #999999; font-weight: bold; } /* Comment.Multiline */ +.syntax .cp { color: #cd2828; font-weight: bold; } /* Comment.Preproc */ +.syntax .c1 { color: #999999; font-weight: bold; } /* Comment.Single */ .syntax .cs { color: #e50808; font-weight: bold; background-color: #520000 } /* Comment.Special */ .syntax .gd { color: #d22323 } /* Generic.Deleted */ -.syntax .ge { color: #d0d0d0; font-style: italic } /* Generic.Emph */ +.syntax .ge { color: #d0d0d0; font-weight: bold; } /* Generic.Emph */ .syntax .gr { color: #d22323 } /* Generic.Error */ -.syntax .gh { color: #ffffff; font-weight: bold } /* Generic.Heading */ +.syntax .gh { color: #ffffff; font-weight: bold; } /* Generic.Heading */ .syntax .gi { color: #589819 } /* Generic.Inserted */ .syntax .go { color: #cccccc } /* Generic.Output */ .syntax .gp { color: #aaaaaa } /* Generic.Prompt */