0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Changed order and font color of author and publisher on bookmark card

This commit is contained in:
Sanne de Vries 2020-08-21 11:40:52 +02:00
parent a7c3255060
commit e271486c8b
2 changed files with 14 additions and 9 deletions

View file

@ -972,13 +972,7 @@
margin-right: 6px; margin-right: 6px;
} }
.kg-bookmark-author:after {
content: "•";
margin: 0 6px;
}
.kg-bookmark-publisher { .kg-bookmark-publisher {
color: var(--blue);
text-overflow: ellipsis; text-overflow: ellipsis;
overflow: hidden; overflow: hidden;
max-width: 240px; max-width: 240px;
@ -987,6 +981,17 @@
line-height: 1.65em; line-height: 1.65em;
} }
.kg-bookmark-author:before {
content: "•";
color: var(--darkgrey);
margin: 0 6px;
}
.kg-bookmark-author {
color: var(--middarkgrey);
font-weight: 400;
}
.kg-email-card p:first-of-type { .kg-email-card p:first-of-type {
margin-top: 0; margin-top: 0;
} }

View file

@ -28,12 +28,12 @@
{{#if this.payload.metadata.icon}} {{#if this.payload.metadata.icon}}
<img src={{this.payload.metadata.icon}} class="kg-bookmark-icon"> <img src={{this.payload.metadata.icon}} class="kg-bookmark-icon">
{{/if}} {{/if}}
{{#if this.payload.metadata.author}}
<span class="kg-bookmark-author">{{this.payload.metadata.author}}</span>
{{/if}}
{{#if this.payload.metadata.publisher}} {{#if this.payload.metadata.publisher}}
<span class="kg-bookmark-publisher">{{this.payload.metadata.publisher}}</span> <span class="kg-bookmark-publisher">{{this.payload.metadata.publisher}}</span>
{{/if}} {{/if}}
{{#if this.payload.metadata.author}}
<span class="kg-bookmark-author">{{this.payload.metadata.author}}</span>
{{/if}}
</div> </div>
</div> </div>
{{#if this.payload.metadata.thumbnail}} {{#if this.payload.metadata.thumbnail}}