mirror of
https://codeberg.org/openpgp/notes.git
synced 2025-09-11 20:29:40 +02:00
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:
parent
4e9f1c0ffd
commit
ec761273df
2 changed files with 18 additions and 0 deletions
13
book/source/_static/epub/css/custom.css
Normal file
13
book/source/_static/epub/css/custom.css
Normal 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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue