mirror of
https://github.com/TangentFoxy/memex.git
synced 2024-11-22 04:54:23 +00:00
Added support for author display.
This commit is contained in:
parent
bdf70c1f9f
commit
820a2f9c74
@ -482,7 +482,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* LINK, NOTE, QUOTE, TERM, TAGS */
|
/* LINK, NOTE, QUOTE, TERM, TAGS */
|
||||||
.note, .quote, .term, .tags, .prog {
|
.note, .quote, .term, .tags, .auth, .prog {
|
||||||
padding-top: var(--size-item-elem-padding);
|
padding-top: var(--size-item-elem-padding);
|
||||||
color: var(--color-content-item-i);
|
color: var(--color-content-item-i);
|
||||||
font-size: var(--size-font-body);
|
font-size: var(--size-font-body);
|
||||||
@ -494,6 +494,7 @@ body {
|
|||||||
.grid-item:hover .quote,
|
.grid-item:hover .quote,
|
||||||
.grid-item:hover .term,
|
.grid-item:hover .term,
|
||||||
.grid-item:hover .tags,
|
.grid-item:hover .tags,
|
||||||
|
.grid-item:hover .auth,
|
||||||
.grid-item:hover .prog {
|
.grid-item:hover .prog {
|
||||||
color: var(--color-content-item-e);
|
color: var(--color-content-item-e);
|
||||||
}
|
}
|
||||||
@ -502,6 +503,7 @@ body {
|
|||||||
.grid-item-image .grid-item-lower-content .quote,
|
.grid-item-image .grid-item-lower-content .quote,
|
||||||
.grid-item-image .grid-item-lower-content .term,
|
.grid-item-image .grid-item-lower-content .term,
|
||||||
.grid-item-image .grid-item-lower-content .tags,
|
.grid-item-image .grid-item-lower-content .tags,
|
||||||
|
.grid-item-image .grid-item-lower-content .auth,
|
||||||
.grid-item-image .grid-item-lower-content .prog {
|
.grid-item-image .grid-item-lower-content .prog {
|
||||||
color: var(--color-content-image-t);
|
color: var(--color-content-image-t);
|
||||||
}
|
}
|
||||||
|
@ -15,6 +15,7 @@ function View()
|
|||||||
GRIDITEMIDBASE: 'item',
|
GRIDITEMIDBASE: 'item',
|
||||||
SHOWUPPER: true,
|
SHOWUPPER: true,
|
||||||
SHOWTITLE: true,
|
SHOWTITLE: true,
|
||||||
|
SHOWAUTH: true,
|
||||||
SHOWTYPE: true,
|
SHOWTYPE: true,
|
||||||
SHOWLINK: true,
|
SHOWLINK: true,
|
||||||
SHOWLOWER: true,
|
SHOWLOWER: true,
|
||||||
@ -223,6 +224,15 @@ function View()
|
|||||||
{
|
{
|
||||||
entry += `<div class="grid-item-lower-content">`;
|
entry += `<div class="grid-item-lower-content">`;
|
||||||
|
|
||||||
|
// AUTHOR
|
||||||
|
if (SETTINGS.SHOWAUTH)
|
||||||
|
{
|
||||||
|
if (typeof value.AUTH !== 'undefined')
|
||||||
|
{
|
||||||
|
entry += `<div class="auth"><i class="fas fa-user textIcon"></i>${value.AUTH}</div>`;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// TAGS
|
// TAGS
|
||||||
if (SETTINGS.SHOWTAGS)
|
if (SETTINGS.SHOWTAGS)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user