-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathold-CSS-resets.css
95 lines (70 loc) · 2.78 KB
/
old-CSS-resets.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
/* All resets in this file have been tested to see if they are still needed - check the notes
above each section to find out what they did and which email client they affected. */
/* .ReadMsgBody was an old class for targeting hotmail/outlook.com - this reset is no longer needed (Feb 2021) */
.ReadMsgBody {
width: 100%;
}
/* .ExternalClass was a class added to target Outlook.com/hotmail previously - this reset is no longer needed (Feb 2021).
Added additional common use below to reset line-height - which is also no longer needed (July 2021) */
.ExternalClass { ... }
.ExternalClass,
.ExternalClass p,
.ExternalClass span,
.ExternalClass td,
.ExternalClass div {
line-height: 100%;
}
/* webkit and ms text-size-adjust were used to allow font sizes under 13px to be used for old footers/navigation.
Most would now agree a lower limit of 14px for all text so these can now be removed - June 2021 */
* {
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
/* -ms-interpolation-mode was used for re-sampling images that needed to stretch in the HTML - since IE8 this has been set as bicubic.
This now only works in IE11 which will be deprecated soon - but also has a default of bicubic. Outlook also has bicubic set as default,
so no need to specify it any more. */
img {
-ms-interpolation-mode: bicubic !important;
}
/* Used to fix auto links in outlook app - but an update rolling out since June 14th 2021 has now changed the targeting and this no longer works. */
body[data-outlook-cycle] a {
color: inherit !important;
text-decoration: none;
}
/* Was used to force a 'View in browser' link in Outlook Windows. This no longer works and can be removed - July 2021 (Not worked since approximately 2016) */
#outlook a {
padding: 0;
}
/* .yshortcuts used to be added in Yahoo to link popular names/locations - this is no longer needed (July 2021) */
.yshortcuts,
.yshortcuts:hover,
.yshortcuts:active,
.yshortcuts:focus {
background-color: none;
border: none;
color: #000000;
text-decoration:none;
}
/* .im was used to target Gmail text in conversation threads - this is no longer needed (July 2021) */
.im {
color: inherit !important;
}
/* Used to be the class on Gmail webmail desktop images to download - this no longer works (July 2021)
Currently this works:
u ~ div img + div {display: none;}
*/
.a6S {
display: none !important;
opacity: 0.01 !important;
}
/* .aBn used to be the class on auto-links in Gmail, for example an address, phone number or date - this no longer works (July 2021) */
.aBn {
border-bottom: 0 !important;
cursor: default !important;
color: inherit !important;
text-decoration: none !important;
font-size: inherit !important;
font-family: inherit !important;
font-weight: inherit !important;
line-height: inherit !important;
}