website: update typography

pull/272/head
Yangshun Tay 3 years ago
parent 2394d5d8f0
commit 0f1b9f952a

@ -55,31 +55,37 @@ html[data-theme='dark'] {
text-align: start; text-align: start;
} }
.markdown h1 { .markdown > h1 {
font-size: 2.25em; font-size: 2.25em;
margin-top: 0.5em; margin-top: 0.5em;
} }
.markdown h2 { .markdown > h2 {
font-size: 1.5em; font-size: 1.5em;
margin-top: 2em; margin-top: 2em;
margin-bottom: 0.5em; margin-bottom: 0.5em;
} }
.markdown h3 { .markdown > h3 {
font-size: 1.25em; font-size: 1.25em;
font-weight: 600; font-weight: 600;
margin-top: 1.8em; margin-top: 1.8em;
margin-bottom: 0.5em; margin-bottom: 0.5em;
} }
.markdown h4 { .markdown > h4 {
font-size: 1.2em; font-size: 1.15em;
font-weight: 600; font-weight: 600;
margin-top: 1.6em; margin-top: 1.6em;
margin-bottom: 0.4em; margin-bottom: 0.4em;
} }
.markdown > h5 {
font-size: 1em;
font-weight: 600;
margin-top: 1.4em;
margin-bottom: 0.3em;
}
.markdown blockquote { .markdown blockquote {
border-left-color: var(--ifm-color-emphasis-200); border-left-color: var(--ifm-color-emphasis-200);
border-left-width: 0.5rem; border-left-width: 0.5rem;
@ -109,7 +115,6 @@ html[data-theme='dark'] {
--ifm-h3-font-size: 1.25rem; --ifm-h3-font-size: 1.25rem;
} }
div[class^='announcementBar_'] { div[class^='announcementBar_'] {
background-color: var(--ifm-color-primary); background-color: var(--ifm-color-primary);
color: #fff; color: #fff;

Loading…
Cancel
Save