refine grid + remove styling attributes from content id

This commit is contained in:
Saman Bemel-Benrud 2013-07-30 14:12:47 -04:00 committed by John Firebaugh
parent 24422a3baf
commit 1ba4fdd3e1
3 changed files with 7 additions and 15 deletions

View file

@ -73,6 +73,10 @@ abbr, acronym {
.col11 { float:left; width:91.6666%; }
.col12 { width:100%; }
.pad1 { padding: $lineheight/2; }
.pad2 { padding: $lineheight; }
/* Default rules for the body of every page */
* {
@ -1014,7 +1018,6 @@ ul.results-list li { border-bottom: 1px solid #ccc; }
/* Rules for the main content area */
#content {
padding: $lineheight;
position: relative;
}
@ -1032,12 +1035,9 @@ ul.results-list li { border-bottom: 1px solid #ccc; }
.site-welcome,
.user-new {
.content-heading {
text-align: center;
}
#content {
max-width: 700px;
margin: auto;
}
}
@ -2271,14 +2271,6 @@ a.button {
background-position: -300px 0;
}
.pad1 {
padding: 10px;
}
.pad2 {
padding: 20px;
}
.start-mapping {
background: #EB6F67;
color: #FFF;

View file

@ -153,7 +153,7 @@
<%= yield :heading %>
</div>
<% end %>
<div id="content" class="clearfix">
<div id="content" class="pad2 clearfix">
<%= yield %>
</div>
</div>

View file

@ -2,7 +2,7 @@
<h1><%= t 'user.new.title' %></h1>
<% end %>
<%= form_for :user, :url => { :action => 'create' }, :html => { :class => 'col6' } do %>
<%= form_for :user, :url => { :action => 'create' }, :html => { :class => 'col6 pad2' } do %>
<%= error_messages_for 'user' %>
<%= hidden_field_tag('referer', h(@referer)) unless @referer.nil? %>
@ -70,7 +70,7 @@
</div>
<% end %>
<div class='col6'>
<div class='col6 pad2'>
<h3><%= t 'user.new.about.header' %></h3>
<%= t 'user.new.about.html' %>
</div>