
| Current Path : /var/www/html/rocksensor3/web/core/themes/olivero/css/layout/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/rocksensor3/web/core/themes/olivero/css/layout/layout-builder-twocol-section.pcss.css |
/*
* @file
* Provides the layout styles for two-column layout section.
*/
@import "../base/media-queries.pcss.css";
.layout--twocol-section {
display: grid;
gap: var(--grid-gap);
grid-template-columns: var(--layout-twocol-grid);
& > .layout__region--first {
grid-column: var(--layout-twocol-grid__first);
}
& > .layout__region--second {
grid-column: var(--layout-twocol-grid__second);
}
}
@media (--md) {
.layout--twocol-section--50-50 {
--layout-twocol-grid: repeat(2, minmax(0, 1fr));
}
.layout--twocol-section--33-67 {
--layout-twocol-grid: repeat(3, minmax(0, 1fr));
--layout-twocol-grid__second: span 2;
}
.layout--twocol-section--67-33 {
--layout-twocol-grid: repeat(3, minmax(0, 1fr));
--layout-twocol-grid__first: span 2;
}
.layout--twocol-section--25-75 {
--layout-twocol-grid: repeat(4, minmax(0, 1fr));
--layout-twocol-grid__second: span 3;
}
.layout--twocol-section--75-25 {
--layout-twocol-grid: repeat(4, minmax(0, 1fr));
--layout-twocol-grid__first: span 3;
}
}