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


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

commit 8d4835d9559fa25e73e75169939160bfd55fa0a8
Author: Volkan Yazıcı <[email protected]>
AuthorDate: Thu Jun 20 09:42:24 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 b5d9a0a..a878afa 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