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-jakarta.git


The following commit(s) were added to refs/heads/main by this push:
     new 0fbc4b5  Swap colors of AsciiDoc `IMPORTANT` and `WARNING` blocks
0fbc4b5 is described below

commit 0fbc4b5665160585d6b501f218b83e3c83c7a1a9
Author: Volkan Yazıcı <[email protected]>
AuthorDate: Thu Jun 20 09:39:40 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 0ac66be..d737426 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; }

Reply via email to