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) { arr.sort("updated", -1).limit(item.limit).each(function(post) {
el += '<div class="post-title reveal">'; el += '<div class="post-title reveal">';
el += '<div class="cap">'; 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 += '</div>';
el += '<a href="' + url_for(post.link || post.path) + '">'; el += '<a href="' + url_for(post.link || post.path) + '">';
if (post.wiki && (post.title.toUpperCase().includes(post.wiki.toUpperCase()) == false)) { if (post.wiki && (post.title.toUpperCase().includes(post.wiki.toUpperCase()) == false)) {

View File

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

View File

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