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


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

commit 208cfea2f903398674d559bd02bf2696c2440b95
Author: Volkan Yazıcı <[email protected]>
AuthorDate: Thu Jun 20 09:38:55 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 3960b4c..40b9176 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