From 3e21d5f0232f580d321d65cbc688bb8b68653b51 Mon Sep 17 00:00:00 2001 From: Mattt Thompson Date: Mon, 30 Jan 2012 08:48:27 -0800 Subject: [PATCH] Removing img tag for symbol, in favor of using CSS background image --- public/css/screen.css | 16 ++++++++++------ views/layout.erb | 1 - 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/public/css/screen.css b/public/css/screen.css index 05b62dd..15897bf 100644 --- a/public/css/screen.css +++ b/public/css/screen.css @@ -28,13 +28,13 @@ header { box-shadow: 0px 2px 12px #888; } -header h1 { - margin-top:0.25em; -} - -header a { +header h1 a { + background: url(/images/symbol.png) top center no-repeat; + color: #FFFFFF; + display: block; + margin-top: 0.25em; + padding-top: 100px; text-decoration: none; - color: #fff; } section { @@ -146,6 +146,10 @@ footer span { display: block; } +footer a { + color: #444; +} + article img { float: right; margin-left: 32pt; diff --git a/views/layout.erb b/views/layout.erb index 6c25d3c..0a29d50 100644 --- a/views/layout.erb +++ b/views/layout.erb @@ -18,7 +18,6 @@
-

The Twelve-Factor App