From 0e7ac4d56a2740dbec52ae02867ce69fa0242aeb Mon Sep 17 00:00:00 2001 From: Marcin Kulik Date: Tue, 1 Jul 2014 23:08:31 +0200 Subject: [PATCH] Improvements to the layout of the landing page --- app/assets/stylesheets/home.sass | 7 ++++--- app/views/home/show.html.slim | 12 +++++------- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/app/assets/stylesheets/home.sass b/app/assets/stylesheets/home.sass index c173d7a..5c2f9fb 100644 --- a/app/assets/stylesheets/home.sass +++ b/app/assets/stylesheets/home.sass @@ -14,13 +14,14 @@ .asciinema-player box-shadow: 0 0 16px 5px rgba(255, 255, 255, 0.3) - > div:last-child - padding-left: 50px - + > div:first-child h1 margin-top: 0 font-size: 40px + h2 + line-height: 1.2 + h1, h2 text-shadow: black 3px 3px 5px diff --git a/app/views/home/show.html.slim b/app/views/home/show.html.slim index ce8df73..319bccb 100644 --- a/app/views/home/show.html.slim +++ b/app/views/home/show.html.slim @@ -2,15 +2,9 @@ section.cinema .container .row - .col-md-7 - .player-wrapper - = player page.asciicast, page.playback_options if page.asciicast - .col-md-5 h1 - ' Record and share your terminal sessions, - br - ' the right way. + ' Record and share your terminal sessions, the right way. h2 ' Forget screen recording apps and blurry video. Enjoy a lightweight, purely text based approach to terminal recording. @@ -21,6 +15,10 @@ p ' Supports Linux, Mac OS X and FreeBSD + .col-md-7 + .player-wrapper + = player page.asciicast, page.playback_options if page.asciicast + section.even .container .row.about