mirror of
https://github.com/tomfran/typo.git
synced 2025-04-26 13:39:55 +03:00
746 B
746 B
title | date | summary | description | toc | readTime | autonumber | math | showTags | hideBackToTop |
---|---|---|---|---|---|---|---|---|---|
Custom CSS | 2024-10-07 | Custom CSS parameters | Custom CSS parameters | false | false | true | false | false | 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:
: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.