aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/MetaItems/MetaItem/MetaItem.module.scss
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-03-01 22:05:08 +0100
committerArmand Philippot <git@armandphilippot.com>2022-03-01 22:05:08 +0100
commit8bd9784acdee6871ad70e86d0d7120299bf76969 (patch)
tree9b81e0cd3ff881b2cbeb81f9f96b52b510d67646 /src/components/MetaItems/MetaItem/MetaItem.module.scss
parent21c228600a7a69cfea3b7d8af6838bcfda1d7399 (diff)
refactor: split posts meta into smaller components
Diffstat (limited to 'src/components/MetaItems/MetaItem/MetaItem.module.scss')
-rw-r--r--src/components/MetaItems/MetaItem/MetaItem.module.scss18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/components/MetaItems/MetaItem/MetaItem.module.scss b/src/components/MetaItems/MetaItem/MetaItem.module.scss
new file mode 100644
index 0000000..0b159ca
--- /dev/null
+++ b/src/components/MetaItems/MetaItem/MetaItem.module.scss
@@ -0,0 +1,18 @@
+.wrapper--article {
+ display: flex;
+ flex-flow: row wrap;
+}
+
+.title--article {
+ margin-right: var(--spacing-2xs);
+ color: var(--color-fg-light);
+}
+
+.body--article {
+ &:not(:first-of-type) {
+ &::before {
+ content: "/";
+ margin: 0 var(--spacing-2xs);
+ }
+ }
+}