2015-09-24 22:47:33 +08:00
|
|
|
@require 'variables'
|
|
|
|
|
2015-09-19 04:13:55 +08:00
|
|
|
.page-wrapper {
|
|
|
|
position: absolute
|
|
|
|
overflow-y: auto
|
2015-09-24 22:47:33 +08:00
|
|
|
left: $sidebar-width + 15px
|
2015-09-19 04:13:55 +08:00
|
|
|
right: 0
|
|
|
|
top: 0
|
|
|
|
bottom: 0
|
|
|
|
box-sizing: border-box
|
|
|
|
-webkit-overflow-scrolling: touch
|
|
|
|
|
|
|
|
min-height: 100%
|
|
|
|
|
|
|
|
// Animation: slide away
|
|
|
|
transition: left 0.5s
|
|
|
|
|
|
|
|
@media only screen and (max-width: 1060px) {
|
|
|
|
left: 15px;
|
|
|
|
padding-right: 15px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-09-24 22:47:33 +08:00
|
|
|
.sidebar-hidden .page-wrapper {
|
|
|
|
left: 15px
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar-visible .page-wrapper {
|
|
|
|
left: $sidebar-width + 15px
|
|
|
|
}
|
|
|
|
|
2015-09-19 04:13:55 +08:00
|
|
|
.page {
|
|
|
|
position: absolute
|
|
|
|
top: 0
|
|
|
|
right: 0
|
|
|
|
left: 0
|
|
|
|
bottom: 0
|
|
|
|
|
|
|
|
padding-right: 15px
|
|
|
|
overflow-y: auto
|
|
|
|
}
|
|
|
|
|
|
|
|
.content {
|
|
|
|
margin-left: auto
|
|
|
|
margin-right:auto
|
|
|
|
max-width: 750px
|
|
|
|
padding-bottom: 50px
|
|
|
|
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
&:hover { text-decoration: underline; }
|
|
|
|
}
|
|
|
|
|
|
|
|
img { max-width: 100%; }
|
|
|
|
}
|