diff --git a/docs/asset/style.css b/docs/asset/style.css index f51b363..93bd222 100644 --- a/docs/asset/style.css +++ b/docs/asset/style.css @@ -421,15 +421,16 @@ article:hover .article-linktitle { margin-right: var(--size-grid-gutter); } .article-type { - width: calc(var(--size-font-bodytypes)*2); color: var(--color-item); padding-bottom: var(--size-grid-gutter); - font-size: var(--size-font-bodytypes); padding-top: var(--size-grid-gutter); + font-size: var(--size-font-bodytypes); vertical-align: top; text-align: center; float: right; text-decoration: none; + width: 30px; + padding-left: 10px; } .article-image .article-typeicon { display: none; @@ -574,7 +575,7 @@ article:hover .textIcon { left: 0; top: 0; /* content */ - display: flex; + display: none; align-items: center; justify-content: center; user-select: none; diff --git a/docs/content/settings.js b/docs/content/settings.js index 3eda02c..3e5674e 100644 --- a/docs/content/settings.js +++ b/docs/content/settings.js @@ -12,6 +12,7 @@ const SETTINGS = SHOWDATE: true, SHOWAUTH: true, SHOWTYPE: true, + SHOWDONE: true, SHOWLINK: true, SHOWLOWER: true, SHOWTAGS: true, diff --git a/docs/logic/view/grid.js b/docs/logic/view/grid.js index db12d22..e3e0665 100644 --- a/docs/logic/view/grid.js +++ b/docs/logic/view/grid.js @@ -145,16 +145,28 @@ function Grid() } // TYPE - if (SETTINGS.SHOWTYPE && main.util.isDefined(value.TYPE)) + if (SETTINGS.SHOWTYPE || SETTINGS.SHOWDONE) { - article += `