From b8853c415853d31a1e0c0351bbbc5e3ab00ee531 Mon Sep 17 00:00:00 2001 From: Matchu Date: Sat, 15 May 2010 19:35:40 -0400 Subject: [PATCH] link header to root --- app/stylesheets/screen.scss | 7 +++++++ app/views/layouts/items.html.haml | 2 +- public/stylesheets/compiled/screen.css | 11 ++++++++++- 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/app/stylesheets/screen.scss b/app/stylesheets/screen.scss index a480aea1..8e5b7dbd 100644 --- a/app/stylesheets/screen.scss +++ b/app/stylesheets/screen.scss @@ -24,6 +24,13 @@ body { form.bp { @include blueprint-form; } +h1 a { + text-decoration: none; + &:hover { + text-decoration: underline; + } +} + .item { @include inline-block; padding: 10px; diff --git a/app/views/layouts/items.html.haml b/app/views/layouts/items.html.haml index f3c2ed16..61f5184f 100644 --- a/app/views/layouts/items.html.haml +++ b/app/views/layouts/items.html.haml @@ -5,6 +5,6 @@ = stylesheet_link_tag 'compiled/screen' %body #container - %h1 Infinite Closet + %h1= link_to 'Infinite Closet', items_path = flashes = yield diff --git a/public/stylesheets/compiled/screen.css b/public/stylesheets/compiled/screen.css index 8806b7be..cd1dc495 100644 --- a/public/stylesheets/compiled/screen.css +++ b/public/stylesheets/compiled/screen.css @@ -466,6 +466,15 @@ form.bp textarea { } /* line 27, ../../../app/stylesheets/screen.scss */ +h1 a { + text-decoration: none; +} +/* line 29, ../../../app/stylesheets/screen.scss */ +h1 a:hover { + text-decoration: underline; +} + +/* line 34, ../../../app/stylesheets/screen.scss */ .item { display: -moz-inline-box; -moz-box-orient: vertical; @@ -478,7 +487,7 @@ form.bp textarea { vertical-align: top; width: 100px; } -/* line 33, ../../../app/stylesheets/screen.scss */ +/* line 40, ../../../app/stylesheets/screen.scss */ .item img { display: block; height: 80px;