From d4a738dffd52c326726fa438a2b153f0d47a9446 Mon Sep 17 00:00:00 2001 From: Nathan Broadbent Date: Sun, 4 Sep 2011 23:43:28 +0800 Subject: [PATCH] Styled 'Errbit' logo alt text if image can't be loaded. [ci skip] --- app/views/layouts/mailer.html.haml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/app/views/layouts/mailer.html.haml b/app/views/layouts/mailer.html.haml index 40df95b..5a8b8cd 100644 --- a/app/views/layouts/mailer.html.haml +++ b/app/views/layouts/mailer.html.haml @@ -15,8 +15,15 @@ width: 88px; margin-top: 10px; } + /* Style 'Errbit' logo alt text if image cannot be loaded. */ td.header a img { border: none; + color: #E3E3E3; + font-family: helvetica; + font-size: 30px; + font-weight: bold; + min-height: 31px; + text-shadow: 0 1px 0 #EEEEFF; } td.section, td.content, td.footer { @@ -57,7 +64,7 @@ %tbody %tr %td.header - = link_to image_tag(URI.join(root_url,"stylesheets/images/logo.png").to_s), root_url + = link_to image_tag(URI.join(root_url,"stylesheets/images/logo.png").to_s, :alt => "Errbit"), root_url = yield -- libgit2 0.21.2