Document custom.css

This commit is contained in:
FloatingGhost 2022-12-07 11:45:53 +00:00 committed by Sam Therapy
parent 6ded631114
commit dca542c32e
Signed by: sam
GPG key ID: 4D8B07C18F31ACBD

View file

@ -100,3 +100,12 @@ the `frontends` directory.
## Styling rendered pages
To overwrite the CSS stylesheet of the OAuth form and other static pages, you can upload your own CSS file to `instance/static/static.css`. This will completely replace the CSS used by those pages, so it might be a good idea to copy the one from `priv/static/instance/static.css` and make your changes.
## Overriding pleroma-fe styles
To overwrite the CSS stylesheet of pleroma-fe, you can put a file at
`$static_dir/static/custom.css` containing your styles. These will be loaded
with the rest of the CSS.
You will probably have to put `!important` on most/all your styles to override the
default ones, due to the specificity precedence of CSS.