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%; }
|
|
|
|
}
|
2017-01-10 14:35:56 +08:00
|
|
|
|
2017-01-16 21:10:12 +08:00
|
|
|
div.translation-indexes {
|
|
|
|
ul {
|
|
|
|
margin: 10px 0 0 0
|
|
|
|
padding: 0
|
|
|
|
text-align: center
|
|
|
|
list-style-type: none
|
|
|
|
li {
|
|
|
|
display: inline-block
|
|
|
|
padding: 0.2em 0.5em
|
|
|
|
a {
|
|
|
|
text-decoration: none
|
|
|
|
&:hover { text-decoration: underline; }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
div.translation-links {
|
2017-01-10 14:35:56 +08:00
|
|
|
float: left
|
|
|
|
height: 50px
|
|
|
|
ul {
|
|
|
|
margin: 10px 0 0 0
|
2017-01-16 21:10:12 +08:00
|
|
|
padding: 0 0 0 1em
|
|
|
|
text-align: left
|
2017-01-10 14:35:56 +08:00
|
|
|
list-style-type: none
|
|
|
|
li {
|
|
|
|
display: inline-block
|
|
|
|
padding: 0.2em 0.5em
|
|
|
|
a {
|
|
|
|
text-decoration: none
|
|
|
|
&:hover { text-decoration: underline; }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|