xarxaprod-wp-theme/sass/layouts/_sidebar-content.scss

28 lines
406 B
SCSS
Raw Permalink Normal View History

2024-01-09 16:13:20 +01:00
.site {
display: grid;
grid-template-columns: ($size__site-sidebar) auto;
grid-template-areas:
"header header"
"sidebar main"
"footer footer";
}
.site-header {
grid-area: header;
}
.site-main {
grid-area: main;
overflow: hidden; /* Resolves issue with <pre> elements forcing full width. */
}
.widget-area {
grid-area: sidebar;
}
.site-footer {
grid-area: footer;
}
@import "no-sidebar";