From 10ab4395183fbafd6cf56d8cf706fa5b2bc7c624 Mon Sep 17 00:00:00 2001 From: Mine Cetinkaya-Rundel Date: Wed, 17 May 2023 14:28:32 -0400 Subject: [PATCH] Bold current chapter and section, closes #1444 (#1466) --- r4ds.scss | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/r4ds.scss b/r4ds.scss index b4fe1e8..bed1393 100644 --- a/r4ds.scss +++ b/r4ds.scss @@ -8,6 +8,14 @@ $primary: #637238 !default; color: #637238; } +div.sidebar-item-container .active { + font-weight: bold; +} + +.sidebar nav[role=doc-toc] ul>li>a.active, .sidebar nav[role=doc-toc] ul>li>ul>li>a.active{ + font-weight: bold; +} + img.quarto-cover-image { box-shadow: 0 .5rem 1rem rgba(0,0,0,.15); }