mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-03-19 12:42:33 +00:00
New variable $scheme-text-align
This commit is contained in:
parent
26b7ad7e63
commit
273fdfba5a
@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
.post-button {
|
.post-button {
|
||||||
margin-top: 40px;
|
margin-top: 40px;
|
||||||
text-align: center;
|
text-align: $scheme-text-align;
|
||||||
}
|
}
|
||||||
|
|
||||||
.use-motion {
|
.use-motion {
|
||||||
|
|||||||
@ -28,7 +28,7 @@ if (hexo-config('creative_commons.post')) {
|
|||||||
|
|
||||||
.post-tags {
|
.post-tags {
|
||||||
margin-top: 40px;
|
margin-top: 40px;
|
||||||
text-align: center;
|
text-align: $scheme-text-align;
|
||||||
|
|
||||||
a {
|
a {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
|||||||
@ -17,7 +17,7 @@
|
|||||||
// elements of .footer-inner through the `order` CSS property
|
// elements of .footer-inner through the `order` CSS property
|
||||||
.footer-inner {
|
.footer-inner {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
text-align: center;
|
text-align: $scheme-text-align;
|
||||||
flex-column();
|
flex-column();
|
||||||
main-container();
|
main-container();
|
||||||
}
|
}
|
||||||
|
|||||||
@ -17,7 +17,7 @@ $page-number-current {
|
|||||||
.pagination {
|
.pagination {
|
||||||
border-top: 1px solid $pagination-border;
|
border-top: 1px solid $pagination-border;
|
||||||
margin: 120px 0 0;
|
margin: 120px 0 0;
|
||||||
text-align: center;
|
text-align: $scheme-text-align;
|
||||||
|
|
||||||
.prev, .next, .page-number {
|
.prev, .next, .page-number {
|
||||||
@extend $page-number-basic;
|
@extend $page-number-basic;
|
||||||
|
|||||||
@ -18,8 +18,6 @@ hr {
|
|||||||
// Pagination
|
// Pagination
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
.pagination {
|
.pagination {
|
||||||
text-align: left;
|
|
||||||
|
|
||||||
+mobile() {
|
+mobile() {
|
||||||
margin: 80px 0 0;
|
margin: 80px 0 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@ -35,8 +33,6 @@ hr {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.footer-inner {
|
.footer-inner {
|
||||||
text-align: left;
|
|
||||||
|
|
||||||
+mobile() {
|
+mobile() {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
.posts-expand {
|
.posts-expand {
|
||||||
&.index {
|
&.index {
|
||||||
.post-header {
|
.post-header {
|
||||||
text-align: left;
|
text-align: $scheme-text-align;
|
||||||
|
|
||||||
+mobile() {
|
+mobile() {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@ -36,8 +36,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.post-tags {
|
.post-tags {
|
||||||
text-align: left;
|
|
||||||
|
|
||||||
a {
|
a {
|
||||||
background: var(--content-bg-color);
|
background: var(--content-bg-color);
|
||||||
border-bottom: 0;
|
border-bottom: 0;
|
||||||
@ -56,7 +54,6 @@
|
|||||||
|
|
||||||
.post-button {
|
.post-button {
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
text-align: left;
|
|
||||||
|
|
||||||
.btn {
|
.btn {
|
||||||
background: none;
|
background: none;
|
||||||
|
|||||||
@ -3,6 +3,8 @@
|
|||||||
|
|
||||||
@import 'Muse';
|
@import 'Muse';
|
||||||
|
|
||||||
|
$scheme-text-align = left;
|
||||||
|
|
||||||
$content-padding-bottom = 80px;
|
$content-padding-bottom = 80px;
|
||||||
$posts-first-padding = 80px;
|
$posts-first-padding = 80px;
|
||||||
$posts-first-padding-mobile = 60px;
|
$posts-first-padding-mobile = 60px;
|
||||||
|
|||||||
@ -69,6 +69,8 @@ $menu-item-bg-color-dark = $black-light;
|
|||||||
$theme-color = convert(hexo-config('theme_color.light'));
|
$theme-color = convert(hexo-config('theme_color.light'));
|
||||||
$theme-color-dark = convert(hexo-config('theme_color.dark'));
|
$theme-color-dark = convert(hexo-config('theme_color.dark'));
|
||||||
|
|
||||||
|
$scheme-text-align = center;
|
||||||
|
|
||||||
// Typography
|
// Typography
|
||||||
// Font, line-height, and elements colors.
|
// Font, line-height, and elements colors.
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user