This is an automated email from the ASF dual-hosted git repository.
vy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/logging-log4j-transform.git
The following commit(s) were added to refs/heads/main by this push:
new 2b7db03 Swap colors of AsciiDoc `IMPORTANT` and `WARNING` blocks
2b7db03 is described below
commit 2b7db039dc2f96909bbfb00a2ac0a6e7f82b4851
Author: Volkan Yazıcı <[email protected]>
AuthorDate: Thu Jun 20 09:40:09 2024 +0200
Swap colors of AsciiDoc `IMPORTANT` and `WARNING` blocks
---
antora-playbook.yaml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/antora-playbook.yaml b/antora-playbook.yaml
index dcd165f..eb34ee6 100644
--- a/antora-playbook.yaml
+++ b/antora-playbook.yaml
@@ -72,6 +72,9 @@ ui:
<!-- `@asciidoctor/tabs` extension styles -->
<link rel="stylesheet" href="{{{uiRootPath}}}/css/vendor/tabs.css">
<style>
+ /* Swap colors of `IMPORTANT` and `WARNING` blocks */
+ .doc .admonitionblock.important .icon { background-color: #f70; }
+ .doc .admonitionblock.warning .icon { background-color: #e40046; }
/* Default `h4`, `h5`, and `h6` are smaller than the normal text,
fix header font sizing: */
.doc h1 { font-size: 1.9rem; }
.doc h2 { font-size: 1.7rem; }