Skip to content

Commit

Permalink
Gutters tweak.
Browse files Browse the repository at this point in the history
  • Loading branch information
krckyboy committed Jun 8, 2024
1 parent b9d7b65 commit c9d5d80
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/src/styles/about-and-blog-content.module.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@import '@/styles/vars';

$margin-top-value: 1.5rem;
$margin-top-value: 1rem;

/**
Typography, spacings and other styles for /about and /blog/[slug]
Expand All @@ -20,7 +20,7 @@ Typography, spacings and other styles for /about and /blog/[slug]
}

+ img {
+ p {
+ p, blockquote {
margin-top: $margin-top-value;
}
}
Expand All @@ -34,7 +34,7 @@ Typography, spacings and other styles for /about and /blog/[slug]
font-size: clamp(1.1rem, 1.2vw, 2rem);
}

p {
p, blockquote {
margin-top: $margin-top-value;

&:first-child {
Expand Down
5 changes: 5 additions & 0 deletions frontend/src/styles/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,9 @@ hr {
background: $color-background-lighten;
height: 6px;
margin-block: 3rem;
}

em {
font-style: italic;
color: $color-accent;
}

0 comments on commit c9d5d80

Please sign in to comment.