Add sticky sidebar class
This commit is contained in:
parent
7648e49999
commit
0ec60b3480
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@fwdekker/template",
|
"name": "@fwdekker/template",
|
||||||
"version": "3.5.1",
|
"version": "3.5.2",
|
||||||
"description": "The base template for pages on fwdekker.com.",
|
"description": "The base template for pages on fwdekker.com.",
|
||||||
"author": "Florine W. Dekker",
|
"author": "Florine W. Dekker",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|
|
@ -53,6 +53,11 @@ a[target="_blank"]::after {
|
||||||
.grid-with-sidebar aside {
|
.grid-with-sidebar aside {
|
||||||
max-width: var(--aside-width);
|
max-width: var(--aside-width);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.grid-with-sidebar aside.sticky {
|
||||||
|
position: sticky;
|
||||||
|
top: var(--block-spacing-vertical);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 992px) {
|
@media (max-width: 992px) {
|
||||||
|
|
Loading…
Reference in New Issue