Files
KenanZhu fec3ace600
Release / Validate Templates (push) Canceled after 0s
Release / Package & Release (push) Canceled after 0s
Release / Update Latest Release Documentation (push) Canceled after 0s
chore: migrate mail themes to shared framework and locked upstream inputs
2026-10-09 18:34:36 +08:00

81 lines
4.5 KiB
CSS

/* Base */
body,.ExternalClass,.ReadMsgBody { background-color:#f5ede0 }
.email-wrap { max-width:600px;margin:40px auto;font-family:Georgia,'Times New Roman',serif }
/* Header */
.email-logo { display:block;margin:0 auto 10px;border:0;outline:none }
.email-brand { font-size:20px;font-weight:700;color:#fff;letter-spacing:1px;text-shadow:0 1px 2px #0000001a }
.email-header { padding:0;background:linear-gradient(180deg,#c67b5c,#d4956e,#e8c4a8);height:100px;text-align:center;vertical-align:bottom }
/* Card */
.email-card { padding:28px 32px 24px;background:#fffdf9;color:#5c4030 }
.email-heading { margin:0;font-size:22px;line-height:1.4;color:#3d2b1f;font-weight:700 }
.email-text { margin:0 0 8px;font-size:15px;line-height:1.8;color:#6b5040 }
.email-subtext { margin:0 0 24px;font-size:14px;line-height:1.8;color:#8c7a6e;font-style:italic }
/* Divider */
.email-divider { height:1px;background:#d4c4a8;margin:0 }
/* Button */
.email-btn-row { padding:0 32px 28px;text-align:center;background:#fffdf9 }
.email-btn,.card-body .email-btn,.card-body .email-btn:link,.card-body .email-btn:visited { display:inline-block;padding:14px 38px;font-size:15px;font-weight:600;color:#fff!important;text-decoration:none!important;background:#c67b5c;border-radius:24px;letter-spacing:0.3px }
.email-btn-table { margin:0 0 28px }
/* Fallback link */
.email-link-box { border:1px solid #d4c4a8;background:#f5ede0;border-radius:8px }
.email-link-label { margin:0 0 6px;font-size:12px;color:#8c7a6e;font-style:italic }
.email-link-url { margin:0;font-size:12px;font-family:monospace;color:#5c4030;background:#fffdf9;padding:10px 12px;border:1px solid #d4c4a8;border-radius:6px;word-break:break-all }
/* Footer */
.email-footer { padding:20px 32px;text-align:center;border-top:1px solid #d4c4a8;background:#f5ede0 }
.email-footer-text { margin:0;font-size:12px;color:#8c7a6e }
.email-footer-link { color:#c67b5c;text-decoration:none;font-weight:600 }
/* Typography utilities */
.card-body h1,.card-body h2,.card-body h3,.card-body h4,.card-body h5,.card-body h6 { color:#3d2b1f!important }
.card-body a,.card-body a:link,.card-body a:visited { color:#c67b5c!important;text-decoration:underline!important }
.card-body a:hover,.card-body a:active { color:#a06040!important }
.card-body li { color:#6b5040!important }
/* Responsive */
@media only screen and (max-width:480px) {
.email-card { padding:20px 16px!important }
.email-btn-row { padding:16px!important }
.email-heading { font-size:18px!important }
}
/* Official-snapshot presentation adapter: no content or translation overrides. */
body { margin:0; padding:24px 16px; background-color:#f5ede0; }
body, td { font-family:Georgia,'Times New Roman',serif; }
.email-wrap { width:100%; max-width:600px; border-collapse:separate; border-spacing:0; }
.card-body { font-size:14px; line-height:1.7; overflow-wrap:anywhere; }
.card-body > pre, .card-body code { font-family:Consolas,monospace; white-space:pre-wrap; overflow-wrap:anywhere; }
.card-body ul { padding-left:22px; }
.card-body blockquote { padding-left:16px; border-left:3px solid #c67b5c; }
.mail-footer { margin:0; }
.mail-footer td { border-top-color:transparent!important; color:#5c4030!important; }
.mail-footer a { color:#c67b5c!important; text-decoration:none; }
.email-body { padding:32px; }
.terra-rule { width:40px; height:3px; background:#fff; margin:10px auto 0; border-radius:2px; opacity:.6; }
.card-body blockquote { border-left-color:#c67b5c; }
@media only screen and (max-width:480px) {
body { padding:12px 8px; }
.email-wrap { margin:0 auto; }
.email-body { padding:24px 18px!important; }
.card-body { width:auto!important; }
.resp-hide { display:none!important; }
}
/* Shared framework controls: keep URLs readable, never style them as CTAs. */
.email-brand-rule { width:40px;height:3px;background:#fff;margin:8px auto 0;border-radius:2px;opacity:0.6; }
.email-link-cell { padding:16px 18px; }
.email-link-url a,.card-body .email-link-url a { color:inherit!important; text-decoration:none!important; font-size:inherit; }
.email-link-url { overflow-wrap:anywhere; word-break:break-all; }
.email-action { margin:20px 0 0; }
.email-btn-row { box-sizing:border-box; }
.card-body .email-btn { max-width:100%; box-sizing:border-box; white-space:normal; overflow-wrap:anywhere; }
@media only screen and (max-width:480px) { .card-body .email-btn { display:block; text-align:center; width:100%; } .email-btn-table { width:100%; } }