Files
v1.pivoine.art/_sass/pivoine/__inline__/_content.scss
2025-10-25 12:39:30 +02:00

70 lines
1.9 KiB
SCSS

// THIS FILE IS AUTOGENERATED, DO NOT MODIFY!
//
// To change the contents of this file,
// edit `_sass/pivoine/_content.pre.scss`
// and run `npm run build:css`.
//
// During development you can run `npm run watch:css`
// to continuosly rebuild this file.
// Copyright (c) 2017 Florian Klampfer <https://qwtel.com/>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
.content {
margin-left: auto;
margin-right: auto;
padding: 8rem $content-padding 12rem;
@media screen {
padding-left: $content-padding + .5rem;
min-height: 100vh;
}
@media screen and (min-width: $break-point-1) {
max-width: $content-width;
}
@media screen and (min-width: $break-point-2) {
max-width: $content-width-2;
}
@media screen and (min-width: $break-point-3) {
padding-left: $content-padding;
margin-left: $sidebar-width + $content-margin-3;
margin-right: $content-margin-3;
}
@media screen and (min-width: $break-point-5) {
padding-top: 9rem;
margin-left: $sidebar-width + $content-margin-5;
margin-right: $content-margin-5;
max-width: $content-width-5;
}
@media screen and (min-width: $break-point-dynamic) {
margin: auto;
}
}
.large-only {
display: none;
@media screen and (min-width: $break-point-dynamic) {
display: block;
}
}