0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00

Added email styles for Header v2

This commit is contained in:
Sodbileg Gansukh 2023-08-04 16:41:01 +08:00
parent a4c04da443
commit 4699f5b86e

View file

@ -900,8 +900,8 @@ a[data-flickr-embed] img {
.kg-header-card h2 { .kg-header-card h2 {
font-size: 3em; font-size: 3em;
font-weight: 700; font-weight: 700;
line-height: 1.1em; line-height: 1em;
margin: 0 0 0.125em; margin: 0 0 0.25em;
} }
.kg-header-card h2 strong { .kg-header-card h2 strong {
@ -947,7 +947,7 @@ a[data-flickr-embed] img {
margin: 0; margin: 0;
padding: 8px 16px; padding: 8px 16px;
text-decoration: none !important; text-decoration: none !important;
color: #15171A !important; color: #15171A;
} }
.kg-size-large .kg-header-card-button { .kg-size-large .kg-header-card-button {
@ -963,11 +963,33 @@ a[data-flickr-embed] img {
color: #ffffff !important; color: #ffffff !important;
} }
/* Header v2 */
.kg-header-card.kg-v2 {
padding: 0;
text-align: inherit;
}
.kg-header-card.kg-v2 .kg-header-card-image {
height: 320px;
}
.kg-header-card.kg-v2 .kg-header-card-content {
padding: 48px 40px;
}
.kg-header-card.kg-v2 .kg-header-card-button {
margin-top: 20px;
padding: 10px 20px;
font-size: 17px;
font-weight: 600;
}
.kg-product-card { .kg-product-card {
width: 100%; width: 100%;
margin: 0 0 1.5em; margin: 0 0 1.5em;
padding: 20px; padding: 20px;
border-radius: 3px; border-radius: 3px;
border: 1px solid #e5eff5; border: 1px solid #e5eff5;
} }
.kg-product-rating img { .kg-product-rating img {
@ -975,106 +997,106 @@ a[data-flickr-embed] img {
border: none; border: none;
} }
.kg-audio-card { .kg-audio-card {
width: auto; width: auto;
width: 100%; width: 100%;
margin: 0 auto 1.5em; margin: 0 auto 1.5em;
border-radius: 3px; border-radius: 3px;
border: 1px solid #e5eff5; border: 1px solid #e5eff5;
} }
.kg-audio-title { .kg-audio-title {
display: block; display: block;
padding-right: 20px; padding-right: 20px;
padding-bottom: 4px; padding-bottom: 4px;
padding-top: 4px; padding-top: 4px;
font-size: 16px; font-size: 16px;
font-weight: 600; font-weight: 600;
line-height: 18px; line-height: 18px;
text-decoration: none !important; text-decoration: none !important;
color: #15212A !important; color: #15212A !important;
} }
.kg-audio-play-button { .kg-audio-play-button {
display: block; display: block;
box-sizing: border-box; box-sizing: border-box;
width: 16px; width: 16px;
height: 16px; height: 16px;
color: #15212A !important; color: #15212A !important;
border-style: solid; border-style: solid;
border-width: 8px 0px 8px 16px; border-width: 8px 0px 8px 16px;
border-color: transparent transparent transparent currentColor; border-color: transparent transparent transparent currentColor;
} }
.kg-audio-duration { .kg-audio-duration {
display: block; display: block;
text-decoration: none !important; text-decoration: none !important;
font-size: 13px; font-size: 13px;
color: #15171A !important; color: #15171A !important;
} }
.kg-audio-link { .kg-audio-link {
color: #738a94 !important; color: #738a94 !important;
} }
.kg-file-card { .kg-file-card {
width: auto; width: auto;
width: 100%; width: 100%;
margin: 0 0 1.5em 0; margin: 0 0 1.5em 0;
border-radius: 3px; border-radius: 3px;
border: 1px solid #e5eff5; border: 1px solid #e5eff5;
} }
.kg-file-title { .kg-file-title {
display: block; display: block;
width: 100%; width: 100%;
padding-left: 12px; padding-left: 12px;
padding-top: 8px; padding-top: 8px;
font-size: 17px; font-size: 17px;
font-weight: bold; font-weight: bold;
line-height: 1.3em; line-height: 1.3em;
text-decoration: none !important; text-decoration: none !important;
color: #15212A !important; color: #15212A !important;
} }
.kg-file-description { .kg-file-description {
display: block; display: block;
width: 100%; width: 100%;
padding-left: 12px; padding-left: 12px;
padding-top: 2px; padding-top: 2px;
font-size: 15px; font-size: 15px;
line-height: 1.4em; line-height: 1.4em;
text-decoration: none !important; text-decoration: none !important;
color: #738a94 !important; color: #738a94 !important;
} }
.kg-file-meta { .kg-file-meta {
display: block; display: block;
width: 100%; width: 100%;
padding-left: 12px; padding-left: 12px;
padding-top: 4px; padding-top: 4px;
padding-bottom: 8px; padding-bottom: 8px;
font-size: 13px; font-size: 13px;
line-height: 1.4em; line-height: 1.4em;
text-decoration: none !important; text-decoration: none !important;
color: #738a94 !important; color: #738a94 !important;
} }
.kg-file-name { .kg-file-name {
font-weight: 500; font-weight: 500;
color: #15212A !important; color: #15212A !important;
} }
.kg-file-thumbnail { .kg-file-thumbnail {
position: relative; position: relative;
vertical-align: middle; vertical-align: middle;
text-align: center; text-align: center;
border-radius: 2px; border-radius: 2px;
background-color: {{accentColor}} !important; background-color: {{accentColor}} !important;
} }
.kg-twitter-card { .kg-twitter-card {
width: auto; width: auto;
width: 100%; width: 100%;
margin: 0 auto; margin: 0 auto;
border-radius: 12px; border-radius: 12px;
border: 1px solid #e5eff5; border: 1px solid #e5eff5;
} }
.kg-toggle-card { .kg-toggle-card {
background: transparent; background: transparent;
padding: 20px; padding: 20px;
margin-bottom: 1.5em; margin-bottom: 1.5em;
border-radius: 4px; border-radius: 4px;
border: 1px solid {{secondaryBorderColor}}; border: 1px solid {{secondaryBorderColor}};
} }