diff options
author | Xavier Noria <fxn@hashref.com> | 2010-10-24 15:34:47 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-10-24 16:21:20 +0200 |
commit | 5e0e77fc12445c7dddc6a2b3c2fa4a26929ec398 (patch) | |
tree | 83bbd120b1fc27aa585d524859ce35e2554007cb /railties/guides/assets/stylesheets | |
parent | 8a629ab6c350779cf77e0443dc1526c6bfbe5a02 (diff) | |
download | rails-5e0e77fc12445c7dddc6a2b3c2fa4a26929ec398.tar.gz rails-5e0e77fc12445c7dddc6a2b3c2fa4a26929ec398.tar.bz2 rails-5e0e77fc12445c7dddc6a2b3c2fa4a26929ec398.zip |
configure a uniform font-family for code in guides
Diffstat (limited to 'railties/guides/assets/stylesheets')
-rw-r--r-- | railties/guides/assets/stylesheets/main.css | 12 | ||||
-rw-r--r-- | railties/guides/assets/stylesheets/syntaxhighlighter/shThemeRailsGuides.css | 1 |
2 files changed, 7 insertions, 6 deletions
diff --git a/railties/guides/assets/stylesheets/main.css b/railties/guides/assets/stylesheets/main.css index 611fb6b7e0..932ee402c4 100644 --- a/railties/guides/assets/stylesheets/main.css +++ b/railties/guides/assets/stylesheets/main.css @@ -23,8 +23,12 @@ dl { margin: 0 0 1.5em 0; } dl dt { font-weight: bold; } dd { margin-left: 1.5em;} -pre,code { margin: 1.5em 0; overflow: auto; color: #333;} -pre,code,tt { font: 1em 'Anonymous Pro', 'Inconsolata', 'Menlo', 'Consolas', 'Andale Mono', 'Lucida Console', monospace; line-height: 1.5; } +pre,code { margin: 1.5em 0; overflow: auto; color: #222;} +pre,code,tt { + font-size: 1em; + font-family: "Anonymous Pro", "Inconsolata", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace; + line-height: 1.5; +} abbr, acronym { border-bottom: 1px dotted #666; } address { margin: 0 0 1.5em; font-style: italic; } @@ -361,10 +365,6 @@ h6 { font-weight: normal; } -tt { - font-family: monaco, "Bitstream Vera Sans Mono", "Courier New", courier, monospace; -} - div.code_container { background: #EEE url(../images/tab_grey.gif) no-repeat left top; padding: 0.25em 1em 0.5em 48px; diff --git a/railties/guides/assets/stylesheets/syntaxhighlighter/shThemeRailsGuides.css b/railties/guides/assets/stylesheets/syntaxhighlighter/shThemeRailsGuides.css index 9effecbf11..d8d998136f 100644 --- a/railties/guides/assets/stylesheets/syntaxhighlighter/shThemeRailsGuides.css +++ b/railties/guides/assets/stylesheets/syntaxhighlighter/shThemeRailsGuides.css @@ -3,6 +3,7 @@ */ .syntaxhighlighter { background-color: #eee !important; + font-family: "Anonymous Pro", "Inconsolata", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace !important; } .syntaxhighlighter .line.alt1 { background-color: #eee !important; |