summaryrefslogtreecommitdiffstats
path: root/src/styles
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-01-11 12:56:59 +0100
committerArmand Philippot <git@armandphilippot.com>2022-01-11 15:33:04 +0100
commit67d94ce796e425f1a87806b848f58328ea7adde7 (patch)
tree030400abbd959909be51756367b7bb20035d1d72 /src/styles
parent812a8fad8cd703d3e501d03b280b8e5749f4ae57 (diff)
chore: add meta, toc and widgets on thematic pages
Diffstat (limited to 'src/styles')
-rw-r--r--src/styles/pages/Page.module.scss20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/styles/pages/Page.module.scss b/src/styles/pages/Page.module.scss
index fb19906..3ce46d0 100644
--- a/src/styles/pages/Page.module.scss
+++ b/src/styles/pages/Page.module.scss
@@ -1,5 +1,6 @@
@use "@styles/abstracts/functions" as fun;
@use "@styles/abstracts/mixins" as mix;
+@use "@styles/abstracts/placeholders";
.article {
composes: grid from "@styles/layout/_grid.scss";
@@ -37,6 +38,14 @@
}
}
+.list {
+ @extend %reset-ordered-list;
+}
+
+li.item {
+ margin: 0 0 var(--spacing-md) 0;
+}
+
.comments {
grid-column: 1 / -1;
composes: grid from "@styles/layout/_grid.scss";
@@ -49,3 +58,14 @@
grid-column: 2;
}
}
+
+.aside {
+ align-self: start;
+ max-height: 100vh;
+ position: sticky;
+ top: 0;
+
+ &--overflow {
+ overflow: auto;
+ }
+}