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:
parent
a4c04da443
commit
4699f5b86e
1 changed files with 79 additions and 57 deletions
|
@ -900,8 +900,8 @@ a[data-flickr-embed] img {
|
|||
.kg-header-card h2 {
|
||||
font-size: 3em;
|
||||
font-weight: 700;
|
||||
line-height: 1.1em;
|
||||
margin: 0 0 0.125em;
|
||||
line-height: 1em;
|
||||
margin: 0 0 0.25em;
|
||||
}
|
||||
|
||||
.kg-header-card h2 strong {
|
||||
|
@ -947,7 +947,7 @@ a[data-flickr-embed] img {
|
|||
margin: 0;
|
||||
padding: 8px 16px;
|
||||
text-decoration: none !important;
|
||||
color: #15171A !important;
|
||||
color: #15171A;
|
||||
}
|
||||
|
||||
.kg-size-large .kg-header-card-button {
|
||||
|
@ -963,11 +963,33 @@ a[data-flickr-embed] img {
|
|||
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 {
|
||||
width: 100%;
|
||||
margin: 0 0 1.5em;
|
||||
margin: 0 0 1.5em;
|
||||
padding: 20px;
|
||||
border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
border: 1px solid #e5eff5;
|
||||
}
|
||||
.kg-product-rating img {
|
||||
|
@ -975,106 +997,106 @@ a[data-flickr-embed] img {
|
|||
border: none;
|
||||
}
|
||||
.kg-audio-card {
|
||||
width: auto;
|
||||
width: auto;
|
||||
width: 100%;
|
||||
margin: 0 auto 1.5em;
|
||||
border-radius: 3px;
|
||||
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 !important;
|
||||
display: block;
|
||||
padding-right: 20px;
|
||||
padding-bottom: 4px;
|
||||
padding-top: 4px;
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
line-height: 18px;
|
||||
text-decoration: none !important;
|
||||
color: #15212A !important;
|
||||
}
|
||||
.kg-audio-play-button {
|
||||
display: block;
|
||||
box-sizing: border-box;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
color: #15212A !important;
|
||||
border-style: solid;
|
||||
border-width: 8px 0px 8px 16px;
|
||||
display: block;
|
||||
box-sizing: border-box;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
color: #15212A !important;
|
||||
border-style: solid;
|
||||
border-width: 8px 0px 8px 16px;
|
||||
border-color: transparent transparent transparent currentColor;
|
||||
}
|
||||
.kg-audio-duration {
|
||||
display: block;
|
||||
text-decoration: none !important;
|
||||
font-size: 13px;
|
||||
display: block;
|
||||
text-decoration: none !important;
|
||||
font-size: 13px;
|
||||
color: #15171A !important;
|
||||
}
|
||||
.kg-audio-link {
|
||||
color: #738a94 !important;
|
||||
color: #738a94 !important;
|
||||
}
|
||||
.kg-file-card {
|
||||
width: auto;
|
||||
width: 100%;
|
||||
margin: 0 0 1.5em 0;
|
||||
border-radius: 3px;
|
||||
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;
|
||||
display: block;
|
||||
width: 100%;
|
||||
padding-left: 12px;
|
||||
padding-top: 8px;
|
||||
font-size: 17px;
|
||||
font-weight: bold;
|
||||
line-height: 1.3em;
|
||||
text-decoration: none !important;
|
||||
color: #15212A !important;
|
||||
color: #15212A !important;
|
||||
}
|
||||
.kg-file-description {
|
||||
display: block;
|
||||
width: 100%;
|
||||
padding-left: 12px;
|
||||
padding-top: 2px;
|
||||
font-size: 15px;
|
||||
line-height: 1.4em;
|
||||
display: block;
|
||||
width: 100%;
|
||||
padding-left: 12px;
|
||||
padding-top: 2px;
|
||||
font-size: 15px;
|
||||
line-height: 1.4em;
|
||||
text-decoration: none !important;
|
||||
color: #738a94 !important;
|
||||
color: #738a94 !important;
|
||||
}
|
||||
.kg-file-meta {
|
||||
display: block;
|
||||
width: 100%;
|
||||
padding-left: 12px;
|
||||
padding-top: 4px;
|
||||
width: 100%;
|
||||
padding-left: 12px;
|
||||
padding-top: 4px;
|
||||
padding-bottom: 8px;
|
||||
font-size: 13px;
|
||||
line-height: 1.4em;
|
||||
font-size: 13px;
|
||||
line-height: 1.4em;
|
||||
text-decoration: none !important;
|
||||
color: #738a94 !important;
|
||||
color: #738a94 !important;
|
||||
}
|
||||
.kg-file-name {
|
||||
font-weight: 500;
|
||||
font-weight: 500;
|
||||
color: #15212A !important;
|
||||
}
|
||||
.kg-file-thumbnail {
|
||||
position: relative;
|
||||
vertical-align: middle;
|
||||
text-align: center;
|
||||
position: relative;
|
||||
vertical-align: middle;
|
||||
text-align: center;
|
||||
border-radius: 2px;
|
||||
background-color: {{accentColor}} !important;
|
||||
}
|
||||
.kg-twitter-card {
|
||||
width: auto;
|
||||
width: auto;
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
border-radius: 12px;
|
||||
border-radius: 12px;
|
||||
border: 1px solid #e5eff5;
|
||||
}
|
||||
|
||||
.kg-toggle-card {
|
||||
background: transparent;
|
||||
padding: 20px;
|
||||
padding: 20px;
|
||||
margin-bottom: 1.5em;
|
||||
border-radius: 4px;
|
||||
border: 1px solid {{secondaryBorderColor}};
|
||||
border-radius: 4px;
|
||||
border: 1px solid {{secondaryBorderColor}};
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue