From e64276c3acefb77a0d50a039952bee1234432714 Mon Sep 17 00:00:00 2001 From: Eric Date: Tue, 14 Mar 2023 16:03:27 -0500 Subject: [PATCH] Website: update blog heading styles (#10493) Changes: - Added styles for inline code blocks in headings on blog pages. --- .../assets/styles/pages/articles/basic-article.less | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/website/assets/styles/pages/articles/basic-article.less b/website/assets/styles/pages/articles/basic-article.less index c2586bf960..ca7ab50a64 100644 --- a/website/assets/styles/pages/articles/basic-article.less +++ b/website/assets/styles/pages/articles/basic-article.less @@ -90,6 +90,18 @@ margin-top: 24px; margin-bottom: 24px; } + h2 > code:not(.bash):not(.nohighlight):not(.mermaid) { + padding: 0px 4px; + font-weight: 400; + font-size: 22px; + line-height: inherit; + } + h3 > code:not(.bash):not(.nohighlight):not(.mermaid) { + padding: 0px 4px; + font-weight: 400; + font-size: 18px; + line-height: inherit; + } p { font-size: 16px; line-height: 28px;