summaryrefslogtreecommitdiffstats
path: root/docusaurus/src/css/custom.css
diff options
context:
space:
mode:
Diffstat (limited to 'docusaurus/src/css/custom.css')
-rw-r--r--docusaurus/src/css/custom.css52
1 files changed, 44 insertions, 8 deletions
diff --git a/docusaurus/src/css/custom.css b/docusaurus/src/css/custom.css
index a027863..ce621e1 100644
--- a/docusaurus/src/css/custom.css
+++ b/docusaurus/src/css/custom.css
@@ -1,15 +1,51 @@
-/**
- * @license
- * SPDX-License-Identifier: AGPL-3.0-or-later
- * This file is part of Wolfree.
- * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
- */
+/* SPDX-License-Identifier: AGPL-3.0-or-later */
+
+.markdown {
+ --ifm-h2-vertical-rhythm-top: 4;
+}
:root {
--ifm-menu-link-padding-vertical: calc(var(--ifm-menu-link-padding-horizontal) * 1.5);
+ --ifm-toc-padding-vertical: calc(var(--ifm-toc-padding-horizontal) * 2);
--ifm-color-primary: blue;
- --ifm-color-gray-900: var(--ifm-color-gray-900);
- --ifm-color-secondary-contrast-foreground: var(--ifm-color-gray-900);
+ --ifm-color-gray-700: black;
+ --ifm-color-gray-800: black;
+ --ifm-color-gray-900: black;
+ --ifm-color-secondary-contrast-foreground: black;
+ --ifm-color-content-secondary: black;
+}
+
+.markdown>h1 {
+ /* Style the <h1> on http://localhost/source */
+ margin-top: calc(var(--ifm-h2-vertical-rhythm-top) * var(--ifm-leading));
+}
+
+:root {
+ --wolfree-heading-zoom: 0.75;
+}
+
+h1 {
+ font-size: calc(max(1rem, var(--ifm-h1-font-size) * var(--wolfree-heading-zoom)));
+}
+
+h2 {
+ font-size: calc(max(1rem, var(--ifm-h2-font-size) * var(--wolfree-heading-zoom)));
+}
+
+h3 {
+ font-size: calc(max(1rem, var(--ifm-h3-font-size) * var(--wolfree-heading-zoom)));
+}
+
+h4 {
+ font-size: calc(max(1rem, var(--ifm-h4-font-size) * var(--wolfree-heading-zoom)));
+}
+
+h5 {
+ font-size: calc(max(1rem, var(--ifm-h5-font-size) * var(--wolfree-heading-zoom)));
+}
+
+h6 {
+ font-size: calc(max(1rem, var(--ifm-h6-font-size) * var(--wolfree-heading-zoom)));
}
.footer__link-item {