Fix OL auto-linking styles

This commit is contained in:
Alasdair Smith 2017-12-21 09:59:19 +00:00
parent 9657108146
commit 1fc527ff48
2 changed files with 12 additions and 7 deletions

View file

@ -26,7 +26,8 @@ module.exports = _.template """
.avoid-auto-linking a:active, .avoid-auto-linking a:active,
.avoid-auto-linking a[href]:active { .avoid-auto-linking a[href]:active {
color: #80281f; } color: #80281f; }
@media only screen { </style>
<style>@media only screen {
html { html {
min-height: 100%; min-height: 100%;
background: #f6f6f6; background: #f6f6f6;

View file

@ -9,9 +9,12 @@ module.exports = _.template """
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width"> <meta name="viewport" content="width=device-width">
<style>.avoid-auto-linking a, <style>.button td {
border-radius: 9999px; }
.avoid-auto-linking a,
.avoid-auto-linking a[href] { .avoid-auto-linking a[href] {
color: #a93529 !important; color: #4F9C45 !important;
text-decoration: none !important; text-decoration: none !important;
-moz-hyphens: none; -moz-hyphens: none;
-ms-hyphens: none; -ms-hyphens: none;
@ -19,14 +22,15 @@ module.exports = _.template """
hyphens: none; } hyphens: none; }
.avoid-auto-linking a:visited, .avoid-auto-linking a:visited,
.avoid-auto-linking a[href]:visited { .avoid-auto-linking a[href]:visited {
color: #a93529; } color: #4F9C45; }
.avoid-auto-linking a:hover, .avoid-auto-linking a:hover,
.avoid-auto-linking a[href]:hover { .avoid-auto-linking a[href]:hover {
color: #80281f; } color: #3d7935; }
.avoid-auto-linking a:active, .avoid-auto-linking a:active,
.avoid-auto-linking a[href]:active { .avoid-auto-linking a[href]:active {
color: #80281f; } color: #3d7935; }
@media only screen { </style>
<style>@media only screen {
html { html {
min-height: 100%; min-height: 100%;
background: #f6f6f6; background: #f6f6f6;