summaryrefslogtreecommitdiffstats
path: root/src/styles
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2021-12-16 23:20:58 +0100
committerArmand Philippot <git@armandphilippot.com>2021-12-16 23:20:58 +0100
commit8a703cb39ff23ff3639b0da33f0d72f92f1cc55b (patch)
treee898046c472839f36e306d8ae9aa7efc58ba98cd /src/styles
parent89bf1e53fda306d271676bda4605794567b7f3b6 (diff)
chore: create thematic page view
For now I have to repeat some markup/styles, I cannot reuse PostsList component. WP GraphQL does not offer edges for ACF Post2Post or filters to get thematic posts with another way. I should create custom fields in backend to improve the posts fetching.
Diffstat (limited to 'src/styles')
-rw-r--r--src/styles/pages/Thematic.module.scss11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/styles/pages/Thematic.module.scss b/src/styles/pages/Thematic.module.scss
new file mode 100644
index 0000000..0b9aa2d
--- /dev/null
+++ b/src/styles/pages/Thematic.module.scss
@@ -0,0 +1,11 @@
+@use "@styles/abstracts/placeholders";
+
+.list {
+ @extend %reset-ordered-list;
+
+ margin: var(--spacing-md) auto;
+}
+
+li.item {
+ margin: var(--spacing-md) 0;
+}