mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Implemented table based NFT email styles
This commit is contained in:
parent
0692ddf57d
commit
bbceace31c
2 changed files with 13 additions and 55 deletions
|
@ -544,60 +544,17 @@ figure blockquote p {
|
||||||
border-width: 0.8em 0 0.8em 1.5em;
|
border-width: 0.8em 0 0.8em 1.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
a.kg-nft-card {
|
.kg-nft-link {
|
||||||
display: flex;
|
display: block;
|
||||||
flex-direction: column;
|
text-decoration: none !important;
|
||||||
color: #15212A;
|
color: #15212A !important;
|
||||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
|
font-family: inherit !important;
|
||||||
font-size: 15px;
|
font-size: 14px;
|
||||||
text-decoration: none;
|
line-height: 1.3em;
|
||||||
border-radius: 3px;
|
padding-top: 4px;
|
||||||
border: 1px solid #e5eff5;
|
padding-right: 20px;
|
||||||
width: 100%;
|
padding-left: 20px;
|
||||||
max-width: 512px;
|
padding-bottom: 4px;
|
||||||
color: #222;
|
|
||||||
background: #fff;
|
|
||||||
margin: 0 auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.kg-nft-metadata {
|
|
||||||
padding: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.kg-nft-image {
|
|
||||||
border-radius: 2px 2px 0 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.kg-nft-header {
|
|
||||||
display: flex;
|
|
||||||
justify-content: space-between;
|
|
||||||
gap: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.kg-nft-title {
|
|
||||||
font-family: inherit;
|
|
||||||
font-size: 19px;
|
|
||||||
font-weight: 700;
|
|
||||||
margin: 0;
|
|
||||||
color: #222;
|
|
||||||
}
|
|
||||||
|
|
||||||
.kg-nft-creator {
|
|
||||||
font-family: inherit;
|
|
||||||
margin: 4px 0 0;
|
|
||||||
color: #ababab;
|
|
||||||
}
|
|
||||||
|
|
||||||
.kg-nft-creator-name {
|
|
||||||
font-weight: 500;
|
|
||||||
color: #222;
|
|
||||||
}
|
|
||||||
|
|
||||||
.kg-nft-description {
|
|
||||||
font-family: inherit;
|
|
||||||
line-height: 1.4em;
|
|
||||||
margin: 12px 0 0;
|
|
||||||
color: #222;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.kg-card-callout {
|
.kg-card-callout {
|
||||||
|
|
|
@ -48,7 +48,8 @@ class NFTOEmbedProvider {
|
||||||
provider_url: 'https://opensea.io',
|
provider_url: 'https://opensea.io',
|
||||||
image_url: result.body.image_url,
|
image_url: result.body.image_url,
|
||||||
creator_name: result.body.creator.user.username,
|
creator_name: result.body.creator.user.username,
|
||||||
description: result.body.description
|
description: result.body.description,
|
||||||
|
collection_name: result.body.collection.name
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue