diff --git a/actiontext/test/dummy/app/controllers/application_controller.rb b/actiontext/test/dummy/app/controllers/application_controller.rb index 09705d12ab4df..e8065d9505d7e 100644 --- a/actiontext/test/dummy/app/controllers/application_controller.rb +++ b/actiontext/test/dummy/app/controllers/application_controller.rb @@ -1,2 +1,3 @@ class ApplicationController < ActionController::Base + protect_from_forgery end diff --git a/actionview/test/fixtures/public/stylesheets/bank.css b/actionview/test/fixtures/public/stylesheets/bank.css index ea161b12b2008..e8606dce1dba7 100644 --- a/actionview/test/fixtures/public/stylesheets/bank.css +++ b/actionview/test/fixtures/public/stylesheets/bank.css @@ -1 +1 @@ -/* bank.css */ \ No newline at end of file +/* bank.css */ diff --git a/guides/assets/stylesheets/kindle.css b/guides/assets/stylesheets/kindle.css index b26cd1786a304..4e50a8a61f5e5 100644 --- a/guides/assets/stylesheets/kindle.css +++ b/guides/assets/stylesheets/kindle.css @@ -3,9 +3,10 @@ p { text-indent: 0; } p, H1, H2, H3, H4, H5, H6, H7, H8, table { margin-top: 1em;} .pagebreak { page-break-before: always; } + #toc H3 { text-indent: 1em; } #toc .document { text-indent: 2em; -} \ No newline at end of file +} diff --git a/guides/assets/stylesheets/print.css b/guides/assets/stylesheets/print.css index 6280422469b8a..b5172af34c42d 100644 --- a/guides/assets/stylesheets/print.css +++ b/guides/assets/stylesheets/print.css @@ -4,7 +4,7 @@ /* Modified January 31, 2009 --------------------------------------- */ -body, .wrapper, .note, .info, code, #topNav, .L, .R, #frame, #container, #header, #navigation, #footer, #feature, #mainCol, #subCol, .content {position: static; text-align: left; text-indent: 0; background: White; color: Black; border-color: Black; width: auto; height: auto; display: block; float: none; min-height: 0; margin: 0; padding: 0;} +body, .wrapper, .note, .info, code, #topNav, .L, .R, #frame, #container, #header, #navigation, #footer, #feature, #mainCol, #subCol, .content { position: static; text-align: left; text-indent: 0; background: White; color: Black; border-color: Black; width: auto; height: auto; display: block; float: none; min-height: 0; margin: 0; padding: 0;} body { background: #FFF; @@ -26,27 +26,34 @@ a:link, a:visited { } hr { - background:#ccc; - color:#ccc; - width:100%; - height:2px; - margin:2em 0; - padding:0; - border:none; + background: #ccc; + color: #ccc; + width: 100%; + height: 2px; + margin: 2em 0; + padding: 0; + border: none; } h1,h2,h3,h4,h5,h6 { font-family: "Helvetica Neue", Arial, "Lucida Grande", sans-serif; } -code { font:.9em "Courier New", Monaco, Courier, monospace; display:inline} -img { float:left; margin:1.5em 1.5em 1.5em 0; } -a img { border:none; } +code { + font: 0.9em "Courier New", Monaco, Courier, monospace; + display:inline; +} + +img { + float: left; + margin: 1.5em 1.5em 1.5em 0; +} +a img { border: none; } blockquote { - margin:1.5em; - padding:1em; - font-style:italic; - font-size:.9em; + margin: 1.5em; + padding: 1em; + font-style: italic; + font-size: 0.9em; } -.small { font-size: .9em; } -.large { font-size: 1.1em; } +.small { font-size: 0.9em; } +.large { font-size: 1.1em; }