Skip to content

Commit

Permalink
clean up svg styles
Browse files Browse the repository at this point in the history
  • Loading branch information
Blind3y3Design committed Sep 14, 2023
1 parent 3c36a1a commit 217b411
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 7 deletions.
27 changes: 20 additions & 7 deletions src/sass/partials/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,26 @@ p {
}
}

code:not([class]) {
background-color: var(--secondary-background);
border-radius: 2px;
font-size: .75rem;
font-weight: bold;
padding: 2px 4px;
vertical-align: middle;
img,
picture,
svg {
max-width: 100%;
display: block;
}


code{
font-size: 1rem;

&:not([class]) {
font-size: 1em;
font-weight: 700;
vertical-align: baseline;
}

&[class*="language-"] {
font-size: 1rem;
}
}

picture {
Expand Down
1 change: 1 addition & 0 deletions src/sass/partials/_blog.scss
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@

&.blog-post__header-image--contained {
max-width: 80ch;
padding-inline: var(--space-4x);
}

img {
Expand Down

0 comments on commit 217b411

Please sign in to comment.