Permalink
Browse files

back to normal

  • Loading branch information...
1 parent 5c4c617 commit 15f70a61ff35cfc56362a57855a51847040cc0e2 @blg002 committed Feb 10, 2012
@@ -7,7 +7,7 @@ audio:not([controls]) { display:none; }
html { font-size:100%; -webkit-text-size-adjust:100%; -ms-text-size-adjust:100%; }
html, button, input, select, textarea { font-family:'helvetica neue',arial,sans-serif; color:#222; }
-body { margin:0; background-color:#fcf3e7; font-size:100%; line-height:1.4; }
+body { margin:0 auto 36px; padding:3.375em 0 4.125em; max-width:960px; background-color:#bada55; font-size:100%; line-height:1.4; }
/* =Links
------------------------------------ */
@@ -16,4 +16,20 @@ article { margin-bottom:2em; position:relative; }
.categories { margin-top:0; float:right; text-align:right; }
.article-actions a, a.delete { font-weight:bold; color:rgb(242,17,13); font-size:75%; text-decoration:none; text-transform:uppercase; }
.article-actions a:hover, .article-actions a:active, .article-actions a:focus, a.delete:hover, a.delete:active, a.delete:focus { color:rgb(218,116,114); }
-.entry-summary > p { margin-top:0; }
+.entry-summary > p { margin-top:0; }
+
+.inline { padding-left:0; width:auto; overflow:hidden; list-style:none; }
+.inline li, .l-inline a { display:inline-block; float:none; }
+.upper { text-transform:uppercase; }
+.listless { list-style:none; padding-left:0; }
+.hidden { display:none !important; visibility:hidden; }
+.visuallyhidden { border:0; clip:rect(0 0 0 0); height:1px; margin:-1px; overflow:hidden; padding:0; position:absolute; width:1px; }
+.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip:auto; height:auto; margin:0; overflow:visible; position:static; width:auto; }
+.clear:before, .clear:after { content:""; display:table; }
+.clear:after { clear:both; }
+.clear { *zoom:1; }
+.center { text-align:center; }
+.first { margin-left:0 !important; }
+.last { margin-right:0 !important; }
+.left { float:left; margin-right:20px; margin-left:0 !important; }
+.right { float:right; margin-right:0 !important; margin-left:20px; }
@@ -8,15 +8,15 @@
<p class="date"><time datetime="<%= @article.created_at.strftime("%Y- %m-%d:%H:%M%z") %>" class="published updated" pubdate><%= @article.created_at.strftime("#{@article.created_at.day.ordinalize} %b %Y") %></time></p>
<p class="vcard author">by <%= link_to @article.author.name, @article.author, class: 'fn n' %></p>
- <ul class="nl categories">
+ <ul class="listless categories">
<% @article.categories.each do |category| %>
<li><%= link_to category.name, category, rel: 'tag' %></li>
<% end %>
</ul>
</div>
<% if current_author %>
- <ul class="inll article-actions">
+ <ul class="inline article-actions">
<li class="edit"><%= link_to 'Edit', edit_article_path(@article) %></li>
<li class="delete"><%= link_to 'Delete', @article, confirm: "Are you sure you want to delete this article?", method: :delete %></li>
</ul>
@@ -5,7 +5,7 @@
<h1><%= @author.name %>&rsquo;s Articles</h1>
<% if current_author %>
- <ul class="inll article-actions">
+ <ul class="inline article-actions">
<li class="edit"><%= link_to 'Edit', edit_author_path(@author) %></li>
<li class="delete"><%= link_to 'Delete', @author, confirm: "Are you sure you want to delete this author?", method: :delete %>
</ul>
@@ -5,7 +5,7 @@
<h1>List of articles categorized with: <%= @category.name %></h1>
<% if current_author %>
- <ul class="inll article-actions">
+ <ul class="inline article-actions">
<li class="edit"><%= link_to 'Edit', edit_category_path(@category) %></li>
<li class="delete"><%= link_to 'Delete', @category, confirm: "Are you sure you want to delete this category?", method: :delete %>
</ul>
@@ -23,7 +23,7 @@
<% end %>
<nav>
- <ul class="inll">
+ <ul class="inline">
<li><%= link_to 'Archive', articles_path %></li>
<li><%= link_to 'Authors', authors_path %></li>
<li><%= link_to 'Categories', categories_path %></li>
@@ -34,7 +34,7 @@
<div id="menu">
<% if current_author %>
- <ul class="inll">
+ <ul class="inline">
<li><%= link_to 'Create an article', new_article_path %></li>
<li><%= link_to 'Add an author', new_author_path %></li>
<li><%= link_to 'Create a category', new_category_path %></li>

0 comments on commit 15f70a6

Please sign in to comment.