Complete #52, Optimize CSS, Reduce code duplication, Scrap templates; Massive refactor.
This commit is contained in:
23
src/partials/_a_pane.scss
Normal file
23
src/partials/_a_pane.scss
Normal file
@@ -0,0 +1,23 @@
|
||||
@use "pane_main";
|
||||
@use "pane_nav";
|
||||
@use "pane_spacer";
|
||||
|
||||
.pane {
|
||||
margin: var(--spacing-large);
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 500px) {
|
||||
.pane {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
nav.pane,
|
||||
.pane.spacer {
|
||||
width: min-content;
|
||||
gap: var(--spacing-medium);
|
||||
|
||||
position: sticky;
|
||||
top: var(--spacing-large);
|
||||
right: var(--spacing-large);
|
||||
}
|
||||
Reference in New Issue
Block a user