Skip to content

Add an empty, but included last, custom.css file #178

Closed
@carols10cents

Description

@carols10cents

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 in book.css or highlight.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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-StyleArea: Style (CSS, etc.)C-enhancementCategory: Enhancement or feature requestE-MediumExperience: MediumS-WishlistStatus: Wishlist

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions