-
-
Notifications
You must be signed in to change notification settings - Fork 300
/
boilerplate.html
executable file
·142 lines (110 loc) · 4.75 KB
/
boilerplate.html
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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<meta name="robots" content="noindex, nofollow"/>
<meta name="referrer" content="no-referrer"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="color-scheme" content="light dark">
<meta name="supported-color-schemes" content="light dark">
<title>Email Framework</title>
<style type="text/css">
/* CLIENT-SPECIFIC STYLES */
body, table, td, a { -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
table, td { mso-table-lspace: 0pt; mso-table-rspace: 0pt; }
img { -ms-interpolation-mode: bicubic; }
/* RESET STYLES */
img { border: 0; outline: none; text-decoration: none; }
table { border-collapse: collapse !important; }
body { margin: 0 !important; padding: 0 !important; width: 100% !important; }
/* iOS BLUE LINKS */
a[x-apple-data-detectors] {
color: inherit !important;
text-decoration: none !important;
font-size: inherit !important;
font-family: inherit !important;
font-weight: inherit !important;
line-height: inherit !important;
}
/* ANDROID CENTER FIX */
div[style*="margin: 16px 0;"] { margin: 0 !important; }
/* MEDIA QUERIES */
@media all and (max-width:639px){
.wrapper{ width:320px!important; padding: 0 !important; }
.container{ width:300px!important; padding: 0 !important; }
.mobile{ width:300px!important; display:block!important; padding: 0 !important; }
.img{ width:100% !important; height:auto !important; }
*[class="mobileOff"] { width: 0px !important; display: none !important; }
*[class*="mobileOn"] { display: block !important; max-height:none !important; }
}
/* DARK MODE STYLES */
:root {
color-scheme: light dark;
supported-color-schemes: light dark;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
@media ( prefers-color-scheme: dark ) {
body { background-color: #262626 !important; }
[data-ogsb] body { background-color: #262626 !important; }
table { background-color: #212121 !important; }
[data-ogsb] table { background-color: #212121 !important; }
.logo-light { display:none; display:none !important; }
[data-ogsc] .logo-light { display:none !important; }
.logo-dark { display:block !important; }
[data-ogsc] .logo-dark { display:block !important; }
h1 { color: #FFFFFF !important; }
[data-ogsc] h1 { color: #FFFFFF !important; }
h2 { color: #FFFFFF !important; }
[data-ogsc] h2 { color: #ffffff !important; }
h3 { color: #FFFFFF !important; }
[data-ogsc] h3 { color: #FFFFFF !important; }
h4 { color: #FFFFFF !important; }
[data-ogsc] h4 { color: #FFFFFF !important; }
h5 { color: #FFFFFF !important; }
[data-ogsc] h5 { color: #FFFFFF !important; }
h6 { color: #FFFFFF !important; }
[data-ogsc] h6 { color: #FFFFFF !important; }
.hr { background:#FFFFFF!important; }
[data-ogsc] .hr { background:#FFFFFF!important; }
p { color: #ffffff !important; }
[data-ogsc] p { color: #FFFFFF !important; }
li { color: #FFFFFF !important; }
[data-ogsc] li { color: #FFFFFF !important; }
li>span { color: #FFFFFF !important; }
[data-ogsc] li>span { color: #FFFFFF !important; }
.link { color: #FFFFFF !important; }
[data-ogsc] .link { color: #FFFFFF !important; }
.button { background-color: #FFFFFF !important; color:#000000!important; }
[data-ogsb] .button { background-color: #FFFFFF !important; color:#000000!important; }
}
</style>
<!--[if gte mso 9]>
<xml>
<o:OfficeDocumentSettings>
<o:AllowPNG/>
<o:PixelsPerInch>96</o:PixelsPerInch>
</o:OfficeDocumentSettings>
</xml>
<![endif]-->
<!--[if mso]>
<style type="text/css">
body, table, td {
font-family : Arial, helvetica, sans-serif;
}
</style>
<![endif]-->
</head>
<body style="margin:0; padding:0; background-color:#F2F2F2;">
<div style="display:none;">Preheader Text</div>
<center>
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#F2F2F2">
<tr>
<td align="center" valign="top">
</td>
</tr>
</table>
</center>
</body>
</html>