mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-17 18:22:33 +00:00
Fix post-meta position in scheme Mist
This commit is contained in:
parent
f27e45bcae
commit
c9cdf1c695
@ -79,7 +79,6 @@ creative_commons:
|
||||
# Usage: `Key: /link/ || icon`
|
||||
# Key is the name of menu item. If the translation for this item is available, the translated text will be loaded, otherwise the Key name will be used. Key is case-senstive.
|
||||
# Value before `||` delimiter is the target link, value after `||` delimiter is the name of Font Awesome icon.
|
||||
# When running the site in a subdirectory (e.g. yoursite.com/blog), remove the leading slash from link value (/archives -> archives).
|
||||
# External url should start with http:// or https://
|
||||
menu:
|
||||
#home: / || fa fa-home
|
||||
@ -165,7 +164,7 @@ links_settings:
|
||||
layout: block
|
||||
|
||||
links:
|
||||
#Title: http://yoursite.com
|
||||
#Title: https://example.com
|
||||
|
||||
# Table of Contents in the Sidebar
|
||||
# Front-matter variable (unsupport wrap expand_all).
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
.site-meta {
|
||||
flex-grow: 1;
|
||||
text-align: $site-meta-text-align;
|
||||
text-align: center;
|
||||
|
||||
+mobile() {
|
||||
text-align: center;
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
.posts-expand {
|
||||
&.index {
|
||||
.post-header {
|
||||
text-align: $site-meta-text-align;
|
||||
text-align: left;
|
||||
|
||||
+mobile() {
|
||||
text-align: center;
|
||||
@ -13,6 +13,14 @@
|
||||
.post-meta-container {
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.post-meta {
|
||||
justify-content: flex-start;
|
||||
|
||||
+mobile() {
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.post-eof {
|
||||
@ -25,7 +33,6 @@
|
||||
|
||||
.post-header {
|
||||
margin-bottom: 20px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.post-tags {
|
||||
|
||||
@ -15,7 +15,6 @@ $head-bg = var(--content-bg-color);
|
||||
$brand-color = $black-deep;
|
||||
$brand-hover-color = $brand-color;
|
||||
|
||||
$site-meta-text-align = left;
|
||||
$posts-collapse-left = 0;
|
||||
|
||||
$btn-default-bg = transparent;
|
||||
|
||||
@ -207,7 +207,6 @@ $headband-bg = $black-deep;
|
||||
$head-bg = transparent;
|
||||
|
||||
// Site Meta
|
||||
$site-meta-text-align = center;
|
||||
$brand-color = white;
|
||||
$brand-hover-color = white;
|
||||
$brand-color-dark = $grey-lighter;
|
||||
|
||||
@ -281,6 +281,7 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
});
|
||||
};
|
||||
|
||||
highlightSearchWords();
|
||||
if (CONFIG.localsearch.preload) {
|
||||
fetchData();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user