Article blocks style fixes

This commit is contained in:
kvakazyambra 2023-07-23 19:10:28 +03:00
parent c8c3418de1
commit b383674de0
2 changed files with 22 additions and 3 deletions

View File

@ -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'] {

View File

@ -957,3 +957,9 @@ details {
iframe {
border: none;
}
.lead {
@include font-size(2rem);
font-weight: bold;
line-height: 1.5;
}