-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
118 lines (93 loc) · 1.75 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
:root {
color-scheme: light dark;
supported-color-schemes: light dark;
}
body,
.mail-body {
background-color: #FFFFFF;
}
.header {
background-color: #FFFFFF;
/* border-top: 8px solid #0073E6; */
}
.section {
background-color: #FFFFFF;
}
.title div {
/* Text Primary */
color: #17324D !important;
}
.text div {
color: #17324D !important;
}
.footer-text,
.footer-text div {
color: #5C6F82 !important;
}
.link {
color: #0073E6 !important;
}
.footer-text a,
.text a {
color: #0073E6 !important;
}
p {
margin-top: 0px;
}
@media (prefers-color-scheme: light) {
.dark-img,
[data-ogsc] .dark-img {
display: none !important;
mso-hide: all !important;
}
.light-img,
[data-ogsc] .light-img {
display: block;
display: block !important;
}
}
@media (prefers-color-scheme: dark) {
body,
.mail-body {
background-color: #323232;
}
.header {
background-color: #323232;
/* border-top: 8px solid #3da2ff; */
}
.section {
background-color: #323232;
}
.title div {
color: #ffffff !important;
}
.text div {
color: #eeeeee !important;
}
.footer-text,
.footer-text div {
color: #CCD4DC !important;
}
.footer-text a,
.text a {
color: #94C4F4 !important;
/* Primary Light in HSL - L = +25 */
}
/* IMAGES */
/* Source: https://www.litmus.com/blog/the-ultimate-guide-to-dark-mode-for-email-marketers/ */
.dark-img,
[data-ogsc] .dark-img {
display: block !important;
overflow: visible !important;
float: none !important;
line-height: auto !important;
margin-top: 0px !important;
visibility: inherit !important;
}
.light-img,
[data-ogsc] .light-img {
display: none;
display: none !important;
mso-hide: all !important;
}
}