Skip to content

Commit

Permalink
Swap colors of AsciiDoc IMPORTANT and WARNING blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
vy committed Jun 20, 2024
1 parent 88363b5 commit 8d4835d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions antora-playbook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
Expand Down

0 comments on commit 8d4835d

Please sign in to comment.