Skip to content
Browse files

Fixed css for short docs pages and headings.

  • Loading branch information...
1 parent 1e4c90e commit 5fa45ea87cc574ed00a7c88e21e9b97f4aa447d7 @JangoSteve JangoSteve committed Mar 15, 2012
Showing with 11 additions and 8 deletions.
  1. +2 −1 _layouts/project.html
  2. +1 −1 _posts/2012-01-09-css-emoticons.md
  3. +1 −1 _posts/2012-01-09-rails-jquery-demo.md
  4. +7 −5 css/application.css
View
3 _layouts/project.html
@@ -117,8 +117,9 @@
Congratulations, you've reached the end of the documentation!
</p>
<p>
- You are now certified in {{ page.heading }} development.
+ {% if page.links || page.articles %}
Take these links. They will help you in your journey:
+ {% endif %}
</p>
{% if page.links %}
View
2 _posts/2012-01-09-css-emoticons.md
@@ -1,7 +1,7 @@
---
layout: project
title: jQuery CSS Emoticons Plugin
-heading: <span id="css-emoticons-heading">CSS Emoticons</span>
+heading: CSS Emoticons
tagline: Pure CSS/JS Emoticons
description: An emoticon implementation in pure CSS and JavaScript,
using no images whatsoever.
View
2 _posts/2012-01-09-rails-jquery-demo.md
@@ -1,7 +1,7 @@
---
layout: project
title: Rails 3 jQuery-UJS AJAX Demo
-heading: <span id="jquery-rails-demo-heading">jQuery-Rails Demo</span>
+heading: jQuery-Rails Demo
tagline: A Rails 3 AJAX Demo App
description: The simplest example of using AJAX CRUD operations in a
Rails 3 app using the built-in jQuery-UJS funcitonality.
View
12 css/application.css
@@ -54,6 +54,12 @@ a {
color: #2ea900;
}
+p {
+ font-size: 16px;
+ line-height: 22px;
+ margin-bottom: 14px;
+}
+
#post h2 {
margin: 20px 0 10px;
}
@@ -389,6 +395,7 @@ ul#nav li a {
padding-top: 20px;
margin-left: 5%;
width: 60%;
+ min-height: 100%;
}
.tagline {
@@ -510,11 +517,6 @@ img.styled {
/* css-emoticons */
-#css-emoticons-heading { font-size: 72px; }
#small { font-size: 8px; }
#large { font-size: 72px; }
#regular { font-size: 20px; }
-
-/* jquery-rails-demo */
-
-#jquery-rails-demo-heading { font-size: 62px; }

0 comments on commit 5fa45ea

Please sign in to comment.
Something went wrong with that request. Please try again.