Skip to content

Commit

Permalink
Adding styles for <hr /> and bold for <strong>.
Browse files Browse the repository at this point in the history
  • Loading branch information
krckyboy committed Jun 2, 2024
1 parent 4add639 commit f5f5e14
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/styles/about-and-blog-content.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Typography, spacings and other styles for /about and /blog/[slug]
.shared {
margin-top: 2rem;

h2, .subheading, h3 {
h2, .subheading, h3, strong {
font-weight: 500;
}

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

h2 {
font-size: clamp(1.3rem, 1.5vw, 2.5rem);
font-size: clamp(1.4rem, 2vw, 2.5rem);
}

h3 {
Expand Down
9 changes: 9 additions & 0 deletions frontend/src/styles/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,13 @@ a {
&:focus-visible {
outline: 1px solid $color-accent;
}
}

hr {
all: unset;
width: 20%;
display: flex;
background: $color-background-lighten;
height: 6px;
margin-block: 3rem;
}

0 comments on commit f5f5e14

Please sign in to comment.