@@ -34,11 +34,11 @@ html(lang="en")
3434 body {
3535 margin : 0 !important ;
3636 padding : 0 !important ;
37- background-color : #f4f4f4 ;
38- font-family : ' Segoe UI' , Tahoma , Geneva, Verdana , sans-serif ;
37+ background-color : #ffffff ;
38+ font-family : -apple-system , BlinkMacSystemFont, ' Segoe UI' , ' Helvetica Neue ' , Arial , sans-serif ;
3939 font-size : 16px ;
4040 line-height : 1.6 ;
41- color : #333333 ;
41+ color : #1A1A1A ;
4242 }
4343
4444 /* Container */
@@ -48,39 +48,39 @@ html(lang="en")
4848 background-color : #ffffff ;
4949 }
5050
51- /* Header */
52- .header {
53- background-color : #2563eb ;
54- padding : 20px ;
55- text-align : center ;
56- }
57- .header h1 {
58- color : #ffffff ;
59- margin : 0 ;
60- font-size : 24px ;
61- font-weight : 600 ;
62- }
51+ /* Header - now table-based */
6352
64- /* Content */
65- .content {
66- padding : 40px 30px ;
67- }
68- .content h1 {
69- color : #1f2937 ;
70- font-size : 28px ;
71- font-weight : 700 ;
72- margin : 0 0 20px 0 ;
73- line-height : 1.2 ;
74- }
75- .content h2 {
76- color : #374151 ;
77- font-size : 22px ;
53+ /* Content styles matching Neon email */
54+ h2 {
55+ color : #111827 ;
56+ font-size : 1.5rem ;
57+ font-family : -apple-system , BlinkMacSystemFont, ' Segoe UI' , ' Helvetica Neue' , Arial , sans-serif ;
7858 font-weight : 600 ;
79- margin : 30px 0 15px 0 ;
59+ padding : 0 ;
60+ margin-top : 1.8666667em ;
61+ line-height : 1.3333333 ;
8062 }
81- .content p {
82- margin : 0 0 20px 0 ;
83- color : #4b5563 ;
63+ p {
64+ margin-bottom : 1em ;
65+ font-size : 14px ;
66+ line-height : 24px ;
67+ margin : 16px 0 ;
68+ color : #1A1A1A ;
69+ margin-top : 1.3333333em ;
70+ }
71+ ul {
72+ list-style-type : circle ;
73+ padding-left : 1.5rem ;
74+ color : #1A1A1A ;
75+ font-size : 0.875rem ;
76+ line-height : 24px ;
77+ }
78+ li {
79+ margin : 0.6666667em 0 ;
80+ }
81+ a {
82+ color : #2563eb ;
83+ text-decoration : underline ;
8484 }
8585
8686 /* Buttons */
@@ -105,22 +105,7 @@ html(lang="en")
105105 background-color : #4b5563 ;
106106 }
107107
108- /* Footer */
109- .footer {
110- background-color : #f9fafb ;
111- padding : 30px ;
112- text-align : center ;
113- border-top : 1px solid #e5e7eb ;
114- }
115- .footer p {
116- margin : 0 0 10px 0 ;
117- font-size : 14px ;
118- color : #6b7280 ;
119- }
120- .footer a {
121- color : #2563eb ;
122- text-decoration : none ;
123- }
108+ /* Footer - now table-based */
124109
125110 /* Utility classes */
126111 .text-center { text-align : center ; }
@@ -150,13 +135,15 @@ html(lang="en")
150135 if preheader
151136 .preheader = preheader
152137
153- table( role ="presentation" cellspacing ="0" cellpadding ="0" border ="0" width ="100%" )
138+ table( role ="presentation" cellspacing ="0" cellpadding ="0" border ="0" width ="100%" style = "font-size:16px;background-color:#ffffff" )
154139 tr
155140 td
156- .email-container
157- include header.pug
158-
159- .content
160- block content
161-
162- include footer.pug
141+ include header.pug
142+
143+ table( align ="center" width ="100%" border ="0" cellpadding ="0" cellspacing ="0" role ="presentation" style ="max-width:500px;min-width:280px;width:100%;margin-left:auto;margin-right:auto;border-collapse:collapse;border-spacing:0;padding-bottom:48px;padding-top:16px" )
144+ tbody
145+ tr( style ="width:100%" )
146+ td
147+ block content
148+
149+ include footer.pug
0 commit comments