2025-2-26-fixed
This commit is contained in:
65
themes/next/source/css/_schemes/Mist/_header.styl
Normal file
65
themes/next/source/css/_schemes/Mist/_header.styl
Normal file
@ -0,0 +1,65 @@
|
||||
// Header
|
||||
// --------------------------------------------------
|
||||
.header {
|
||||
background: var(--content-bg-color);
|
||||
}
|
||||
|
||||
.header-inner {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
padding: 20px 0;
|
||||
|
||||
+mobile() {
|
||||
display: block;
|
||||
padding: 10px 0;
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.site-meta {
|
||||
line-height: normal;
|
||||
|
||||
.brand {
|
||||
padding: 2px 1px;
|
||||
|
||||
+mobile() {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
.site-title {
|
||||
font-weight: bolder;
|
||||
}
|
||||
}
|
||||
|
||||
.logo-line-before, .logo-line-after {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
overflow: hidden;
|
||||
width: 75%;
|
||||
|
||||
+mobile() {
|
||||
display: none;
|
||||
}
|
||||
|
||||
i {
|
||||
background: var(--brand-color);
|
||||
display: block;
|
||||
height: 2px;
|
||||
position: relative;
|
||||
}
|
||||
}
|
||||
|
||||
.use-motion {
|
||||
.logo-line-before i {
|
||||
left: -100%;
|
||||
}
|
||||
|
||||
.logo-line-after i {
|
||||
right: -100%;
|
||||
}
|
||||
}
|
||||
|
||||
.site-subtitle {
|
||||
display: none;
|
||||
}
|
||||
63
themes/next/source/css/_schemes/Mist/_layout.styl
Normal file
63
themes/next/source/css/_schemes/Mist/_layout.styl
Normal file
@ -0,0 +1,63 @@
|
||||
// Tags
|
||||
// --------------------------------------------------
|
||||
hr {
|
||||
height: 2px;
|
||||
margin: 20px 0;
|
||||
}
|
||||
|
||||
// Components
|
||||
// --------------------------------------------------
|
||||
.btn {
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
.headband {
|
||||
display: none;
|
||||
}
|
||||
|
||||
// Page - Container
|
||||
// --------------------------------------------------
|
||||
.main-inner {
|
||||
padding-bottom: 80px;
|
||||
|
||||
+mobile() {
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.content {
|
||||
padding-top: 80px;
|
||||
|
||||
+mobile() {
|
||||
padding-top: 60px;
|
||||
}
|
||||
}
|
||||
|
||||
// Pagination
|
||||
// --------------------------------------------------
|
||||
.pagination {
|
||||
margin: 120px 0 0;
|
||||
text-align: left;
|
||||
|
||||
+mobile() {
|
||||
margin: 80px 10px 0;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
// Footer
|
||||
// --------------------------------------------------
|
||||
.footer {
|
||||
background: var(--content-bg-color);
|
||||
color: var(--text-color);
|
||||
padding: 10px 0;
|
||||
}
|
||||
|
||||
.footer-inner {
|
||||
text-align: left;
|
||||
|
||||
+mobile() {
|
||||
text-align: center;
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
43
themes/next/source/css/_schemes/Mist/_menu.styl
Normal file
43
themes/next/source/css/_schemes/Mist/_menu.styl
Normal file
@ -0,0 +1,43 @@
|
||||
// Menu
|
||||
// --------------------------------------------------
|
||||
.site-nav {
|
||||
flex-grow: 1;
|
||||
|
||||
+mobile() {
|
||||
padding: 10px 10px 0;
|
||||
}
|
||||
}
|
||||
|
||||
.menu {
|
||||
margin: 0;
|
||||
|
||||
.menu-item {
|
||||
margin: 0;
|
||||
|
||||
+mobile() {
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
a, span.exturl {
|
||||
border-radius: 2px;
|
||||
padding: 0 10px;
|
||||
transition-property: background;
|
||||
|
||||
+mobile() {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
@extend .menu-item-active a;
|
||||
}
|
||||
}
|
||||
|
||||
.badge {
|
||||
background: white;
|
||||
border-radius: 10px;
|
||||
color: $black-light;
|
||||
padding: 1px 4px;
|
||||
text-shadow: 1px 1px 0 rgba(0, 0, 0, .1);
|
||||
}
|
||||
}
|
||||
}
|
||||
69
themes/next/source/css/_schemes/Mist/_posts-expand.styl
Normal file
69
themes/next/source/css/_schemes/Mist/_posts-expand.styl
Normal file
@ -0,0 +1,69 @@
|
||||
// Post Expand
|
||||
// --------------------------------------------------
|
||||
.posts-expand {
|
||||
&.index {
|
||||
.post-title, .post-meta {
|
||||
text-align: $site-meta-text-align;
|
||||
|
||||
+mobile() {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
.post-meta {
|
||||
margin: 5px 0 20px 0;
|
||||
}
|
||||
}
|
||||
|
||||
.post-eof {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.post-block:not(:first-child) {
|
||||
margin-top: 120px;
|
||||
}
|
||||
|
||||
.post-title, .post-meta {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.post-body img {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.post-tags {
|
||||
text-align: left;
|
||||
|
||||
a {
|
||||
background: $whitesmoke;
|
||||
border-bottom: none;
|
||||
padding: 1px 5px;
|
||||
|
||||
&:hover {
|
||||
background: $grey-light;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.post-nav {
|
||||
margin-top: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
.post-button {
|
||||
margin-top: 20px;
|
||||
text-align: left;
|
||||
|
||||
.btn {
|
||||
// color: $grey-dim;
|
||||
background: none;
|
||||
border: 0;
|
||||
border-bottom: 2px solid var(--btn-default-border-color);
|
||||
padding: 0;
|
||||
transition-property: border;
|
||||
|
||||
&:hover {
|
||||
border-bottom-color: var(--btn-default-hover-border-color);
|
||||
}
|
||||
}
|
||||
}
|
||||
9
themes/next/source/css/_schemes/Mist/index.styl
Normal file
9
themes/next/source/css/_schemes/Mist/index.styl
Normal file
@ -0,0 +1,9 @@
|
||||
//
|
||||
// Mist scheme
|
||||
// ==================================================
|
||||
@import '_layout';
|
||||
@import '_header';
|
||||
@import '_menu';
|
||||
@import '_posts-expand';
|
||||
@import '../Muse/_sidebar';
|
||||
@import '../Muse/_sub-menu';
|
||||
Reference in New Issue
Block a user