Skip to content

Commit 2532a56

Browse files
committed
Strip CSS
1 parent b7b6218 commit 2532a56

2 files changed

Lines changed: 1 addition & 80 deletions

File tree

email-inlined.html

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -109,15 +109,6 @@
109109
}
110110
}
111111
</style>
112-
<!--
113-
_ _ _ _ _ _
114-
| | | | | | (_) | (_)
115-
| |__ | |_ _ __ ___ | | ___ _ __ ___ __ _ _| | _ ___
116-
| '_ \| __| '_ ` _ \| |/ _ \ '_ ` _ \ / _` | | | | |/ _ \
117-
| | | | |_| | | | | | | __/ | | | | | (_| | | |_| | (_) |
118-
|_| |_|\__|_| |_| |_|_|\___|_| |_| |_|\__,_|_|_(_)_|\___/
119-
120-
-->
121112
</head>
122113
<body class="" style="font-family: sans-serif; -webkit-font-smoothing: antialiased; font-size: 14px; line-height: 1.4; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; background-color: #f6f6f6; margin: 0; padding: 0;">
123114
<table border="0" cellpadding="0" cellspacing="0" class="body" style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%; background-color: #f6f6f6;" width="100%" bgcolor="#f6f6f6">

email.html

Lines changed: 1 addition & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -76,25 +76,6 @@
7676
box-sizing: border-box;
7777
padding: 20px; }
7878

79-
.content-block {
80-
padding-top: 10px;
81-
padding-bottom: 10px; }
82-
83-
.flush-top {
84-
margin-top: 0;
85-
padding-top: 0; }
86-
87-
.flush-bottom {
88-
margin-bottom: 0;
89-
padding-bottom: 0; }
90-
91-
.header {
92-
margin-bottom: 20px;
93-
Margin-top: 10px;
94-
width: 100%; }
95-
.header > table {
96-
min-width: 100%; }
97-
9879
.footer {
9980
clear: both;
10081
padding-top: 10px;
@@ -128,17 +109,6 @@
128109
text-align: center;
129110
text-transform: capitalize; }
130111

131-
h2 {
132-
font-size: 28px;
133-
Margin-bottom: 15px; }
134-
135-
h3 {
136-
font-size: 21px; }
137-
138-
h4 {
139-
font-size: 14px;
140-
font-weight: 500; }
141-
142112
p,
143113
ul,
144114
ol {
@@ -201,29 +171,6 @@
201171
background-color: #34495e !important;
202172
border-color: #34495e !important; } }
203173

204-
.btn-secondary table td {
205-
background-color: transparent; }
206-
207-
.btn-secondary a {
208-
background-color: transparent;
209-
border-color: #3498db;
210-
border-width: 2px;
211-
color: #3498db; }
212-
213-
@media all {
214-
.btn-secondary a:hover {
215-
border-color: #34495e !important;
216-
color: #34495e !important; } }
217-
218-
.btn-tertiary table td {
219-
background-color: transparent; }
220-
221-
.btn-tertiary a {
222-
background-color: transparent;
223-
border-color: #ffffff;
224-
border-width: 2px;
225-
color: #ffffff; }
226-
227174
/* -------------------------------------
228175
OTHER STYLES THAT MIGHT BE USEFUL
229176
------------------------------------- */
@@ -278,12 +225,6 @@
278225
table[class=body] h1 {
279226
font-size: 28px !important;
280227
margin-bottom: 10px !important; }
281-
table[class=body] h2 {
282-
font-size: 22px !important;
283-
margin-bottom: 10px !important; }
284-
table[class=body] h3 {
285-
font-size: 16px !important;
286-
margin-bottom: 10px !important; }
287228
table[class=body] p,
288229
table[class=body] ul,
289230
table[class=body] ol,
@@ -299,8 +240,6 @@
299240
table[class=body] .container {
300241
padding: 0 !important;
301242
width: 100% !important; }
302-
table[class=body] .header {
303-
margin-bottom: 10px !important; }
304243
table[class=body] .main {
305244
border-left-width: 0 !important;
306245
border-radius: 0 !important;
@@ -312,16 +251,7 @@
312251
table[class=body] .img-responsive {
313252
height: auto !important;
314253
max-width: 100% !important;
315-
width: auto !important; }
316-
table[class=body] .alert td {
317-
border-radius: 0 !important;
318-
padding: 10px !important; }
319-
table[class=body] .span-2,
320-
table[class=body] .span-3 {
321-
max-width: none !important;
322-
width: 100% !important; }
323-
table[class=body] .receipt {
324-
width: 100% !important; } }
254+
width: auto !important; }}
325255

326256
/* -------------------------------------
327257
PRESERVE THESE STYLES IN THE HEAD

0 commit comments

Comments
 (0)