🏗️ First time sync the css & js files from hexo theme NexT
This commit is contained in:
54
assets/css/_schemes/Pisces/_layout.scss
Normal file
54
assets/css/_schemes/Pisces/_layout.scss
Normal file
@@ -0,0 +1,54 @@
|
||||
.header-inner {
|
||||
background: var(--content-bg-color);
|
||||
border-radius: $border-radius-inner;
|
||||
box-shadow: $box-shadow-inner;
|
||||
width: $sidebar-desktop;
|
||||
|
||||
@include tablet-mobile() {
|
||||
border-radius: initial;
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.main {
|
||||
// Make sure that .header and .main-inner are the same height
|
||||
// Required for .sidebar `position: sticky;`
|
||||
align-items: stretch;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
@include main-container();
|
||||
|
||||
@if hexo-config('sidebar.position') == 'right' {
|
||||
flex-direction: row-reverse;
|
||||
}
|
||||
|
||||
@include tablet-mobile() {
|
||||
display: block;
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.main-inner {
|
||||
border-radius: $border-radius-inner;
|
||||
box-sizing: border-box;
|
||||
width: $content-wrap;
|
||||
|
||||
@include tablet-mobile() {
|
||||
border-radius: initial;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.footer-inner {
|
||||
@if hexo-config('sidebar.position') == 'right' {
|
||||
padding-right: $sidebar-desktop + $sidebar-offset;
|
||||
} @else {
|
||||
padding-left: $sidebar-desktop + $sidebar-offset;
|
||||
}
|
||||
|
||||
@include tablet-mobile() {
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user