From dd5f2433a0384212e46ad6a9dde58fb2b872c2b9 Mon Sep 17 00:00:00 2001 From: Matt Ricci Date: Wed, 22 Jan 2025 04:29:51 +1100 Subject: [PATCH] Update doxygen-awesome stylesheet to more closely match pages visually to GitHub markdown style --- documentation/docs/css/doxygen-awesome.css | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/documentation/docs/css/doxygen-awesome.css b/documentation/docs/css/doxygen-awesome.css index ca356d5..a1f714a 100755 --- a/documentation/docs/css/doxygen-awesome.css +++ b/documentation/docs/css/doxygen-awesome.css @@ -1,3 +1,48 @@ +/** + * Make documents looks a bit more like GitHub markdown + * from https://github.com/piconomix/doxygen-github-markdown-theme/blob/master/doxygen_extra.css + */ + +.contents hr { + box-shadow: unset!important; +} + +h1, h2, h3, h4, h5, h6 { + margin-top: 24px; + margin-bottom: 16px; + font-weight: 600; + line-height: 1.25; +} + +h1 { + font-size: 2em; + padding-bottom: 0.3em; + border-bottom: 1px solid var(--separator-color); +} + +h2 { + padding-bottom: 0.3em; + font-size: 1.5em; + border-bottom: 1px solid var(--separator-color); +} + +h3 { + font-size: 1.25em; +} + +h4 { + font-size: 1em; +} + +h5 { + font-size: 0.875em; +} + +h6 { + font-size: 0.85em; + color: #57606a; +} + /** Doxygen Awesome