From 577444d3b56c6ef5b408ba00eb86de3a3e043a1e Mon Sep 17 00:00:00 2001 From: Anton Alekseev Date: Sat, 25 Sep 2021 19:14:41 +0300 Subject: [PATCH 1/2] fix #2114: make doc subsections header bold --- docs/source/_templates/_static/css/ignite_theme.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/source/_templates/_static/css/ignite_theme.css b/docs/source/_templates/_static/css/ignite_theme.css index 7e50eb0cf37..850077155db 100644 --- a/docs/source/_templates/_static/css/ignite_theme.css +++ b/docs/source/_templates/_static/css/ignite_theme.css @@ -209,3 +209,14 @@ so make sure not to go above that value */ } } /* docsearch end */ + +article.pytorch-article p.rubric { + font-weight: bold; + font-size: 19px; + margin: 15px 0 10px 0; +} + +pre { + border: 1px solid rgba(0,0,0,0.15); + border-radius: 4px; +} From f1f73140e63c275e190cd4b9528377fa86089997 Mon Sep 17 00:00:00 2001 From: Anton Alekseev Date: Sun, 26 Sep 2021 10:18:01 +0300 Subject: [PATCH 2/2] addressing proposed changes --- docs/source/_templates/_static/css/ignite_theme.css | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/source/_templates/_static/css/ignite_theme.css b/docs/source/_templates/_static/css/ignite_theme.css index 850077155db..6f65d3d40a7 100644 --- a/docs/source/_templates/_static/css/ignite_theme.css +++ b/docs/source/_templates/_static/css/ignite_theme.css @@ -211,12 +211,12 @@ so make sure not to go above that value */ /* docsearch end */ article.pytorch-article p.rubric { - font-weight: bold; - font-size: 19px; - margin: 15px 0 10px 0; + font-weight: bold; + font-size: 1.25rem; + margin: 15px 0 10px 0; } -pre { - border: 1px solid rgba(0,0,0,0.15); - border-radius: 4px; +.highlight { + border: 1px solid rgba(0,0,0,0.15); + border-radius: 4px; }