From 2c1f0edc19d5a722c5984be20bce8a98273bea9e Mon Sep 17 00:00:00 2001 From: Salim B Date: Wed, 29 May 2024 14:46:17 +0200 Subject: [PATCH] Better distinguish reference titles from subtitles --- inst/BS5/assets/pkgdown.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/inst/BS5/assets/pkgdown.scss b/inst/BS5/assets/pkgdown.scss index 911382fe7..c2811f475 100644 --- a/inst/BS5/assets/pkgdown.scss +++ b/inst/BS5/assets/pkgdown.scss @@ -329,6 +329,11 @@ img.logo { dt {font-weight: normal;} // Don't allow breaking within a function name code {word-wrap: normal;} + // Underline top-level reference topics ("titles") to better distinguish them from second-level ones ("subtitles") + main h2 { + text-decoration-line: underline; + text-underline-offset: 0.33em; + } } .icon { float: right;