Skip to content

Commit

Permalink
website: improve docusaurus custom style
Browse files Browse the repository at this point in the history
  • Loading branch information
gpbl committed Dec 12, 2024
1 parent 828b8d5 commit 815b983
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions website/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,12 @@ html[data-theme="dark"] {
.markdown > h2 {
font-size: 1.75rem;
letter-spacing: -0.015em;
padding-bottom: 0.15em;
border-bottom: 1px solid var(--ifm-color-emphasis-200);
padding-top: 1em;
border-top: 1px solid var(--ifm-color-emphasis-200);
}

.markdown > header + h2 {
border-top: 0;
}

.markdown > h3 {
Expand Down Expand Up @@ -210,7 +214,7 @@ a.table-of-contents__link:not(:hover):not(.table-of-contents__link--active) {
.table-of-contents::before {
content: "On This Page";
font-weight: 600;
font-size: 0.8rem;
font-size: 1rem;
margin: var(--ifm-toc-padding-vertical) var(--ifm-toc-padding-horizontal);
}
}
Expand Down

0 comments on commit 815b983

Please sign in to comment.