xarxaprod-wp-theme/sass/layouts/_content-sidebar.scss

28 lines
406 B
SCSS
Raw Normal View History

2024-01-09 16:13:20 +01:00
.site {
display: grid;
grid-template-columns: auto ($size__site-sidebar);
grid-template-areas:
"header header"
"main sidebar"
"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";