From b383674de0804bd8af931ee422c9cb3bcf7e7d9c Mon Sep 17 00:00:00 2001 From: kvakazyambra Date: Sun, 23 Jul 2023 19:10:28 +0300 Subject: [PATCH] Article blocks style fixes --- src/components/Article/Article.module.scss | 19 ++++++++++++++++--- src/styles/app.scss | 6 ++++++ 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/src/components/Article/Article.module.scss b/src/components/Article/Article.module.scss index 6b99af4e..20193ce8 100644 --- a/src/components/Article/Article.module.scss +++ b/src/components/Article/Article.module.scss @@ -57,10 +57,12 @@ img { } } - blockquote[data-type='quote'] { + blockquote[data-type='quote'], + ta-quotation { @include font-size(1.4rem); border: solid #000; border-width: 0 0 0 2px; + display: block; font-weight: 500; line-height: 1.6; margin: 1.6rem 0 0 calc(-8.33333% - 2px); @@ -87,8 +89,12 @@ img { } } - *[data-type='incut'] { + *[data-type='incut'], + ta-sub, + ta-selection-frame, + ta-border-sub { background: #f1f2f3; + display: block; @include font-size(1.4rem); margin: 3.2rem 0; padding: 3.2rem; @@ -120,9 +126,16 @@ img { background: #eafff2; } - *[data-bg='white'] { + *[data-bg='white'], + ta-selection-frame { background: #fff; box-shadow: 0 0 0 1px #000; + display: block; + } + + ta-border-sub { + box-shadow: 0 0 0 1px #000; + display: block; } *[data-float='half-left'] { diff --git a/src/styles/app.scss b/src/styles/app.scss index e9271ad4..3978538d 100644 --- a/src/styles/app.scss +++ b/src/styles/app.scss @@ -957,3 +957,9 @@ details { iframe { border: none; } + +.lead { + @include font-size(2rem); + font-weight: bold; + line-height: 1.5; +}