0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

Moved inline koenig styles to styles-old.hbs

Refs https://github.com/TryGhost/Team/issues/2845
- In order to have more control over koenig card styling, we're moving some of the inline styles from the koenig repo over to the dedicated email style files.
This commit is contained in:
Sanne de Vries 2023-03-30 12:14:44 +02:00
parent 429840606d
commit 4ffb8509b9

View file

@ -942,6 +942,112 @@ a[data-flickr-embed] img {
color: #ffffff !important;
}
.kg-product-card {
width: 100%;
margin: 0 0 1.5em;
padding: 20px;
border-radius: 3px;
border: 1px solid #e5eff5;
}
.kg-product-rating img {
width: 96px;
border: none;
}
.kg-audio-card {
width: auto;
width: 100%;
margin: 0 auto 1.5em;
border-radius: 3px;
border: 1px solid #e5eff5;
}
.kg-audio-title {
display: block;
padding-right: 20px;
padding-bottom: 4px;
padding-top: 4px;
font-size: 16px;
font-weight: 600;
line-height: 18px;
text-decoration: none;
color: #15212A;
}
.kg-audio-play-button {
display: block;
box-sizing: border-box;
width: 16px;
height: 16px;
color: #15212A;
border-style: solid;
border-width: 8px 0px 8px 16px;
border-color: transparent transparent transparent currentColor;
}
.kg-audio-duration {
display: block;
text-decoration: none;
font-size: 13px;
color: #15171A;
}
.kg-audio-link {
color: #738a94;
}
.kg-file-card {
width: auto;
width: 100%;
margin: 0 0 1.5em 0;
border-radius: 3px;
border: 1px solid #e5eff5;
}
.kg-file-title {
display: block;
width: 100%;
padding-left: 12px;
padding-top: 8px;
font-size: 17px;
font-weight: bold;
line-height: 1.3em;
text-decoration: none;
color: #15212A;
}
.kg-file-description {
display: block;
width: 100%;
padding-left: 12px;
padding-top: 2px;
font-size: 15px;
line-height: 1.4em;
text-decoration: none;
color: #738a94;
}
.kg-file-meta {
display: block;
width: 100%;
padding-left: 12px;
padding-top: 4px;
padding-bottom: 8px;
font-size: 13px;
line-height: 1.4em;
text-decoration: none;
color: #738a94;
}
.kg-file-name {
font-weight: 500;
color: #15212A;
}
.kg-file-thumbnail {
position: relative;
vertical-align: middle;
text-align: center;
border-radius: 2px;
background: #F7F7F7;
}
.kg-twitter-card {
width: auto;
width: 100%
margin: 0 auto;
border-radius: 12px;
border: 1px solid #e5eff5;
}
/* -------------------------------------
HEADER, FOOTER, MAIN