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-jmx-gui.git


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

commit 273108b818c0cb74123978a2f3c5c15deb2b5207
Author: Volkan Yazıcı <[email protected]>
AuthorDate: Thu Jun 20 09:40:37 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 c7c6837..b0d959b 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