From 46d0b4140ebc3365618b23b01c094b0860baed9d Mon Sep 17 00:00:00 2001 From: maTh Date: Mon, 3 Oct 2022 18:04:10 +0200 Subject: Improved: better semantic HTML for boxes (#4665) * add h1 title on views * add h2 titles into box-title * thin scrollbar in box-content --- p/themes/base-theme/frss.css | 8 ++++++++ p/themes/base-theme/frss.rtl.css | 8 ++++++++ 2 files changed, 16 insertions(+) (limited to 'p') diff --git a/p/themes/base-theme/frss.css b/p/themes/base-theme/frss.css index 46fffb826..fdc99e8a7 100644 --- a/p/themes/base-theme/frss.css +++ b/p/themes/base-theme/frss.css @@ -102,6 +102,10 @@ h3 { line-height: 1.5; } +.title_hidden { + display: none; +} + /*=== Paragraphs */ p { margin: 1rem 0 0.5rem; @@ -795,6 +799,10 @@ input[type="checkbox"]:focus-visible { .box .box-title { position: relative; +} + +.box .box-title h2 { + display: inline; font-size: 1.2rem; font-weight: bold; } diff --git a/p/themes/base-theme/frss.rtl.css b/p/themes/base-theme/frss.rtl.css index 4d731e6f7..5d3b0eab7 100644 --- a/p/themes/base-theme/frss.rtl.css +++ b/p/themes/base-theme/frss.rtl.css @@ -102,6 +102,10 @@ h3 { line-height: 1.5; } +.title_hidden { + display: none; +} + /*=== Paragraphs */ p { margin: 1rem 0 0.5rem; @@ -795,6 +799,10 @@ input[type="checkbox"]:focus-visible { .box .box-title { position: relative; +} + +.box .box-title h2 { + display: inline; font-size: 1.2rem; font-weight: bold; } -- cgit v1.2.3