├── .DS_Store ├── .github └── FUNDING.yml ├── README.md ├── boilerplate.html ├── components ├── .DS_Store ├── heros │ ├── background-image-text-overlay.html │ ├── image-hero-with-mobile-block.html │ └── single-image-hero.html └── others │ ├── .DS_Store │ ├── content.html │ ├── mobile-hack.html │ ├── mspace.html │ ├── row.html │ └── spacer.html ├── elements ├── .DS_Store ├── buttons │ ├── button-border-radius.html │ ├── button-ghost.html │ └── button-square.html ├── images │ └── image.html ├── links │ └── link.html ├── lists │ └── list.html └── typography │ └── typography.html ├── grids ├── .DS_Store ├── fluid │ ├── fluid-grid-master.html │ ├── fluid-grid1.html │ ├── fluid-grid2.html │ ├── fluid-grid3.html │ ├── fluid-grid4.html │ └── fluid-grid5.html ├── hybrid │ ├── hybrid-grid-master.html │ ├── hybrid-grid1.html │ ├── hybrid-grid2.html │ └── hybrid-grid3.html └── responsive │ ├── responsive-grid-master.html │ ├── responsive-grid1.html │ ├── responsive-grid2.html │ ├── responsive-grid3.html │ ├── responsive-grid4.html │ └── responsive-grid5.html ├── mail.css └── snippets ├── atom └── snippets.cson └── sublime ├── arial.sublime-snippet ├── boilerplate.sublime-snippet ├── button.sublime-snippet ├── content.sublime-snippet ├── css.sublime-snippet ├── fgrid1.sublime-snippet ├── fgrid2.sublime-snippet ├── fgrid3.sublime-snippet ├── fgrid4.sublime-snippet ├── fgrid5.sublime-snippet ├── hgrid1.sublime-snippet ├── hgrid2.sublime-snippet ├── hgrid3.sublime-snippet ├── img.sublime-snippet ├── mobile-block-hack.sublime-snippet ├── mspace.sublime-snippet ├── rgrid1.sublime-snippet ├── rgrid2.sublime-snippet ├── rgrid3.sublime-snippet ├── rgrid4.sublime-snippet ├── rgrid5.sublime-snippet ├── row.sublime-snippet └── space.sublime-snippet /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/g13nn/Email-Framework/6b0c3c0b875ca142731e405f4f15c3ce9ba29d7a/.DS_Store -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: g13nn -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Email Framework 2 | 3 | The HTML [Email Framework](https://emailframe.work "Email Framework") developed to help you build responsive HTML email templates. 4 | 5 | ### Getting Started 6 | 7 | * [Documentation](http://emailframe.work "Documentation") 8 | * [Download](https://github.com/g13nn/Email-Framework/archive/master.zip "Download") 9 | 10 | ### Support 11 | 12 | Need some help, or have a question. Get in touch: 13 | 14 | * [Get in touch](https://glennsmith.me/#contact "Get in touch") 15 | * [Submit an Issue](https://github.com/g13nn/Email-Framework/issues/new "Submit an Issue") 16 | * [Sponsor](https://github.com/sponsors/g13nn "Sponsor") 17 | 18 | ### License 19 | 20 | ``` 21 | Copyright (C) 2024 Glenn Smith 22 | 23 | Permission is hereby granted, free of charge, to any person obtaining a 24 | copy of this software and associated documentation files (the 25 | "Software"), to deal in the Software without restriction, including 26 | without limitation the rights to use, copy, modify, merge, publish, 27 | distribute, sublicense, and/or sell copies of the Software, and to 28 | permit persons to whom the Software is furnished to do so, subject to 29 | the following conditions: 30 | 31 | The above copyright notice and this permission notice shall be included 32 | in all copies or substantial portions of the Software. 33 | 34 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 35 | OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 36 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 37 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 38 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 39 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 40 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 41 | ``` 42 | -------------------------------------------------------------------------------- /boilerplate.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | Email Framework 12 | 13 | 108 | 109 | 117 | 118 | 125 | 126 | 127 | 128 | 129 |
Preheader Text
130 | 131 |
132 | 133 | 134 | 137 | 138 |
135 | 136 |
139 |
140 | 141 | 142 | 143 | -------------------------------------------------------------------------------- /components/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/g13nn/Email-Framework/6b0c3c0b875ca142731e405f4f15c3ce9ba29d7a/components/.DS_Store -------------------------------------------------------------------------------- /components/heros/background-image-text-overlay.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 58 | 59 |
4 | 14 | 15 | 16 | 17 | 20 | 21 | 22 | 23 | 24 | 25 | 28 | 29 | 30 | 31 | 32 | 33 | 44 | 45 |
18 | Testing Modules for the email framework 19 |
 
26 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed porta purus porttitor enim scelerisque, vel malesuada lorem mattis. Curabitur ac orci libero. 27 |
 
34 | 35 | 36 | 37 | 40 | 41 |
38 | Button 39 |
42 | 43 |
46 | 47 | 56 | 57 |
60 | -------------------------------------------------------------------------------- /components/heros/image-hero-with-mobile-block.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 14 | 15 |
4 | 5 | 6 | 7 | 10 | 11 |
8 | 9 |
12 | 13 |
16 | 17 | 18 | 27 | -------------------------------------------------------------------------------- /components/heros/single-image-hero.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 14 | 15 |
4 | 5 | 6 | 7 | 10 | 11 |
8 | 9 |
12 | 13 |
16 | -------------------------------------------------------------------------------- /components/others/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/g13nn/Email-Framework/6b0c3c0b875ca142731e405f4f15c3ce9ba29d7a/components/others/.DS_Store -------------------------------------------------------------------------------- /components/others/content.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 |
4 | 5 |
8 | -------------------------------------------------------------------------------- /components/others/mobile-hack.html: -------------------------------------------------------------------------------- 1 | 2 | 11 | -------------------------------------------------------------------------------- /components/others/mspace.html: -------------------------------------------------------------------------------- 1 |   -------------------------------------------------------------------------------- /components/others/row.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /components/others/spacer.html: -------------------------------------------------------------------------------- 1 | 2 |   3 | -------------------------------------------------------------------------------- /elements/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/g13nn/Email-Framework/6b0c3c0b875ca142731e405f4f15c3ce9ba29d7a/elements/.DS_Store -------------------------------------------------------------------------------- /elements/buttons/button-border-radius.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 |
4 | Button 5 |
-------------------------------------------------------------------------------- /elements/buttons/button-ghost.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 |
4 | Button 5 |
-------------------------------------------------------------------------------- /elements/buttons/button-square.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 |
4 | Button 5 |
-------------------------------------------------------------------------------- /elements/images/image.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /elements/links/link.html: -------------------------------------------------------------------------------- 1 | Link 2 | -------------------------------------------------------------------------------- /elements/lists/list.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /elements/typography/typography.html: -------------------------------------------------------------------------------- 1 |

Heading

2 |

Heading

3 |

Heading

4 |

Heading

5 |
Heading
6 |
Heading
7 |

Paragraph

8 | Link 9 | -------------------------------------------------------------------------------- /grids/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/g13nn/Email-Framework/6b0c3c0b875ca142731e405f4f15c3ce9ba29d7a/grids/.DS_Store -------------------------------------------------------------------------------- /grids/fluid/fluid-grid-master.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | Fluid Grid Master 12 | 13 | 108 | 109 | 117 | 118 | 125 | 126 | 127 | 128 | 129 |
Preheader Text
130 | 131 |
132 | 133 |
134 | 139 | 140 | 141 | 142 | 153 | 154 |
143 | 144 | 145 | 146 | 149 | 150 |
147 | Grid 1 148 |
151 | 152 |
155 | 156 | 157 | 158 | 172 | 173 |
159 | 160 | 161 | 162 | 165 | 168 | 169 |
163 | Grid 2 164 | 166 | Grid 2 167 |
170 | 171 |
174 | 175 | 176 | 177 | 194 | 195 |
178 | 179 | 180 | 181 | 184 | 187 | 190 | 191 |
182 | Grid 3 183 | 185 | Grid 3 186 | 188 | Grid 3 189 |
192 | 193 |
196 | 197 | 198 | 199 | 219 | 220 |
200 | 201 | 202 | 203 | 206 | 209 | 212 | 215 | 216 |
204 | Grid 4 205 | 207 | Grid 4 208 | 210 | Grid 4 211 | 213 | Grid 4 214 |
217 | 218 |
221 | 222 | 223 | 224 | 247 | 248 |
225 | 226 | 227 | 228 | 231 | 234 | 237 | 240 | 243 | 244 |
229 | Grid 5 230 | 232 | Grid 5 233 | 235 | Grid 5 236 | 238 | Grid 5 239 | 241 | Grid 5 242 |
245 | 246 |
249 | 250 | 255 |
256 | 257 |
258 | 259 | -------------------------------------------------------------------------------- /grids/fluid/fluid-grid1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 14 | 15 |
4 | 5 | 6 | 7 | 10 | 11 |
8 | Grid 1 9 |
12 | 13 |
-------------------------------------------------------------------------------- /grids/fluid/fluid-grid2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 17 | 18 |
4 | 5 | 6 | 7 | 10 | 13 | 14 |
8 | Grid 2 9 | 11 | Grid 2 12 |
15 | 16 |
-------------------------------------------------------------------------------- /grids/fluid/fluid-grid3.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 20 | 21 |
4 | 5 | 6 | 7 | 10 | 13 | 16 | 17 |
8 | Grid 3 9 | 11 | Grid 3 12 | 14 | Grid 3 15 |
18 | 19 |
-------------------------------------------------------------------------------- /grids/fluid/fluid-grid4.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 23 | 24 |
4 | 5 | 6 | 7 | 10 | 13 | 16 | 19 | 20 |
8 | Grid 4 9 | 11 | Grid 4 12 | 14 | Grid 4 15 | 17 | Grid 4 18 |
21 | 22 |
-------------------------------------------------------------------------------- /grids/fluid/fluid-grid5.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 26 | 27 |
4 | 5 | 6 | 7 | 10 | 13 | 16 | 19 | 22 | 23 |
8 | Grid 5 9 | 11 | Grid 5 12 | 14 | Grid 5 15 | 17 | Grid 5 18 | 20 | Grid 5 21 |
24 | 25 |
-------------------------------------------------------------------------------- /grids/hybrid/hybrid-grid-master.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | Hybrid Grid Master 12 | 112 | 113 | 121 | 122 | 129 | 130 | 131 | 132 | 133 |
Preheader Text
134 | 135 |
136 | 137 | 138 | 139 | 140 | 161 | 162 | 163 | 164 | 220 | 221 | 222 | 223 | 292 | 293 | 294 |
141 | 146 | 147 | 148 | 153 | 154 |
149 | 150 | Grid One 151 | 152 |
155 | 160 |
165 | 166 | 171 | 172 | 173 | 211 | 212 |
174 | 179 |
180 | 181 | 182 | 187 | 188 |
183 | 184 | Grid Two 185 | 186 |
189 |
190 | 194 |
195 | 196 | 197 | 202 | 203 |
198 | 199 | Grid Two 200 | 201 |
204 |
205 | 210 |
213 | 218 | 219 |
224 | 229 | 230 | 231 | 284 | 285 |
232 | 237 |
238 | 239 | 240 | 245 | 246 |
241 | 242 | Grid Three 243 | 244 |
247 |
248 | 252 |
253 | 254 | 255 | 260 | 261 |
256 | 257 | Grid Three 258 | 259 |
262 |
263 | 267 |
268 | 269 | 270 | 275 | 276 |
271 | 272 | Grid Three 273 | 274 |
277 |
278 | 283 |
286 | 291 |
295 |
296 | 297 | 298 | -------------------------------------------------------------------------------- /grids/hybrid/hybrid-grid1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | 15 | 16 |
11 | 12 | Grid One 13 | 14 |
17 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /grids/hybrid/hybrid-grid2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 11 | 49 | 50 |
12 | 17 |
18 | 19 | 20 | 25 | 26 |
21 | 22 | Grid Two 23 | 24 |
27 |
28 | 32 |
33 | 34 | 35 | 40 | 41 |
36 | 37 | Grid Two 38 | 39 |
42 |
43 | 48 |
51 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /grids/hybrid/hybrid-grid3.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | 63 | 64 |
11 | 16 |
17 | 18 | 19 | 24 | 25 |
20 | 21 | Grid Three 22 | 23 |
26 |
27 | 31 |
32 | 33 | 34 | 39 | 40 |
35 | 36 | Grid Three 37 | 38 |
41 |
42 | 46 |
47 | 48 | 49 | 54 | 55 |
50 | 51 | Grid Three 52 | 53 |
56 |
57 | 62 |
65 | 70 | 71 | -------------------------------------------------------------------------------- /grids/responsive/responsive-grid-master.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | Grids Master Template 12 | 13 | 108 | 109 | 117 | 118 | 125 | 126 | 127 | 128 | 129 |
Preheader Text
130 | 131 |
132 | 133 | 134 | 277 | 278 |
135 | 136 | 137 | 138 | 139 | 140 | 141 | 152 | 153 | 154 | 155 | 156 |
 
142 | 143 | 144 | 145 | 148 | 149 |
146 | Grid One 147 |
150 | 151 |
 
157 | 158 | 159 | 160 | 161 | 162 | 163 | 177 | 178 | 179 | 180 | 181 |
 
164 | 165 | 166 | 167 | 170 | 173 | 174 |
168 | Grid Two 169 | 171 | Grid Two 172 |
175 | 176 |
 
182 | 183 | 184 | 185 | 186 | 187 | 188 | 205 | 206 | 207 | 208 | 209 |
 
189 | 190 | 191 | 192 | 195 | 198 | 201 | 202 |
193 | Grid Three 194 | 196 | Grid Three 197 | 199 | Grid Three 200 |
203 | 204 |
 
210 | 211 | 212 | 213 | 214 | 215 | 216 | 236 | 237 | 238 | 239 | 240 |
 
217 | 218 | 219 | 220 | 223 | 226 | 229 | 232 | 233 |
221 | Grid Four 222 | 224 | Grid Four 225 | 227 | Grid Four 228 | 230 | Grid Four 231 |
234 | 235 |
 
241 | 242 | 243 | 244 | 245 | 246 | 247 | 270 | 271 | 272 | 273 | 274 |
 
248 | 249 | 250 | 251 | 254 | 257 | 260 | 263 | 266 | 267 |
252 | Grid Five 253 | 255 | Grid Five 256 | 258 | Grid Five 259 | 261 | Grid Five 262 | 264 | Grid Five 265 |
268 | 269 |
 
275 | 276 |
279 |
280 | 281 | 282 | -------------------------------------------------------------------------------- /grids/responsive/responsive-grid1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 17 | 18 | 19 | 20 | 21 |
 
7 | 8 | 9 | 10 | 13 | 14 |
11 | Grid One 12 |
15 | 16 |
 
22 | -------------------------------------------------------------------------------- /grids/responsive/responsive-grid2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 20 | 21 | 22 | 23 | 24 |
 
7 | 8 | 9 | 10 | 13 | 16 | 17 |
11 | Grid Two 12 | 14 | Grid Two 15 |
18 | 19 |
 
25 | -------------------------------------------------------------------------------- /grids/responsive/responsive-grid3.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 23 | 24 | 25 | 26 | 27 |
 
7 | 8 | 9 | 10 | 13 | 16 | 19 | 20 |
11 | Grid Three 12 | 14 | Grid Three 15 | 17 | Grid Three 18 |
21 | 22 |
 
28 | -------------------------------------------------------------------------------- /grids/responsive/responsive-grid4.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 26 | 27 | 28 | 29 | 30 |
 
7 | 8 | 9 | 10 | 13 | 16 | 19 | 22 | 23 |
11 | Grid Four 12 | 14 | Grid Four 15 | 17 | Grid Four 18 | 20 | Grid Four 21 |
24 | 25 |
 
31 | -------------------------------------------------------------------------------- /grids/responsive/responsive-grid5.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 29 | 30 | 31 | 32 | 33 |
 
7 | 8 | 9 | 10 | 13 | 16 | 19 | 22 | 25 | 26 |
11 | Grid Five 12 | 14 | Grid Five 15 | 17 | Grid Five 18 | 20 | Grid Five 21 | 23 | Grid Five 24 |
27 | 28 |
 
34 | -------------------------------------------------------------------------------- /mail.css: -------------------------------------------------------------------------------- 1 | /* CLIENT-SPECIFIC STYLES */ 2 | body, table, td, a { -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; } 3 | table, td { mso-table-lspace: 0pt; mso-table-rspace: 0pt; } 4 | img { -ms-interpolation-mode: bicubic; } 5 | 6 | /* RESET STYLES */ 7 | img { border: 0; outline: none; text-decoration: none; } 8 | table { border-collapse: collapse !important; } 9 | body { margin: 0 !important; padding: 0 !important; width: 100% !important; } 10 | 11 | /* iOS BLUE LINKS */ 12 | a[x-apple-data-detectors] { 13 | color: inherit !important; 14 | text-decoration: none !important; 15 | font-size: inherit !important; 16 | font-family: inherit !important; 17 | font-weight: inherit !important; 18 | line-height: inherit !important; 19 | } 20 | 21 | /* ANDROID CENTER FIX */ 22 | div[style*="margin: 16px 0;"] { margin: 0 !important; } 23 | 24 | /* MEDIA QUERIES */ 25 | @media all and (max-width:639px){ 26 | .wrapper{ width:320px!important; padding: 0 !important; } 27 | .container{ width:300px!important; padding: 0 !important; } 28 | .mobile{ width:300px!important; display:block!important; padding: 0 !important; } 29 | .img{ width:100% !important; height:auto !important; } 30 | *[class="mobileOff"] { width: 0px !important; display: none !important; } 31 | *[class*="mobileOn"] { display: block !important; max-height:none !important; } 32 | } 33 | 34 | /* DARK MODE STYLES */ 35 | :root { 36 | color-scheme: light dark; 37 | supported-color-schemes: light dark; 38 | -webkit-font-smoothing: antialiased; 39 | -moz-osx-font-smoothing: grayscale; 40 | } 41 | @media ( prefers-color-scheme: dark ) { 42 | 43 | body { background-color: #262626 !important; } 44 | [data-ogsb] body { background-color: #262626 !important; } 45 | 46 | table { background-color: #212121 !important; } 47 | [data-ogsb] table { background-color: #212121 !important; } 48 | 49 | .logo-light { display:none; display:none !important; } 50 | [data-ogsc] .logo-light { display:none !important; } 51 | 52 | .logo-dark { display:block !important; } 53 | [data-ogsc] .logo-dark { display:block !important; } 54 | 55 | h1 { color: #FFFFFF !important; } 56 | [data-ogsc] h1 { color: #FFFFFF !important; } 57 | 58 | h2 { color: #FFFFFF !important; } 59 | [data-ogsc] h2 { color: #ffffff !important; } 60 | 61 | h3 { color: #FFFFFF !important; } 62 | [data-ogsc] h3 { color: #FFFFFF !important; } 63 | 64 | h4 { color: #FFFFFF !important; } 65 | [data-ogsc] h4 { color: #FFFFFF !important; } 66 | 67 | h5 { color: #FFFFFF !important; } 68 | [data-ogsc] h5 { color: #FFFFFF !important; } 69 | 70 | h6 { color: #FFFFFF !important; } 71 | [data-ogsc] h6 { color: #FFFFFF !important; } 72 | 73 | .hr { background:#FFFFFF!important; } 74 | [data-ogsc] .hr { background:#FFFFFF!important; } 75 | 76 | p { color: #ffffff !important; } 77 | [data-ogsc] p { color: #FFFFFF !important; } 78 | 79 | li { color: #FFFFFF !important; } 80 | [data-ogsc] li { color: #FFFFFF !important; } 81 | 82 | li>span { color: #FFFFFF !important; } 83 | [data-ogsc] li>span { color: #FFFFFF !important; } 84 | 85 | .link { color: #FFFFFF !important; } 86 | [data-ogsc] .link { color: #FFFFFF !important; } 87 | 88 | .button { background-color: #FFFFFF !important; color:#000000!important; } 89 | [data-ogsb] .button { background-color: #FFFFFF !important; color:#000000!important; } 90 | 91 | } 92 | -------------------------------------------------------------------------------- /snippets/atom/snippets.cson: -------------------------------------------------------------------------------- 1 | # Snippets for Email-Framwork 2 | 3 | '.text.html': 4 | 'Boiler Plate for Mails': 5 | 'prefix': 'mail-boilerplate' 6 | 'body': ''' 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 18 | 19 | 20 |
21 | 22 | 23 | 28 | 29 |
24 | 25 | $1 26 | 27 |
30 |
31 | 32 | 33 | ''' 34 | 35 | 'Mail Content': 36 | 'prefix': 'mail-content' 37 | 'body': ''' 38 | 39 | 40 | 43 | 44 |
41 | $2 42 |
45 | ''' 46 | 47 | 'Mail CSS': 48 | 'prefix': 'mail-css' 49 | 'body': ''' 50 | /* CLIENT-SPECIFIC STYLES */ 51 | body, table, td, a { -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; } 52 | table, td { mso-table-lspace: 0pt; mso-table-rspace: 0pt; } 53 | img { -ms-interpolation-mode: bicubic; } 54 | /* RESET STYLES */ 55 | img { border: 0; outline: none; text-decoration: none; } 56 | table { border-collapse: collapse !important; } 57 | body { margin: 0 !important; padding: 0 !important; width: 100% !important; } 58 | /* iOS BLUE LINKS */ 59 | a[x-apple-data-detectors] { 60 | color: inherit !important; 61 | text-decoration: none !important; 62 | font-size: inherit !important; 63 | font-family: inherit !important; 64 | font-weight: inherit !important; 65 | line-height: inherit !important; 66 | } 67 | /* ANDROID CENTER FIX */ 68 | div[style*="margin: 16px 0;"] { margin: 0 !important; } 69 | /* MEDIA QUERIES */ 70 | @media all and (max-width:639px){ 71 | .wrapper{ width:320px!important; padding: 0 !important; } 72 | .container{ width:300px!important; padding: 0 !important; } 73 | .mobile{ width:300px!important; display:block!important; padding: 0 !important; } 74 | .img{ width:100% !important; height:auto !important; } 75 | *[class="mobileOff"] { width: 0px !important; display: none !important; } 76 | *[class*="mobileOn"] { display: block !important; max-height:none !important; } 77 | } 78 | ''' 79 | 80 | 'Mail r Grid 1': 81 | 'prefix': 'mail-rgrid1' 82 | 'body': ''' 83 | 84 | 85 | 86 | 87 | 88 | 97 | 98 | 99 | 100 | 101 |
 
89 | 90 | 91 | 94 | 95 |
92 | $1 93 |
96 |
 
102 | ''' 103 | 104 | 'Mail r Grid 2': 105 | 'prefix': 'mail-rgrid2' 106 | 'body': ''' 107 | 108 | 109 | 110 | 111 | 112 | 124 | 125 | 126 | 127 | 128 |
 
113 | 114 | 115 | 118 | 121 | 122 |
116 | $1 117 | 119 | $2 120 |
123 |
 
129 | ''' 130 | 131 | 'Mail r Grid 3': 132 | 'prefix': 'mail-rgrid3' 133 | 'body': ''' 134 | 135 | 136 | 137 | 138 | 139 | 154 | 155 | 156 | 157 | 158 |
 
140 | 141 | 142 | 145 | 148 | 151 | 152 |
143 | $1 144 | 146 | $2 147 | 149 | $3 150 |
153 |
 
159 | ''' 160 | 161 | 'Mail r Grid 4': 162 | 'prefix': 'mail-rgrid4' 163 | 'body': ''' 164 | 165 | 166 | 167 | 168 | 169 | 187 | 188 | 189 | 190 | 191 |
 
170 | 171 | 172 | 175 | 178 | 181 | 184 | 185 |
173 | $1 174 | 176 | $2 177 | 179 | $3 180 | 182 | $4 183 |
186 |
 
192 | ''' 193 | 194 | 'Mail r Grid 5': 195 | 'prefix': 'mail-rgrid5' 196 | 'body': ''' 197 | 198 | 199 | 200 | 201 | 202 | 223 | 224 | 225 | 226 | 227 |
 
203 | 204 | 205 | 208 | 211 | 214 | 217 | 220 | 221 |
206 | $1 207 | 209 | $2 210 | 212 | $3 213 | 215 | $4 216 | 218 | $5 219 |
222 |
 
228 | ''' 229 | 230 | 'Mail f Grid 1': 231 | 'prefix': 'mail-fgrid1' 232 | 'body': ''' 233 | 234 | 235 | 245 | 246 |
236 | 237 | 238 | 239 | 242 | 243 |
240 | $1 241 |
244 |
247 | ''' 248 | 249 | 'Mail f Grid 2': 250 | 'prefix': 'mail-fgrid2' 251 | 'body': ''' 252 | 253 | 254 | 267 | 268 |
255 | 256 | 257 | 258 | 261 | 264 | 265 |
259 | $1 260 | 262 | $2 263 |
266 |
269 | ''' 270 | 271 | 'Mail f Grid 3': 272 | 'prefix': 'mail-fgrid3' 273 | 'body': ''' 274 | 275 | 276 | 292 | 293 |
277 | 278 | 279 | 280 | 283 | 286 | 289 | 290 |
281 | $1 282 | 284 | $2 285 | 287 | $3 288 |
291 |
294 | ''' 295 | 296 | 'Mail f Grid 4': 297 | 'prefix': 'mail-fgrid4' 298 | 'body': ''' 299 | 300 | 301 | 320 | 321 |
302 | 303 | 304 | 305 | 308 | 311 | 314 | 317 | 318 |
306 | $1 307 | 309 | $2 310 | 312 | $3 313 | 315 | $4 316 |
319 |
322 | ''' 323 | 324 | 'Mail f Grid 5': 325 | 'prefix': 'mail-fgrid5' 326 | 'body': ''' 327 | 328 | 329 | 351 | 352 |
330 | 331 | 332 | 333 | 336 | 339 | 342 | 345 | 348 | 349 |
334 | $1 335 | 337 | $2 338 | 340 | $3 341 | 343 | $4 344 | 346 | $5 347 |
350 |
353 | ''' 354 | 355 | 'Mail img': 356 | 'prefix': 'mail-img' 357 | 'body': ''' 358 | $4 359 | ''' 360 | 361 | 'Mail Block Mobile': 362 | 'prefix': 'mail-mobileblock' 363 | 'body': ''' 364 | 365 | 374 | 375 | ''' 376 | 377 | 'Mail mspace': 378 | 'prefix': 'mail-mspace' 379 | 'body': ''' 380 |   381 | ''' 382 | 383 | 'Mail Row': 384 | 'prefix': 'mail-row' 385 | 'body': ''' 386 | 387 | 388 | $1 389 | 390 | 391 | ''' 392 | 393 | 'Mail Space': 394 | 'prefix': 'mail-space' 395 | 'body': ''' 396 | 397 |   398 | 399 | ''' 400 | 401 | 'Mail Button': 402 | 'prefix': 'mail-button' 403 | 'body': ''' 404 | 405 | 406 | 409 | 410 |
407 | $2 408 |
411 | ''' 412 | -------------------------------------------------------------------------------- /snippets/sublime/arial.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | arial 6 | 7 | -------------------------------------------------------------------------------- /snippets/sublime/boilerplate.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | $1 11 | 12 | 14 | 15 | 16 |
17 | 18 | 19 | 24 | 25 |
20 | 21 | $2 22 | 23 |
26 |
27 | 28 | 29 | ]]>
30 | boilerplate 31 |
32 | -------------------------------------------------------------------------------- /snippets/sublime/button.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | $2 7 | 8 | 9 | 10 | ]]> 11 | button 12 | 13 | -------------------------------------------------------------------------------- /snippets/sublime/content.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | $2 7 | 8 | 9 | 10 | ]]> 11 | content 12 | 13 | -------------------------------------------------------------------------------- /snippets/sublime/css.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 36 | css 37 | 38 | -------------------------------------------------------------------------------- /snippets/sublime/fgrid1.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 12 | 13 |
10 | $1 11 |
14 | 15 | 16 | 17 | 18 | ]]>
19 | fgrid1 20 |
21 | -------------------------------------------------------------------------------- /snippets/sublime/fgrid2.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 12 | 15 | 16 |
10 | $1 11 | 13 | $2 14 |
17 | 18 | 19 | 20 | 21 | ]]>
22 | fgrid2 23 |
24 | -------------------------------------------------------------------------------- /snippets/sublime/fgrid3.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 12 | 15 | 18 | 19 |
10 | $1 11 | 13 | $2 14 | 16 | $3 17 |
20 | 21 | 22 | 23 | 24 | ]]>
25 | fgrid3 26 |
27 | 28 | -------------------------------------------------------------------------------- /snippets/sublime/fgrid4.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 12 | 15 | 18 | 21 | 22 |
10 | $1 11 | 13 | $2 14 | 16 | $3 17 | 19 | $4 20 |
23 | 24 | 25 | 26 | 27 | ]]>
28 | fgrid4 29 |
30 | -------------------------------------------------------------------------------- /snippets/sublime/fgrid5.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 12 | 15 | 18 | 21 | 24 | 25 |
10 | $1 11 | 13 | $2 14 | 16 | $3 17 | 19 | $4 20 | 22 | $5 23 |
26 | 27 | 28 | 29 | 30 | ]]>
31 | fgrid5 32 |
33 | -------------------------------------------------------------------------------- /snippets/sublime/hgrid1.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 10 | 11 | 12 | 17 | 18 |
13 | 14 | $1 15 | 16 |
19 | 24 | 25 | 26 | ]]>
27 | hgrid1 28 |
29 | -------------------------------------------------------------------------------- /snippets/sublime/hgrid2.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 11 | 12 | 13 | 51 | 52 |
14 | 19 |
20 | 21 | 22 | 27 | 28 |
23 | 24 | $1 25 | 26 |
29 |
30 | 34 |
35 | 36 | 37 | 42 | 43 |
38 | 39 | $2 40 | 41 |
44 |
45 | 50 |
53 | 58 | 59 | 60 | 61 | ]]>
62 | hgrid2 63 |
64 | -------------------------------------------------------------------------------- /snippets/sublime/hgrid3.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 10 | 11 | 12 | 65 | 66 |
13 | 18 |
19 | 20 | 21 | 26 | 27 |
22 | 23 | $1 24 | 25 |
28 |
29 | 33 |
34 | 35 | 36 | 41 | 42 |
37 | 38 | $2 39 | 40 |
43 |
44 | 48 |
49 | 50 | 51 | 56 | 57 |
52 | 53 | $3 54 | 55 |
58 |
59 | 64 |
67 | 72 | 73 | 74 | ]]>
75 | hgrid3 76 |
77 | -------------------------------------------------------------------------------- /snippets/sublime/img.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 4 | ]]> 5 | img 6 | 7 | -------------------------------------------------------------------------------- /snippets/sublime/mobile-block-hack.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 14 | 15 | ]]> 16 | mobileblock 17 | 18 | -------------------------------------------------------------------------------- /snippets/sublime/mspace.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 |   4 | ]]> 5 | mspace 6 | 7 | -------------------------------------------------------------------------------- /snippets/sublime/rgrid1.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 |   6 | 7 | 8 | 9 | 10 | 11 | 12 | 15 | 16 |
13 | $1 14 |
17 | 18 | 19 | 20 | 21 |   22 | 23 | 24 | ]]>
25 | rgrid1 26 |
27 | -------------------------------------------------------------------------------- /snippets/sublime/rgrid2.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 |   6 | 7 | 8 | 9 | 10 | 11 | 12 | 15 | 18 | 19 |
13 | $1 14 | 16 | $2 17 |
20 | 21 | 22 | 23 | 24 |   25 | 26 | 27 | ]]>
28 | rgrid2 29 |
30 | -------------------------------------------------------------------------------- /snippets/sublime/rgrid3.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 |   6 | 7 | 8 | 9 | 10 | 11 | 12 | 15 | 18 | 21 | 22 |
13 | $1 14 | 16 | $2 17 | 19 | $3 20 |
23 | 24 | 25 | 26 | 27 |   28 | 29 | 30 | ]]>
31 | rgrid3 32 |
33 | -------------------------------------------------------------------------------- /snippets/sublime/rgrid4.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 |   6 | 7 | 8 | 9 | 10 | 11 | 12 | 15 | 18 | 21 | 24 | 25 |
13 | $1 14 | 16 | $2 17 | 19 | $3 20 | 22 | $4 23 |
26 | 27 | 28 | 29 | 30 |   31 | 32 | 33 | ]]>
34 | rgrid4 35 |
36 | -------------------------------------------------------------------------------- /snippets/sublime/rgrid5.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 |   6 | 7 | 8 | 9 | 10 | 11 | 12 | 15 | 18 | 21 | 24 | 27 | 28 |
13 | $1 14 | 16 | $2 17 | 19 | $3 20 | 22 | $4 23 | 25 | $5 26 |
29 | 30 | 31 | 32 | 33 |   34 | 35 | 36 | ]]>
37 | rgrid5 38 |
39 | -------------------------------------------------------------------------------- /snippets/sublime/row.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | $1 6 | 7 | 8 | ]]> 9 | row 10 | 11 | -------------------------------------------------------------------------------- /snippets/sublime/space.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 4 |   5 | 6 | ]]> 7 | space 8 | 9 | --------------------------------------------------------------------------------