Skip to content

Commit

Permalink
feat(css): smaller h1, h2, h3, h4
Browse files Browse the repository at this point in the history
  • Loading branch information
Octobug committed Dec 1, 2023
1 parent 7a0a435 commit f3a0312
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions .vitepress/theme/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -155,17 +155,33 @@
padding-bottom: 4rem !important;
}

header a.title {
font-family: Georgia, sans-serif;
font-size: 1.3rem !important;
font-weight: 100 !important;
header.VPNav a.title {
font-family: "Times New Roman", Georgia, sans-serif;
font-size: 1.4rem;
font-weight: 100;
}

footer a {
color: var(--vp-c-text-1);
}

/* CSS for a Post */
.vp-doc h1 {
font-size: 24px;
}

.vp-doc h2 {
font-size: 22px;
}

.vp-doc h3 {
font-size: 20px;
}

.vp-doc h4 {
font-size: 18px;
}

.main img {
border-radius: 0.5rem;
box-shadow: 0 0.5rem 0.8rem var(--ct-c-shadow);
Expand Down

0 comments on commit f3a0312

Please sign in to comment.