123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534 |
- @import 'fonts/inter';
- body {
- accent-color: #6364ff;
- word-break: break-word;
- margin: 0;
- background-color: #f3f2f5;
- padding: 0;
- -webkit-text-size-adjust: none;
- text-size-adjust: none;
- }
- p,
- h1,
- h2,
- h3,
- h4,
- h5,
- h6 {
- margin: 0;
- background-color: transparent;
- padding: 0;
- border: none;
- font-family: Inter, 'Lucida Grande', sans-serif;
- }
- img {
- max-width: 100%;
- height: auto;
- border: none;
- text-indent: 0;
- vertical-align: middle;
- color: inherit;
- font-family: inherit;
- }
- table {
- border: none;
- }
- table + p {
- margin-top: 16px;
- }
- .email {
- min-width: 280px;
- font-family: Inter, 'Lucida Grande', sans-serif;
- word-break: break-word;
- color: #17063b;
- background-color: #f3f2f5;
- }
- .email-container {
- max-width: 740px;
- margin: 0 auto;
- width: 100%;
- }
- // Outer email card
- .email-card-table {
- border-collapse: collapse;
- width: 100%;
- }
- .email-card-td {
- overflow: hidden;
- box-shadow: 0 4px 16px 0 rgba(23, 6, 59, 4%);
- background-color: #fff;
- }
- // Inner email card
- .email-inner-card-table {
- border-collapse: separate;
- width: 100%;
- border-radius: 12px;
- }
- .email-inner-card-td-without-padding,
- .email-inner-card-td {
- border-radius: 12px;
- overflow: hidden;
- box-shadow: 0 4px 16px 0 rgba(23, 6, 59, 8%);
- background-color: #fff;
- border: 1px solid #dfdee3;
- }
- .email-inner-card-td {
- padding: 24px;
- }
- // Utility classes
- .email-w-full {
- width: 100%;
- }
- .email-prose {
- p {
- color: #17063b;
- font-size: 14px;
- line-height: 20px;
- &:not(:last-child) {
- margin-bottom: 16px;
- }
- a:not([class]) {
- color: #6364ff;
- text-decoration: none;
- &:hover {
- color: #563acc !important;
- }
- }
- }
- }
- .email-padding-24 {
- padding: 24px;
- }
- .email-padding-top-24 {
- padding-top: 24px;
- }
- .email-border-top {
- border-top: 1px solid #dfdee3;
- }
- .email-border-bottom {
- border-bottom: 1px solid #dfdee3;
- }
- // Header
- .email-header-td {
- padding: 16px 32px;
- background-color: #1b001f;
- background-image: url('../images/mailer-new/common/header-bg-start.png');
- background-position: left top;
- background-repeat: repeat;
- }
- .email-header-logo-table {
- width: auto;
- margin: 0;
- }
- .email-header-logo-td {
- padding: 16px 0;
- font-size: 0;
- img {
- color: #fff;
- font-size: 16px;
- font-weight: bold;
- max-height: 40px;
- }
- }
- .email-header-logo-a {
- display: inline-block;
- img {
- display: inline-block;
- color: #fff;
- }
- }
- .email-header-logo-div {
- max-height: 0;
- }
- .email-header-logo-p {
- word-break: break-all;
- padding-left: 40px;
- padding-top: 26px;
- font-size: 11px;
- line-height: 13px;
- color: #8d808f;
- text-align: left;
- }
- .email-header-logo-span {
- display: block;
- text-align: right;
- }
- .email-header-heading-td {
- padding: 16px 0;
- }
- .email-header-heading-img-td {
- width: 56px;
- text-align: left;
- vertical-align: top;
- img {
- width: 56px;
- height: 56px;
- border-radius: 12px;
- }
- }
- .email-header-heading-txt-td {
- vertical-align: middle;
- padding-left: 16px;
- padding-right: 16px;
- h1 {
- margin-bottom: 5px;
- color: #fff;
- font-size: 24px;
- line-height: 28px;
- font-weight: 600;
- }
- p {
- color: #a399a5;
- font-size: 18px;
- line-height: 21.6px;
- font-weight: 500;
- }
- &:only-child {
- padding-left: 0;
- padding-right: 0;
- }
- }
- // To make the design work with images off
- // we create an empty div that overlaps with
- // the rest of the content with a dark background.
- .email-header-after-div {
- max-height: 0;
- }
- .email-header-after-inside-div {
- height: 30px;
- background-color: #1b001f;
- }
- // Body content
- .email-body-td {
- background-image: url('../images/mailer-new/common/header-bg-end.png');
- background-position: left top;
- background-repeat: no-repeat;
- }
- .email-body-padding-td {
- padding: 0 32px 32px;
- mso-padding-alt: 32px;
- }
- .email-body-padding-td {
- & > p {
- font-size: 14px;
- line-height: 20px;
- color: #17063b;
- a {
- color: #6364ff;
- text-decoration: none;
- &:hover {
- color: #563acc !important;
- }
- }
- }
- }
- // Footer
- .email-footer-td {
- padding: 28px 32px 32px;
- text-align: center;
- }
- .email-footer-logo-a {
- display: inline-block;
- }
- .email-footer-p {
- color: #9b94ab;
- text-align: center;
- font-size: 12px;
- line-height: 20px;
- a {
- color: #9b94ab;
- text-decoration: underline;
- }
- &:first-child {
- margin-bottom: 12px;
- }
- }
- // Button
- .email-btn-table {
- margin: 0;
- max-width: 100%;
- border-collapse: separate;
- border-radius: 8px;
- background-color: #6364ff;
- }
- .email-btn-td {
- height: 40px;
- text-align: center;
- mso-padding-alt: 0 35px;
- }
- .email-btn-a {
- display: block;
- border-radius: 8px;
- padding-left: 35px;
- padding-right: 35px;
- padding-top: 10px;
- padding-bottom: 10px;
- text-align: center;
- font-family: Inter, 'Lucida Grande', sans-serif;
- font-size: 14px;
- font-weight: 600;
- line-height: 20px;
- color: #fff;
- text-decoration: none;
- transition: background-color 0.3s ease-in-out;
- }
- // Status
- .email-status-header-img {
- vertical-align: top;
- width: 48px;
- img {
- width: 48px;
- height: 48px;
- border-radius: 8px;
- overflow: hidden;
- }
- }
- .email-status-header-text {
- padding-left: 16px;
- padding-right: 16px;
- vertical-align: middle;
- }
- .email-status-header-name {
- font-size: 16px;
- font-weight: 600;
- line-height: 24px;
- color: #17063b;
- }
- .email-status-header-handle {
- font-size: 14px;
- line-height: 20px;
- color: #746a89;
- }
- .email-status-content {
- padding-top: 24px;
- }
- .email-status-spoiler {
- color: #746a89;
- font-style: italic;
- margin-bottom: 8px;
- }
- .email-status-prose {
- p {
- font-size: 14px;
- line-height: 20px;
- color: #17063b;
- }
- a {
- color: #6364ff;
- text-decoration: none;
- &:hover {
- color: #563acc !important;
- }
- }
- }
- .email-status-media {
- margin-top: 16px;
- font-size: 14px;
- line-height: 20px;
- color: #17063b;
- img {
- border-radius: 8px;
- }
- a {
- color: #6364ff;
- text-decoration: none;
- &:hover {
- color: #563acc !important;
- }
- }
- }
- .email-status-footer {
- margin-top: 16px;
- font-size: 12px;
- line-height: 16px;
- color: #746a89;
- a {
- color: #746a89;
- }
- a:hover {
- color: #746a89 !important;
- text-decoration: underline !important;
- }
- }
- // Purple frame for emphasis
- .email-frame-table {
- background-color: #efefff;
- border-radius: 8px;
- }
- .email-frame-td {
- padding: 16px;
- }
- .email-frame-wrapper-td {
- padding-bottom: 16px;
- }
- .email-frame-td > p {
- text-align: center;
- font-size: 16px;
- line-height: 24px;
- }
- // Checklist item
- .email-checklist-wrapper-td {
- padding: 4px 0;
- }
- .email-checklist-table {
- border-radius: 12px;
- border-width: 1px;
- border-style: solid;
- border-color: #efefff;
- background-color: #fff;
- }
- .email-checklist-td {
- padding: 16px;
- }
- .email-checklist-icons-td {
- width: 84px;
- vertical-align: top;
- }
- .email-checklist-icons-checkbox-td {
- width: 20px;
- vertical-align: middle;
- img {
- max-width: 100%;
- width: 20px;
- }
- }
- .email-checklist-icons-step-td {
- width: 64px;
- text-align: center;
- vertical-align: middle;
- img {
- max-width: 100%;
- width: 40px;
- }
- }
- .email-checklist-text-td {
- h3 {
- margin: 0 0 4px;
- color: #17063b;
- font-size: 14px;
- font-weight: 600;
- line-height: 16.8px;
- }
- p {
- margin: 0 0 2px;
- color: #746a89;
- font-size: 14px;
- line-height: 16.8px;
- }
- .email-btn-table {
- width: 100px;
- }
- .email-btn-td {
- mso-padding-alt: 10px;
- }
- .email-btn-a {
- padding-left: 10px;
- padding-right: 10px;
- }
- }
- // Responsive
- /* stylelint-disable-next-line media-feature-range-notation -- Basic media queries have better support across email clients. */
- @media only screen and (min-width: 740px) {
- .email-desktop-p-8 {
- padding: 32px !important;
- }
- .email-desktop-rounded-16px {
- border-radius: 16px !important;
- }
- .email-header-td {
- border-radius: 16px 16px 0 0 !important;
- }
- .email-desktop-flex {
- display: flex;
- }
- }
|