Re-organize SASS structure (#1425)
This commit is contained in:
parent
27fc314b55
commit
5c74dc9fa8
52 changed files with 541 additions and 515 deletions
27
sass/layouts/_content-sidebar.scss
Normal file
27
sass/layouts/_content-sidebar.scss
Normal file
|
@ -0,0 +1,27 @@
|
|||
.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";
|
Loading…
Add table
Add a link
Reference in a new issue