Created
June 4, 2010 02:57
-
-
Save mackato/424871 to your computer and use it in GitHub Desktop.
Ruby on Rails Guides ePub diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/railties/guides/assets/stylesheets/main.css b/railties/guides/assets/stylesheets/main.css | |
index bab0b7a..5889d24 100644 | |
--- a/railties/guides/assets/stylesheets/main.css | |
+++ b/railties/guides/assets/stylesheets/main.css | |
@@ -72,20 +72,20 @@ table th { | |
--------------------------------------- */ | |
body { | |
- text-align: center; | |
- font-family: Helvetica, Arial, sans-serif; | |
- font-size: 87.5%; | |
- line-height: 1.5em; | |
- background: #222; | |
- color: #999; | |
- } | |
- | |
+/* text-align: center;*/ | |
+/* font-family: Helvetica, Arial, sans-serif;*/ | |
+ font-size: 87.5%; | |
+ line-height: 1.5em; | |
+/* background: #222; */ | |
+/* color: #999;*/ | |
+ } | |
+/* | |
.wrapper { | |
- text-align: left; | |
- margin: 0 auto; | |
- width: 69em; | |
- } | |
- | |
+ text-align: left; | |
+ margin: 0 auto; | |
+ width: 69em; | |
+ } | |
+*/ | |
#topNav { | |
padding: 1em 0; | |
color: #565656; | |
@@ -102,7 +102,7 @@ body { | |
#feature { | |
background: #d5e9f6 url(../images/feature_tile.gif) repeat-x; | |
color: #333; | |
- padding: 0.5em 0 1.5em; | |
+ padding: 1em; | |
} | |
#container { | |
@@ -111,11 +111,11 @@ body { | |
padding: 0.5em 0 1.5em 0; | |
} | |
-#mainCol { | |
- width: 45em; | |
- margin-left: 2em; | |
- } | |
- | |
+/*#mainCol { | |
+ width: 45em; | |
+ margin-left: 2em; | |
+ } | |
+*/ | |
#subCol { | |
position: absolute; | |
z-index: 0; | |
@@ -139,8 +139,8 @@ body { | |
width: 67em; | |
} | |
-#header .wrapper, #topNav .wrapper, #feature .wrapper {padding-left: 1em; width: 68em;} | |
-#feature .wrapper {width: 45em; padding-right: 23em; position: relative; z-index: 0;} | |
+/*#header .wrapper, #topNav .wrapper, #feature .wrapper {padding-left: 1em; width: 68em;}*/ | |
+/*#feature .wrapper {width: 45em; padding-right: 23em; position: relative; z-index: 0;}*/ | |
/* Links | |
--------------------------------------- */ | |
diff --git a/railties/guides/source/layout.html.erb b/railties/guides/source/layout.html.erb | |
index f172716..2aebe51 100644 | |
--- a/railties/guides/source/layout.html.erb | |
+++ b/railties/guides/source/layout.html.erb | |
@@ -9,94 +9,11 @@ | |
<link rel="stylesheet" type="text/css" href="stylesheets/style.css" /> | |
<link rel="stylesheet" type="text/css" href="stylesheets/syntax.css" /> | |
-<link rel="stylesheet" type="text/css" href="stylesheets/print.css" media="print" /> | |
- | |
-<script type="text/javascript" src="javascripts/guides.js"></script> | |
-<script type="text/javascript" src="javascripts/code_highlighter.js"></script> | |
-<script type="text/javascript" src="javascripts/highlighters.js"></script> | |
- | |
</head> | |
<body class="guide"> | |
- <% if @edge %> | |
- <div> | |
- <img src="images/edge_badge.png" alt="edge-badge" id="edge-badge" /> | |
- </div> | |
- <% end %> | |
- <div id="topNav"> | |
- <div class="wrapper"> | |
- <strong>More at <a href="http://rubyonrails.org/">rubyonrails.org:</a> </strong> | |
- <a href="http://rubyonrails.org/">Overview</a> | | |
- <a href="http://rubyonrails.org/download">Download</a> | | |
- <a href="http://rubyonrails.org/deploy">Deploy</a> | | |
- <a href="http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/overview">Code</a> | | |
- <a href="http://rubyonrails.org/screencasts">Screencasts</a> | | |
- <a href="http://rubyonrails.org/documentation">Documentation</a> | | |
- <a href="http://rubyonrails.org/ecosystem">Ecosystem</a> | | |
- <a href="http://rubyonrails.org/community">Community</a> | | |
- <a href="http://weblog.rubyonrails.org/">Blog</a> | |
- </div> | |
- </div> | |
- <div id="header"> | |
- <div class="wrapper clearfix"> | |
- <h1><a href="index.html" title="Return to home page">Guides.rubyonrails.org</a></h1> | |
- <p class="hide"><a href="#mainCol">Skip navigation</a>.</p> | |
- <ul class="nav"> | |
- <li><a href="index.html">Home</a></li> | |
- <li class="index"><a href="index.html" onclick="guideMenu(); return false;" id="guidesMenu">Guides Index</a> | |
- <div id="guides" class="clearfix" style="display: none;"> | |
- <hr /> | |
- <dl class="L"> | |
- <dt>Start Here</dt> | |
- <dd><a href="getting_started.html">Getting Started with Rails</a></dd> | |
- <dt>Models</dt> | |
- <dd><a href="migrations.html">Rails Database Migrations</a></dd> | |
- <dd><a href="activerecord_validations_callbacks.html">Active Record Validations and Callbacks</a></dd> | |
- <dd><a href="association_basics.html">Active Record Associations</a></dd> | |
- <dd><a href="active_record_querying.html">Active Record Query Interface</a></dd> | |
- <dt>Views</dt> | |
- <dd><a href="layouts_and_rendering.html">Layouts and Rendering in Rails</a></dd> | |
- <dd><a href="form_helpers.html">Action View Form Helpers</a></dd> | |
- <dt>Controllers</dt> | |
- <dd><a href="action_controller_overview.html">Action Controller Overview</a></dd> | |
- <dd><a href="routing.html">Rails Routing from the Outside In</a></dd> | |
- </dl> | |
- <dl class="R"> | |
- <dt>Digging Deeper</dt> | |
- <dd><a href="i18n.html">Rails Internationalization API</a></dd> | |
- <dd><a href="action_mailer_basics.html">Action Mailer Basics</a></dd> | |
- <dd><a href="testing.html">Testing Rails Applications</a></dd> | |
- <dd><a href="security.html">Securing Rails Applications</a></dd> | |
- <dd><a href="debugging_rails_applications.html">Debugging Rails Applications</a></dd> | |
- <dd><a href="performance_testing.html">Performance Testing Rails Applications</a></dd> | |
- <dd><a href="configuring.html">Configuring Rails Applications</a></dd> | |
- <dd><a href="command_line.html">Rails Command Line Tools and Rake Tasks</a></dd> | |
- <dd><a href="caching_with_rails.html">Caching with Rails</a></dd> | |
- <dd><a href="contributing_to_rails.html">Contributing to Rails</a></dd> | |
- | |
- <dt>Extending Rails</dt> | |
- <dd><a href="plugins.html">The Basics of Creating Rails Plugins</a></dd> | |
- <dd><a href="rails_on_rack.html">Rails on Rack</a></dd> | |
- <dd><a href="generators.html">Adding a Generator to Your Plugin</a></dd> | |
- | |
- <dt>Release Notes</dt> | |
- <dd><a href="3_0_release_notes.html">Ruby on Rails 3.0 Release Notes</a></dd> | |
- <dd><a href="2_3_release_notes.html">Ruby on Rails 2.3 Release Notes</a></dd> | |
- <dd><a href="2_2_release_notes.html">Ruby on Rails 2.2 Release Notes</a></dd> | |
- </dl> | |
- </div> | |
- </li> | |
- <li><a href="contribute.html">Contribute</a></li> | |
- <li><a href="credits.html">Credits</a></li> | |
- </ul> | |
- </div> | |
- </div> | |
- <hr class="hide" /> | |
- | |
<div id="feature"> | |
<div class="wrapper"> | |
<%= yield :header_section %> | |
- | |
- <%= yield :index_section %> | |
</div> | |
</div> | |
@@ -107,13 +24,5 @@ | |
</div> | |
</div> | |
</div> | |
- | |
- <hr class="hide" /> | |
- <div id="footer"> | |
- <div class="wrapper"> | |
- <p>This work is licensed under a <a href="http://creativecommons.org/licenses/by-sa/3.0/">Creative Commons Attribution-Share Alike 3.0</a> License</p> | |
- <p>"Rails", "Ruby on Rails", and the Rails logo are trademarks of David Heinemeier Hansson. All rights reserved.</p> | |
- </div> | |
- </div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment