Homepage improvements
This commit is contained in:
parent
b68e02212d
commit
cb0a605bfe
@ -2,8 +2,12 @@
|
|||||||
// They will automatically be included in application.css.
|
// They will automatically be included in application.css.
|
||||||
// You can use Sass (SCSS) here: http://sass-lang.com/
|
// You can use Sass (SCSS) here: http://sass-lang.com/
|
||||||
|
|
||||||
.hero-unit {
|
.hero-unit.home-page {
|
||||||
.asciicast {
|
.asciicast {
|
||||||
margin-top: 40px;
|
margin-top: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
margin: 50px 0 10px 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
<div class="hero-unit">
|
<div class="hero-unit home-page">
|
||||||
<h1>ascii.io</h1>
|
<h1>ascii.io</h1>
|
||||||
<p>No bullshit asciicasting for developers</p>
|
<p>No bullshit asciicasting for developers</p>
|
||||||
|
|
||||||
|
<h2>Featured: <%= asciicast_title(@asciicast) %></h2>
|
||||||
|
|
||||||
<%= render :partial => 'asciicasts/asciicast',
|
<%= render :partial => 'asciicasts/asciicast',
|
||||||
:object => @asciicast,
|
:object => @asciicast,
|
||||||
:locals => { :skip_description => true, :auto_play => false } %>
|
:locals => { :skip_description => true, :auto_play => false } %>
|
||||||
|
Loading…
Reference in New Issue
Block a user