You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!-- The title tag shows in email notifications, like Android 4.4. -->
13
+
<!-- Please use an inliner tool to convert all CSS to inline as inpage or external CSS is removed by email clients -->
14
+
<!-- important in CSS is used to prevent the styles of currently inline CSS from overriding the ones mentioned in media queries when corresponding screen sizes are encountered -->
15
+
16
+
<!-- CSS Reset -->
17
+
<styletype="text/css">
18
+
/* What it does: Remove spaces around the email design added by some email clients. */
19
+
/* Beware: It can remove the padding / margin and add a background color to the compose a reply window. */
20
+
html,
21
+
body {
22
+
margin:0!important;
23
+
padding:0!important;
24
+
height:100%!important;
25
+
width:100%!important;
26
+
}
27
+
28
+
/* What it does: Stops email clients resizing small text. */
29
+
* {
30
+
-ms-text-size-adjust:100%;
31
+
-webkit-text-size-adjust:100%;
32
+
}
33
+
34
+
/* What it does: Forces Outlook.com to display emails full width. */
35
+
.ExternalClass {
36
+
width:100%;
37
+
}
38
+
39
+
/* What is does: Centers email on Android 4.4 */
40
+
div[style*="margin: 16px 0"] {
41
+
margin:0!important;
42
+
}
43
+
44
+
/* What it does: Stops Outlook from adding extra spacing to tables. */
45
+
table,
46
+
td {
47
+
mso-table-lspace:0pt!important;
48
+
mso-table-rspace:0pt!important;
49
+
}
50
+
51
+
/* What it does: Fixes webkit padding issue. Fix for Yahoo mail table alignment bug. Applies table-layout to the first 2 tables then removes for anything nested deeper. */
52
+
table {
53
+
border-spacing:0!important;
54
+
border-collapse: collapse !important;
55
+
table-layout: fixed !important;
56
+
margin:0 auto !important;
57
+
}
58
+
59
+
tabletabletable {
60
+
table-layout: auto;
61
+
}
62
+
63
+
/* What it does: Uses a better rendering method when resizing images in IE. */
64
+
img {
65
+
-ms-interpolation-mode: bicubic;
66
+
}
67
+
68
+
/* What it does: Overrides styles added when Yahoo's auto-senses a link. */
69
+
.yshortcutsa {
70
+
border-bottom: none !important;
71
+
}
72
+
73
+
/* What it does: Another work-around for iOS meddling in triggered links. */
74
+
a[x-apple-data-detectors] {
75
+
color: inherit !important;
76
+
}
77
+
78
+
a:link {
79
+
text-decoration: none;
80
+
}
81
+
82
+
a:visited {
83
+
text-decoration: none;
84
+
}
85
+
</style>
86
+
87
+
<!-- Progressive Enhancements -->
88
+
<styletype="text/css">
89
+
/* What it does: Hover styles for buttons */
90
+
.button-td,
91
+
.button-a {
92
+
transition: all 100ms ease-in;
93
+
}
94
+
95
+
.button-td:hover,
96
+
.button-a:hover {
97
+
background:#555555!important;
98
+
border-color:#555555!important;
99
+
}
100
+
101
+
/* Media Queries */
102
+
@media screen and (max-width:600px) {
103
+
104
+
.email-container {
105
+
width:100%!important;
106
+
}
107
+
108
+
/* What it does: Forces elements to resize to the full width of their container. Useful for resizing images beyond their max-width. */
109
+
.fluid,
110
+
.fluid-centered {
111
+
max-width:100%!important;
112
+
height: auto !important;
113
+
margin-left: auto !important;
114
+
margin-right: auto !important;
115
+
}
116
+
117
+
/* And center justify these ones. */
118
+
.fluid-centered {
119
+
margin-left: auto !important;
120
+
margin-right: auto !important;
121
+
}
122
+
123
+
/* What it does: Forces table cells into full-width rows. */
124
+
.stack-column,
125
+
.stack-column-center {
126
+
display: block !important;
127
+
width:100%!important;
128
+
max-width:100%!important;
129
+
direction: ltr !important;
130
+
}
131
+
132
+
/* And center justify these ones. */
133
+
.stack-column-center {
134
+
text-align: center !important;
135
+
}
136
+
137
+
/* What it does: Generic utility class for centering. Useful for images, buttons, and nested tables. */
0 commit comments