This is an automated email from the ASF dual-hosted git repository. vy pushed a commit to branch doc-installation in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
commit f1260c8d40b45802e7657c7973dfee2305de5911 Author: Volkan Yazıcı <[email protected]> AuthorDate: Wed Apr 17 10:57:52 2024 +0200 Adjust header sizing --- antora-playbook.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/antora-playbook.yaml b/antora-playbook.yaml index ee375e5ef5..dd6549bdc7 100644 --- a/antora-playbook.yaml +++ b/antora-playbook.yaml @@ -77,11 +77,19 @@ ui: <!-- `@asciidoctor/tabs` extension styles --> <link rel="stylesheet" href="{{{uiRootPath}}}/css/vendor/tabs.css"> <style> + /* Default `h4` and `h5` are smaller than the normal text, fix header font sizing: */ + .doc h1 { font-size: 1.9rem; } + .doc h2 { font-size: 1.7rem; } + .doc h3 { font-size: 1.5rem; font-weight: 400; } + .doc h4 { font-size: 1.3rem; font-weight: 500; } + .doc h5 { font-size: 1.1rem; font-weight: 500; text-decoration: underline; } + /* Tab header fonts aren't rendered good, adjusting the font weight: */ + .tablist > ul li { font-weight: 500; } /* `page-toclevels` greater than 4 are not supported by Antora UI, patching it: */ .toc .toc-menu li[data-level="4"] a { padding-left: 2.75rem } - /* Replace the default highlight.js color for strings from red to green: */ + /* Replace the default highlight.js color for strings from red (unnecessarily signaling something negative) to green: */ .hljs-string { color: #0f8532; }
