Modify CSS for admonition environments when building EPUB

Add a lightgray `background-color` for all admonition environments.
Add a palevioletred `background-color` for all admonition-warning and
warning environments.

Signed-off-by: David Runge <dave@sleepmap.de>
This commit is contained in:
David Runge 2023-11-22 22:32:53 +01:00
parent 4e9f1c0ffd
commit ec761273df
No known key found for this signature in database
GPG key ID: 90D4B9641E092971
2 changed files with 18 additions and 0 deletions

View file

@ -0,0 +1,13 @@
/*
SPDX-FileCopyrightText: 2023 The "Notes on OpenPGP" project
SPDX-License-Identifier: CC0-1.0
*/
div.admonition {
background-color: lightgray;
}
div.warning,
div.admonition-warning {
background-color: palevioletred;
}