Skip to content

Commit

Permalink
Set default value to --link-color
Browse files Browse the repository at this point in the history
To support Gmail.
  • Loading branch information
tricknotes committed Aug 22, 2024
1 parent ecfc0ae commit 01ae0da
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions app/assets/stylesheets/application.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* Use default value for mailer style since Gmail doesn't support custom CSS properies. */
:root {
--font-size: 15px;
--link-color: #edb020;
Expand All @@ -16,7 +17,7 @@ html {
body {
background-color: #fff;
color: #333;
border-top: 7px solid var(--link-color);
border-top: 7px solid var(--link-color, #edb020);
font-family: ABeeZee, verdana, arial, helvetica, sans-serif;
font-size: var(--font-size);
}
Expand Down Expand Up @@ -70,12 +71,12 @@ header h1 {
}

a {
color: var(--link-color);
color: var(--link-color, #edb020);
text-decoration: none;
}

a:visited {
color: var(--link-color);
color: var(--link-color, #edb020);
}

a:hover {
Expand Down

0 comments on commit 01ae0da

Please sign in to comment.