diff options
author | Francesco <tomaselli.fr@gmail.com> | 2025-01-01 18:03:30 +0100 |
---|---|---|
committer | Francesco <tomaselli.fr@gmail.com> | 2025-01-01 18:03:30 +0100 |
commit | eb82ffe7f2b92cab3bc632229c6f8bae70d33ff0 (patch) | |
tree | 4c07acd900c6f84cc1377503dadbb27d9184564c /wiki/features/custom-css.md | |
parent | b6554e22005f1c8460bb60e6894503e06f232551 (diff) |
Add wiki source
Diffstat (limited to 'wiki/features/custom-css.md')
-rw-r--r-- | wiki/features/custom-css.md | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/wiki/features/custom-css.md b/wiki/features/custom-css.md new file mode 100644 index 0000000..0ca4411 --- /dev/null +++ b/wiki/features/custom-css.md @@ -0,0 +1,27 @@ +--- +title: "Custom CSS" +date: "2024-10-07" +summary: "Custom CSS parameters" +description: "Custom CSS parameters" +toc: false +readTime: false +autonumber: true +math: false +showTags: false +hideBackToTop: true +--- + +The theme supports custom css, you can override anything you want by redefining classes in the `assets/custom.css` file. + +For instance, changing the main widht can be done as follows: + +```css +:root { + --main-width: 1024px; /* overrides default of 780px */ +} +``` + +Note that backward incompatible changes in the CSS will likely not happen, but there might be cases in the future where +backward compatibility is not possible. If you are overriding a huge amount of CSS I suggest you forking the project instead of +defining it here. + |