Skip to content

Commit

Permalink
Cleanup article styles
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmitchell committed Jun 6, 2024
1 parent 7044cd9 commit 9ee3647
Showing 1 changed file with 37 additions and 6 deletions.
43 changes: 37 additions & 6 deletions assets/sass/_article.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,33 @@

h2 {

--spacing: 2.6em;
--spacing: 2.1em;
color: var(--color-green);
font-size: var(--font-size-medium);
font-weight: 700;
font-size: var(--font-size-large);
font-weight: 600;
text-transform: uppercase;

a {
color: inherit;
text-decoration: none;
}

& + * {
--spacing: 0.75em;
}

}

hr {

--spacing: 0;
background: var(--color-dark-3);
height: 2px;
margin-bottom: 2.525em;
margin-top: 2.625em;

& + * {
--spacing: 0.9em;
--spacing: 0;
}

}
Expand All @@ -27,8 +46,9 @@

a {
color: var(--color-blue);
text-decoration-thickness: 0.07em;
text-underline-offset: 0.13em;
font-weight: 700;
text-decoration-thickness: 0.0875em;
text-underline-offset: 0.125em;
}

code {
Expand Down Expand Up @@ -69,13 +89,24 @@
}

@media(min-width: 64em) {

font-size: var(--font-size-medium);
margin-bottom: -0.35em;
margin-top: -0.35em;

hr {
margin-bottom: 3.475em;
margin-top: 3.65em;
}

}

@media(hover: hover) {

h2 a:hover {
color: inherit;
}

a:hover {
color: var(--color-white);
}
Expand Down

0 comments on commit 9ee3647

Please sign in to comment.