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 {
|
||||
margin-top: 40px;
|
||||
text-align: center;
|
||||
text-align: $scheme-text-align;
|
||||
}
|
||||
|
||||
.use-motion {
|
||||
|
||||
@ -28,7 +28,7 @@ if (hexo-config('creative_commons.post')) {
|
||||
|
||||
.post-tags {
|
||||
margin-top: 40px;
|
||||
text-align: center;
|
||||
text-align: $scheme-text-align;
|
||||
|
||||
a {
|
||||
display: inline-block;
|
||||
|
||||
@ -17,7 +17,7 @@
|
||||
// elements of .footer-inner through the `order` CSS property
|
||||
.footer-inner {
|
||||
box-sizing: border-box;
|
||||
text-align: center;
|
||||
text-align: $scheme-text-align;
|
||||
flex-column();
|
||||
main-container();
|
||||
}
|
||||
|
||||
@ -17,7 +17,7 @@ $page-number-current {
|
||||
.pagination {
|
||||
border-top: 1px solid $pagination-border;
|
||||
margin: 120px 0 0;
|
||||
text-align: center;
|
||||
text-align: $scheme-text-align;
|
||||
|
||||
.prev, .next, .page-number {
|
||||
@extend $page-number-basic;
|
||||
|
||||
@ -18,8 +18,6 @@ hr {
|
||||
// Pagination
|
||||
// --------------------------------------------------
|
||||
.pagination {
|
||||
text-align: left;
|
||||
|
||||
+mobile() {
|
||||
margin: 80px 0 0;
|
||||
text-align: center;
|
||||
@ -35,8 +33,6 @@ hr {
|
||||
}
|
||||
|
||||
.footer-inner {
|
||||
text-align: left;
|
||||
|
||||
+mobile() {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
.posts-expand {
|
||||
&.index {
|
||||
.post-header {
|
||||
text-align: left;
|
||||
text-align: $scheme-text-align;
|
||||
|
||||
+mobile() {
|
||||
text-align: center;
|
||||
@ -36,8 +36,6 @@
|
||||
}
|
||||
|
||||
.post-tags {
|
||||
text-align: left;
|
||||
|
||||
a {
|
||||
background: var(--content-bg-color);
|
||||
border-bottom: 0;
|
||||
@ -56,7 +54,6 @@
|
||||
|
||||
.post-button {
|
||||
margin-top: 20px;
|
||||
text-align: left;
|
||||
|
||||
.btn {
|
||||
background: none;
|
||||
|
||||
@ -3,6 +3,8 @@
|
||||
|
||||
@import 'Muse';
|
||||
|
||||
$scheme-text-align = left;
|
||||
|
||||
$content-padding-bottom = 80px;
|
||||
$posts-first-padding = 80px;
|
||||
$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-dark = convert(hexo-config('theme_color.dark'));
|
||||
|
||||
$scheme-text-align = center;
|
||||
|
||||
// Typography
|
||||
// Font, line-height, and elements colors.
|
||||
// --------------------------------------------------
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user