hexo-theme-keep/source/css/layout/index.styl

37 lines
517 B
Stylus
Raw Normal View History

@require 'variables.styl'
.page-container {
position absolute
left: 0
right: 0
top: 0
bottom: 0
background: $background-color
.page-left {
float: left
width: $left-side-width
height: 100%
position: fixed
}
.page-right {
float: right
width: $right-side-width
height: 100%
position relative
}
2020-03-22 20:31:13 +08:00
@media screen and (max-width: $media-max-width) {
.page-left {
2020-03-22 20:31:13 +08:00
display: none !important;
}
.page-right {
2020-03-22 20:31:13 +08:00
width: 100% !important;
}
}
}