diff --git a/app/assets/stylesheets/home.css.scss b/app/assets/stylesheets/home.css.scss index c8aece5..017737d 100644 --- a/app/assets/stylesheets/home.css.scss +++ b/app/assets/stylesheets/home.css.scss @@ -2,8 +2,12 @@ // They will automatically be included in application.css. // You can use Sass (SCSS) here: http://sass-lang.com/ -.hero-unit { +.hero-unit.home-page { .asciicast { - margin-top: 40px; + margin-top: 10px; + } + + h2 { + margin: 50px 0 10px 0; } } diff --git a/app/views/home/show.html.erb b/app/views/home/show.html.erb index 9f1e9cd..6f4c437 100644 --- a/app/views/home/show.html.erb +++ b/app/views/home/show.html.erb @@ -1,7 +1,9 @@ -
+

ascii.io

No bullshit asciicasting for developers

+

Featured: <%= asciicast_title(@asciicast) %>

+ <%= render :partial => 'asciicasts/asciicast', :object => @asciicast, :locals => { :skip_description => true, :auto_play => false } %>