Commit d4a738dffd52c326726fa438a2b153f0d47a9446

Authored by Nathan Broadbent
1 parent d1f481c3
Exists in master and in 1 other branch production

Styled 'Errbit' logo alt text if image can't be loaded. [ci skip]

Showing 1 changed file with 8 additions and 1 deletions   Show diff stats
app/views/layouts/mailer.html.haml
@@ -15,8 +15,15 @@ @@ -15,8 +15,15 @@
15 width: 88px; 15 width: 88px;
16 margin-top: 10px; 16 margin-top: 10px;
17 } 17 }
  18 + /* Style 'Errbit' logo alt text if image cannot be loaded. */
18 td.header a img { 19 td.header a img {
19 border: none; 20 border: none;
  21 + color: #E3E3E3;
  22 + font-family: helvetica;
  23 + font-size: 30px;
  24 + font-weight: bold;
  25 + min-height: 31px;
  26 + text-shadow: 0 1px 0 #EEEEFF;
20 } 27 }
21 28
22 td.section, td.content, td.footer { 29 td.section, td.content, td.footer {
@@ -57,7 +64,7 @@ @@ -57,7 +64,7 @@
57 %tbody 64 %tbody
58 %tr 65 %tr
59 %td.header 66 %td.header
60 - = link_to image_tag(URI.join(root_url,"stylesheets/images/logo.png").to_s), root_url 67 + = link_to image_tag(URI.join(root_url,"stylesheets/images/logo.png").to_s, :alt => "Errbit"), root_url
61 68
62 = yield 69 = yield
63 70