Skip to content

Commit

Permalink
feat(css): improve styles
Browse files Browse the repository at this point in the history
  • Loading branch information
noghartt committed Sep 26, 2024
1 parent 45f41c4 commit dfb90ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/layout/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,10 @@ const rssFeedURL = new URL('rss.xml', Astro.site).href;

h1 {
font-size: var(--font-size-2xl);
line-height: 1.6;
}

h2 {
font-size: var(--font-size-xl);
line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
Expand Down
5 changes: 2 additions & 3 deletions src/pages/blog/[slug]/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ const readingTime = remarkPluginFrontmatter.readingTime;
@media screen and (min-width: 425px) {
.toc {
position: absolute;
top: -15px;
top: 5px;
left: -300px;
max-width: 270px;
}
Expand Down Expand Up @@ -205,8 +205,7 @@ const readingTime = remarkPluginFrontmatter.readingTime;
}

article code {
background-color: #24292e;
color: white;
border: 1px solid var(--color-primary);
padding: 0 4px;
text-wrap: wrap;
word-break: break-all;
Expand Down

0 comments on commit dfb90ce

Please sign in to comment.