LoveIt/assets/css/_core/_media.scss
2020-02-16 20:36:36 +08:00

84 lines
1.1 KiB
SCSS

@media only screen and (max-width: 1800px) {
.page {
max-width: 780px;
.post-toc {
width: 300px;
margin-left: 800px;
}
}
}
@media only screen and (max-width: 1440px) {
.page {
max-width: 680px;
.post-toc {
width: 240px;
margin-left: 700px;
}
}
}
@media only screen and (max-width: 1200px) {
.page {
max-width: 560px;
.post-toc {
width: 180px;
margin-left: 580px;
}
}
}
@media only screen and (max-width: 960px) {
#header-desktop {
.header-wrapper {
margin: 0 1rem;
}
}
.page {
max-width: 80%;
.post-toc {
display: none;
}
.post-toc-mobile {
display: block;
}
}
}
@media only screen and (max-width: 560px) {
#header-desktop {
display: none;
}
#header-mobile {
display: block;
}
.page {
max-width: 100%;
padding-top: $page-padding-top-mobile;
.categories-card {
.card-item {
width: 100%;
}
}
}
.copyright {
.copyright-line {
.icp-splitter {
display: none;
}
.icp-br {
display: block;
}
}
}
}