aboutsummaryrefslogtreecommitdiffstats
path: root/src/styles
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-01-08 17:53:37 +0100
committerArmand Philippot <git@armandphilippot.com>2022-01-08 17:53:37 +0100
commita30ac67f560ff2b3bc2a462065ac5ddaf783682c (patch)
tree207953bb8ce89cfa64d4db4521ffbfe2f0d0920d /src/styles
parent414474f61fe78a937cf570945db699bb1a915971 (diff)
chore: update homepage styles
Diffstat (limited to 'src/styles')
-rw-r--r--src/styles/pages/Home.module.scss19
1 files changed, 18 insertions, 1 deletions
diff --git a/src/styles/pages/Home.module.scss b/src/styles/pages/Home.module.scss
index 49f483c..4cbc9b1 100644
--- a/src/styles/pages/Home.module.scss
+++ b/src/styles/pages/Home.module.scss
@@ -1,10 +1,11 @@
+@use "@styles/abstracts/functions" as fun;
@use "@styles/abstracts/placeholders";
.links-list {
@extend %flex-list;
gap: var(--spacing-md);
- margin: var(--spacing-md) 0;
+ margin: 0 0 var(--spacing-md);
}
.section {
@@ -12,8 +13,24 @@
grid-template-columns:
minmax(0, 1fr) min(calc(100vw - calc(var(--spacing-md) * 2)), 80ch)
minmax(0, 1fr);
+ padding: var(--spacing-md) 0;
+ background: var(--color-bg-secondary);
+
+ &:not(:last-child) {
+ border-bottom: fun.convert-px(1) solid var(--color-border-light);
+ }
+
+ &:nth-child(2n) {
+ background: var(--color-bg);
+ }
> * {
grid-column: 2;
}
+
+ :global {
+ .wp-block-columns {
+ margin: 0 0 var(--spacing-md);
+ }
+ }
}