This commit is contained in:
xaoxuu 2021-03-22 21:13:57 +08:00
parent c7932fee54
commit fe6dbaed3f
3 changed files with 11 additions and 12 deletions

View File

@ -20,7 +20,7 @@ function layoutDiv() {
arr.sort("updated", -1).limit(item.limit).each(function(post) {
el += '<div class="post-title reveal">';
el += '<div class="cap">';
el += __("meta.updated") + '&nbsp;' + '<time>' + date(post.updated, config.date_format) + '</time>';
el += '<time>' + date(post.updated, config.date_format) + '</time>';
el += '</div>';
el += '<a href="' + url_for(post.link || post.path) + '">';
if (post.wiki && (post.title.toUpperCase().includes(post.wiki.toUpperCase()) == false)) {

View File

@ -29,11 +29,6 @@ li
ul,ol
padding-left: 1.5rem
ul ul, ul ol
padding-left: 0
ol ul, ol ol
padding-left: 0
// table
table:not([class])

View File

@ -1,6 +1,10 @@
// toc padding
#toc .widget-body
line-height: 1.2
ul ul, ul ol
padding-left: 0
ol ul, ol ol
padding-left: 0
.toc
padding: 0
margin: 0
@ -63,12 +67,12 @@
font-weight: 500
&.active
color: var(--text-p2)
font-size: $fs-14
font-size: 1rem
&:hover
background: var(--block-hover)
#toc .widget-body.wiki
.doc-tree.active
border-color: var(--text-meta)
.doc-tree.active:only-child
border-color: var(--block-hover)
// #toc .widget-body.wiki
// .doc-tree.active
// border-color: var(--text-meta)
// .doc-tree.active:only-child
// border-color: var(--block-hover)