2025-2-26-fixed
This commit is contained in:
25
themes/next/source/css/_schemes/Muse/_header.styl
Normal file
25
themes/next/source/css/_schemes/Muse/_header.styl
Normal file
@ -0,0 +1,25 @@
|
||||
.custom-logo {
|
||||
.site-meta-headline {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.site-title {
|
||||
color: $black-deep;
|
||||
margin: 10px auto 0;
|
||||
|
||||
a {
|
||||
border: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.custom-logo-image {
|
||||
background: white;
|
||||
margin: 0 auto;
|
||||
max-width: 150px;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.brand {
|
||||
background: var(--btn-default-bg);
|
||||
}
|
||||
30
themes/next/source/css/_schemes/Muse/_layout.styl
Normal file
30
themes/next/source/css/_schemes/Muse/_layout.styl
Normal file
@ -0,0 +1,30 @@
|
||||
.header-inner, .main-inner, .footer-inner {
|
||||
+mobile() {
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.header-inner {
|
||||
padding-top: 100px;
|
||||
|
||||
+mobile() {
|
||||
padding-top: 50px;
|
||||
}
|
||||
}
|
||||
|
||||
.main-inner {
|
||||
padding-bottom: 60px;
|
||||
}
|
||||
|
||||
.content {
|
||||
padding-top: 70px;
|
||||
|
||||
+mobile() {
|
||||
padding-top: 35px;
|
||||
}
|
||||
}
|
||||
|
||||
embed {
|
||||
display: block;
|
||||
margin: 0 auto 25px auto;
|
||||
}
|
||||
57
themes/next/source/css/_schemes/Muse/_menu.styl
Normal file
57
themes/next/source/css/_schemes/Muse/_menu.styl
Normal file
@ -0,0 +1,57 @@
|
||||
.site-nav {
|
||||
+mobile() {
|
||||
border-bottom: 1px solid $grey-lighter;
|
||||
border-top: 1px solid $grey-lighter;
|
||||
left: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.menu {
|
||||
+mobile() {
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
|
||||
.menu-item-active a {
|
||||
background: transparent;
|
||||
border-bottom: 1px solid var(--link-hover-color) !important;
|
||||
|
||||
+mobile() {
|
||||
border-bottom: 1px dotted $grey-lighter !important;
|
||||
}
|
||||
}
|
||||
|
||||
.menu .menu-item {
|
||||
+mobile() {
|
||||
margin: 0 10px;
|
||||
}
|
||||
|
||||
a, span.exturl {
|
||||
border-bottom: 1px solid transparent;
|
||||
|
||||
+mobile() {
|
||||
padding: 5px 10px;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
@extend .menu-item-active a;
|
||||
}
|
||||
}
|
||||
|
||||
.fa, .fab, .far, .fas {
|
||||
+tablet-desktop() {
|
||||
display: block;
|
||||
line-height: 2;
|
||||
margin-right: 0;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.badge {
|
||||
background: $gainsboro;
|
||||
padding: 1px 4px;
|
||||
}
|
||||
}
|
||||
62
themes/next/source/css/_schemes/Muse/_sidebar.styl
Normal file
62
themes/next/source/css/_schemes/Muse/_sidebar.styl
Normal file
@ -0,0 +1,62 @@
|
||||
if (hexo-config('sidebar.position') == 'right') {
|
||||
.sidebar {
|
||||
right: 0 - $sidebar-desktop;
|
||||
|
||||
&.sidebar-active {
|
||||
right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.sidebar-toggle, .back-to-top {
|
||||
left: auto;
|
||||
right: $b2t-position-right;
|
||||
|
||||
+tablet-mobile() {
|
||||
right: $b2t-position-right-mobile;
|
||||
}
|
||||
}
|
||||
|
||||
.book-mark-link {
|
||||
left: $b2t-position-right;
|
||||
}
|
||||
} else {
|
||||
.sidebar {
|
||||
left: 0 - $sidebar-desktop;
|
||||
|
||||
&.sidebar-active {
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
width: $sidebar-desktop;
|
||||
z-index: $zindex-2;
|
||||
the-transition-ease-out();
|
||||
|
||||
a, span.exturl {
|
||||
border-bottom-color: $black-light;
|
||||
color: $grey-dark;
|
||||
|
||||
&:hover {
|
||||
border-bottom-color: $gainsboro;
|
||||
color: $gainsboro;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.links-of-blogroll-item {
|
||||
if (hexo-config('links_settings.layout') == 'inline') {
|
||||
display: inline-block;
|
||||
}
|
||||
padding: 2px 10px;
|
||||
|
||||
a, span.exturl {
|
||||
box-sizing: border-box;
|
||||
display: inline-block;
|
||||
max-width: 280px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
7
themes/next/source/css/_schemes/Muse/_sub-menu.styl
Normal file
7
themes/next/source/css/_schemes/Muse/_sub-menu.styl
Normal file
@ -0,0 +1,7 @@
|
||||
.sub-menu {
|
||||
margin: 10px 0;
|
||||
|
||||
.menu-item {
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
5
themes/next/source/css/_schemes/Muse/index.styl
Normal file
5
themes/next/source/css/_schemes/Muse/index.styl
Normal file
@ -0,0 +1,5 @@
|
||||
@import '_layout';
|
||||
@import '_header';
|
||||
@import '_menu';
|
||||
@import '_sub-menu';
|
||||
@import '_sidebar';
|
||||
Reference in New Issue
Block a user