hexo-theme-keep/source/css/layout/_partial/sidebar.styl

30 lines
377 B
Stylus
Raw Normal View History

@require "../common/variables.styl"
2020-04-28 23:20:17 +08:00
@require "../common/magic-theme.styl"
.sidebar {
width: $sidebar-width;
2020-04-28 23:20:17 +08:00
box-sizing: border-box;
.sidebar-container {
2020-04-28 23:20:17 +08:00
.sidebar-item {
2020-04-28 23:20:17 +08:00
margin-bottom: $component-interspace;
2020-04-28 23:20:17 +08:00
&:last-child {
margin-bottom: 0;
}
}
}
}
.sidebar-post {
position: fixed;
}
.sidebar-other {
2020-09-02 19:17:24 +08:00
position: absolute;
}