summaryrefslogtreecommitdiffstats
path: root/docusaurus/src/css
diff options
context:
space:
mode:
authorname <email@example.com>2023-09-27 13:34:23 +0200
committername <email@example.com>2023-09-27 13:34:23 +0200
commit72d8b4e6bee0ffac79e96dd649a9da2adb86b507 (patch)
tree8d1f37e5d88a598675b1a65128c35323c99825f5 /docusaurus/src/css
parentMerge pull request 'Please consider adding my instance' (#2) from superprivacy/wolfree-dockerfile:main into main (diff)
downloadwolfree-dockerfile-72d8b4e6bee0ffac79e96dd649a9da2adb86b507.tar
wolfree-dockerfile-72d8b4e6bee0ffac79e96dd649a9da2adb86b507.tar.gz
wolfree-dockerfile-72d8b4e6bee0ffac79e96dd649a9da2adb86b507.tar.bz2
wolfree-dockerfile-72d8b4e6bee0ffac79e96dd649a9da2adb86b507.tar.lz
wolfree-dockerfile-72d8b4e6bee0ffac79e96dd649a9da2adb86b507.tar.xz
wolfree-dockerfile-72d8b4e6bee0ffac79e96dd649a9da2adb86b507.tar.zst
wolfree-dockerfile-72d8b4e6bee0ffac79e96dd649a9da2adb86b507.zip
Diffstat (limited to 'docusaurus/src/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 {