[feih] misc: revert styling changes

This commit is contained in:
Yangshun 2025-07-01 08:55:08 +08:00
parent 3dd4373263
commit ead68ec888
1 changed files with 12 additions and 33 deletions

View File

@ -17,7 +17,6 @@
}
:root {
--ifm-font-size-base: 15px;
--ifm-color-primary: #d62b79;
--ifm-color-primary-dark: #c2256d;
--ifm-color-primary-darker: #b72367;
@ -26,12 +25,11 @@
--ifm-color-primary-lighter: #dc4b8d;
--ifm-color-primary-lightest: #e26ca2;
--ifm-font-family-base:
'Inter var', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto',
'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans',
'Helvetica Neue', sans-serif;
--ifm-font-family-base: 'Inter var', -apple-system, BlinkMacSystemFont,
'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans',
'Droid Sans', 'Helvetica Neue', sans-serif;
--ifm-footer-padding-vertical: 5rem;
--ifm-footer-padding-vertical: 3rem;
}
html[data-theme='dark'] {
@ -42,25 +40,14 @@ html[data-theme='dark'] {
--ifm-color-primary-light: #ffb01a;
--ifm-color-primary-lighter: #ffb426;
--ifm-color-primary-lightest: #ffc14d;
}
strong {
font-weight: 600;
}
.footer,
.footer-dark {
--ifm-footer-background-color: #18181b;
--ifm-footer-padding-vertical: 3rem;
}
.navbar {
font-size: 0.875rem;
}
.navbar__items .navbar-icon {
margin-right: 4px;
}
.footer__links {
margin-bottom: 3rem;
}
@ -69,23 +56,14 @@ strong {
text-align: start;
}
header h1 {
font-size: 1.875rem;
line-height: 1.2em;
.markdown h1:first-child {
--ifm-h1-font-size: 1.5em;
}
html[data-theme='dark'] .markdown h1,
html[data-theme='dark'] .markdown h2,
html[data-theme='dark'] .markdown h3,
html[data-theme='dark'] .markdown h4,
html[data-theme='dark'] .markdown h5,
html[data-theme='dark'] .markdown h6 {
color: #fff;
}
.markdown h1 {
font-size: 2rem;
line-height: 1.2em;
@media screen and (min-width: 768px) {
.markdown h1:first-child {
--ifm-h1-font-size: 2.25em;
}
}
.markdown h2 {
@ -102,6 +80,7 @@ html[data-theme='dark'] .markdown h6 {
.markdown h3 {
--ifm-h3-font-size: 1.25em;
font-weight: 600;
margin-top: 1.8em;
margin-bottom: 0.5em;
}