Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
class ApplicationController < ActionController::Base
protect_from_forgery
end
2 changes: 1 addition & 1 deletion actionview/test/fixtures/public/stylesheets/bank.css
Original file line number Diff line number Diff line change
@@ -1 +1 @@
/* bank.css */
/* bank.css */
3 changes: 2 additions & 1 deletion guides/assets/stylesheets/kindle.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
41 changes: 24 additions & 17 deletions guides/assets/stylesheets/print.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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; }