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