mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-19 18:42:34 +00:00
Some minor fixes
This commit is contained in:
parent
d3d4bd56bb
commit
bf3666fd19
@ -109,11 +109,9 @@ var templates = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
getHTML: function(rows) {
|
getHTML: function(rows) {
|
||||||
var rowHTML = rows.map(row => {
|
return rows.map(row => {
|
||||||
return `<div class="group-picture-row">${this.getColumnHTML(row)}</div>`;
|
return `<div class="group-picture-row">${this.getColumnHTML(row)}</div>`;
|
||||||
}).join('');
|
}).join('');
|
||||||
|
|
||||||
return `<div class="group-picture-container">${rowHTML}</div>`;
|
|
||||||
},
|
},
|
||||||
|
|
||||||
getColumnHTML: function(pictures) {
|
getColumnHTML: function(pictures) {
|
||||||
|
|||||||
@ -28,9 +28,9 @@ h1, h2, h3, h4, h5, h6 {
|
|||||||
margin: 20px 0 15px;
|
margin: 20px 0 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
for headline in (1 .. 6) {
|
for $headline in (1 .. 6) {
|
||||||
h{headline} {
|
h{$headline} {
|
||||||
font-size: $font-size-headings-base - $font-size-headings-step * headline;
|
font-size: $font-size-headings-base - $font-size-headings-step * $headline;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -132,8 +132,8 @@ $table-row-hover-bg-color-dark = #363636;
|
|||||||
// Code & Code Blocks
|
// Code & Code Blocks
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
$code-font-family = $font-family-monospace;
|
$code-font-family = $font-family-monospace;
|
||||||
$code-foreground = $black-light;
|
|
||||||
$code-background = $gainsboro;
|
$code-background = $gainsboro;
|
||||||
|
$code-foreground = $black-light;
|
||||||
|
|
||||||
$highlight-background = convert(hexo-config('highlight.light.background'));
|
$highlight-background = convert(hexo-config('highlight.light.background'));
|
||||||
$highlight-foreground = convert(hexo-config('highlight.light.foreground'));
|
$highlight-foreground = convert(hexo-config('highlight.light.foreground'));
|
||||||
|
|||||||
@ -106,7 +106,7 @@ NexT.motion.middleWares = {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
if (CONFIG.motion.async) {
|
if (CONFIG.motion.async || !document.querySelectorAll('.menu-item').length) {
|
||||||
integrator.next();
|
integrator.next();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user