Commit Graph

17 Commits

Author SHA1 Message Date
Joseph Pecoraro
dd888c9603 Removed the Javascript. It conflicts with the highlighting code. 2009-05-30 00:48:22 -04:00
Joseph Pecoraro
bf1b1e976b Semi-fix for Firefox code Copy and Paste
The underlieing problem is that Firefox ignores the css 'white-space:pre'
rule when actually copying and pasting. This Javascript turns newlines
into <br /> tags inside the code containers.

This will run in Safari, Opera, Chrome, Webkit, etc. gracefully.
This will not run in IE due to IE not having the methods needed.

A permanent solution would be at the Markdown level in such a way that
the highlighter still runs on the output with brake tags.
2009-05-29 18:35:55 -04:00
Xavier Noria
3fbfb81aa0 harmonizes whitespace surrounding special boxes and their inner paragraphs, removes unused selectors as well 2009-03-08 16:28:34 +01:00
Xavier Noria
045bcd982f get style for dd.warning back 2009-03-07 00:05:34 +01:00
Xavier Noria
da242d4d09 fixes CSS rule for warning blocks in guides 2009-03-06 20:41:11 +01:00
Xavier Noria
120f16fc9d unbox TT elements 2009-02-28 02:35:48 +01:00
Xavier Noria
7d773a17a4 fixes scroll beyond the box in code blocks (fix suggested by toretore) 2009-02-25 00:59:37 +01:00
Xavier Noria
d5fb579143 added overflow: auto for code blocks in guides CSS 2009-02-25 00:28:27 +01:00
Pratik Naik
3e911045f9 Update with the new CSS from Jason and change the header logo 2009-02-24 13:27:21 +00:00
Daniel Schierbeck
c2a0624526 Fix code blocks inside info boxes 2009-02-20 15:23:31 +01:00
Xavier Noria
190984567e textilize titles in ToC of guides 2009-02-17 23:14:58 +01:00
Xavier Noria
fefbddbfdb added overflow: auto to style of code blocks 2009-02-17 22:37:25 +01:00
Xavier Noria
bbaf6b58d5 in main.css removed extra line-height and box for TT elements, and reformatted CSS 2009-02-15 20:35:36 +01:00
Tore Darell
38a2c4c91e Add min-height to code,pre to prevent icon from being cut off 2009-02-07 00:40:25 +01:00
Pratik Naik
b9ba2fe550 Merge commit 'mainstream/master'
Conflicts:
	railties/guides/files/javascripts/code_highlighter.js
	railties/guides/files/javascripts/guides.js
	railties/guides/files/javascripts/highlighters.js
	railties/guides/files/stylesheets/main.css
	railties/guides/files/stylesheets/print.css
	railties/guides/files/stylesheets/reset.css
	railties/guides/files/stylesheets/style.css
	railties/guides/files/stylesheets/syntax.css
	railties/guides/rails_guides/indexer.rb
	railties/guides/source/2_2_release_notes.textile
	railties/guides/source/2_3_release_notes.textile
	railties/guides/source/action_controller_overview.textile
	railties/guides/source/action_mailer_basics.textile
	railties/guides/source/active_record_basics.textile
	railties/guides/source/activerecord_validations_callbacks.textile
	railties/guides/source/association_basics.textile
	railties/guides/source/caching_with_rails.textile
	railties/guides/source/command_line.textile
	railties/guides/source/debugging_rails_applications.textile
	railties/guides/source/form_helpers.textile
	railties/guides/source/getting_started.textile
	railties/guides/source/i18n.textile
	railties/guides/source/layout.html.erb
	railties/guides/source/layouts_and_rendering.textile
	railties/guides/source/migrations.textile
	railties/guides/source/performance_testing.textile
	railties/guides/source/plugins.textile
	railties/guides/source/rails_on_rack.textile
	railties/guides/source/routing.textile
	railties/guides/source/security.textile
	railties/guides/source/testing.textile
2009-02-06 02:25:55 +00:00
Pratik Naik
96d610553e Merge docrails along with the new guides and guides generation code 2009-02-06 02:01:22 +00:00
Pratik Naik
03bb1ebec5 Convert the guides from asciidoc to textile and integrate with the new design.
If you're a guide writer and want to generate the guides, Run :

  ruby railties/guides/rails_guides.rb

And guides HTML will get generated inside railties/guides/output directory.
2009-02-04 01:44:58 +00:00