-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add an empty, but included last, custom.css
file
#178
Comments
Definitely! [outputs.html]
path = "book/"
css = ["custom.css"]
js = ["custom.js"] However, since things have been moving really slowly. I would definitely be open to a temporary solution. I don't want to block everything on a rewrite that could still take forever to get done 😕 |
I added behaviour for this in multilang for #200. It checks a few locations for a It looks in the following paths, the first wins:
@carols10cents is this what you had in mind? |
I'd like to be able to add just a few little custom style rules, but I don't want to maintain my own version of book.css or highlight.css that might diverge from the mdbook provided styles.
What do you think about mdbook always including, or trying to include if it exists, a file named
custom.css
or similar, that mdbook would intentionally never add anything to?This file would need to be included last, so that the rules in
custom.css
would be able to override rules inbook.css
orhighlight.css
.I'd be happy to work on a PR for this, but wanted to see if this was something you'd be interested in first.
The text was updated successfully, but these errors were encountered: