Some minor fixes

This commit is contained in:
Mimi 2020-05-13 00:22:20 +08:00
parent d3d4bd56bb
commit bf3666fd19
4 changed files with 6 additions and 8 deletions

View File

@ -109,11 +109,9 @@ var templates = {
},
getHTML: function(rows) {
var rowHTML = rows.map(row => {
return rows.map(row => {
return `<div class="group-picture-row">${this.getColumnHTML(row)}</div>`;
}).join('');
return `<div class="group-picture-container">${rowHTML}</div>`;
},
getColumnHTML: function(pictures) {

View File

@ -28,9 +28,9 @@ h1, h2, h3, h4, h5, h6 {
margin: 20px 0 15px;
}
for headline in (1 .. 6) {
h{headline} {
font-size: $font-size-headings-base - $font-size-headings-step * headline;
for $headline in (1 .. 6) {
h{$headline} {
font-size: $font-size-headings-base - $font-size-headings-step * $headline;
}
}

View File

@ -132,8 +132,8 @@ $table-row-hover-bg-color-dark = #363636;
// Code & Code Blocks
// --------------------------------------------------
$code-font-family = $font-family-monospace;
$code-foreground = $black-light;
$code-background = $gainsboro;
$code-foreground = $black-light;
$highlight-background = convert(hexo-config('highlight.light.background'));
$highlight-foreground = convert(hexo-config('highlight.light.foreground'));

View File

@ -106,7 +106,7 @@ NexT.motion.middleWares = {
}
});
if (CONFIG.motion.async) {
if (CONFIG.motion.async || !document.querySelectorAll('.menu-item').length) {
integrator.next();
}
},