diff options
author | Xavier Noria <fxn@hashref.com> | 2012-09-17 13:59:45 -0700 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2012-09-17 13:59:45 -0700 |
commit | 5f34f12977852ada2186ea451663e98b0f9a8d28 (patch) | |
tree | 35b41a14bcc2d59643d86dcd2e4049e1c225a6bb /guides/assets | |
parent | a95ddf647580a8cb9347e557b4468c55d81fd026 (diff) | |
parent | 1fa5c3b39f5d0bb23c8c3d60b023613386629946 (diff) | |
download | rails-5f34f12977852ada2186ea451663e98b0f9a8d28.tar.gz rails-5f34f12977852ada2186ea451663e98b0f9a8d28.tar.bz2 rails-5f34f12977852ada2186ea451663e98b0f9a8d28.zip |
Merge pull request #7663 from sikachu/master-guide-markdown
Convert all the guides into GFM
Diffstat (limited to 'guides/assets')
-rw-r--r-- | guides/assets/stylesheets/main.css | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/guides/assets/stylesheets/main.css b/guides/assets/stylesheets/main.css index 42b85fefa3..a30e12fe7e 100644 --- a/guides/assets/stylesheets/main.css +++ b/guides/assets/stylesheets/main.css @@ -24,7 +24,7 @@ dl dt { font-weight: bold; } dd { margin-left: 1.5em;} pre,code { margin: 1.5em 0; overflow: auto; color: #222;} -pre,code,tt { +pre,code { font-size: 1em; font-family: "Anonymous Pro", "Inconsolata", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace; line-height: 1.5; @@ -156,6 +156,7 @@ a, a:link, a:visited { } #mainCol a, #subCol a, #feature a {color: #980905;} +#mainCol a code, #subCol a code, #feature a code {color: #980905;} /* Navigation @@ -393,7 +394,14 @@ div.code_container { margin: 0.25em 0 1.5em 0; } -.note tt, .info tt {border:none; background: none; padding: 0;} +#mainCol div.todo { + background: #fff9d8 url(../images/tab_yellow.gif) no-repeat left top; + border: none; + padding: 1em 1em 0.25em 48px; + margin: 0.25em 0 1.5em 0; +} + +.note code, .info code, .todo code {border:none; background: none; padding: 0;} #mainCol ul li { list-style:none; |