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

37 lines
482 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
}
@media screen and (max-width: 960px) {
.page-left {
display: none
}
.page-right {
width: 100%
}
}
}