mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-17 18:22:33 +00:00
38 lines
773 B
Stylus
38 lines
773 B
Stylus
.sidebar-inner {
|
|
color: $grey-dark;
|
|
// Init Sidebar & TOC inner dimensions on all pages and for all schemes.
|
|
$offset = (($scheme == 'Pisces') or ($scheme == 'Gemini')) ? $sidebar-offset : $sidebar-padding;
|
|
max-height: 'calc(100vh - %s)' % unit($offset * 2, 'px');
|
|
padding: $sidebar-padding 10px;
|
|
text-align: center;
|
|
flex-column();
|
|
}
|
|
|
|
.site-overview-item:not(:first-child) {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.cc-license {
|
|
.cc-opacity {
|
|
border-bottom: 0;
|
|
opacity: .7;
|
|
|
|
&:hover {
|
|
opacity: .9;
|
|
}
|
|
}
|
|
|
|
img {
|
|
display: inline-block;
|
|
}
|
|
}
|
|
|
|
@import 'sidebar-author';
|
|
@import 'sidebar-author-links';
|
|
@import 'sidebar-button';
|
|
@import 'sidebar-blogroll';
|
|
@import 'sidebar-nav';
|
|
@import 'sidebar-toggle';
|
|
@import 'sidebar-toc';
|
|
@import 'site-state';
|