walter-boente_book-collection/css/modules/_text.scss
2026-04-09 21:52:21 +02:00

99 lines
1.4 KiB
SCSS

sup{
line-height: 0;
}
.smallcaps{
font-variant: small-caps;
}
hr{
border: none;
height: var(--baseline);
}
a{
color: currentColor;
text-decoration: none;
}
p{
text-align: justify;
orphans: 2;
widows: 2;
margin-left: $indent*0.8;
padding-left: $indent*0.2;
}
p, li{
hyphens: auto;
hyphenate-limit-chars: 7 3 4;
hyphenate-limit-lines: 2;
hyphenate-limit-zone: 8%;
word-spacing: -0.004em;
}
// p + p{
// text-indent: calc(var(--indent)*0.5);
// }
blockquote{
font-family: var(--font-quote);
p{
border-left: 1px solid #cfcfcf;
}
}
blockquote u{
text-decoration: none;
text-transform: uppercase;
font-size: var(--fs-small);
}
// .these + ol + p,
// blockquote + ol + p{
// text-indent: 0px;
// }
.these{
margin-bottom: calc(var(--baseline)*1);
border-left: 4px solid #efefef;
box-decoration-break: clone;
padding-left: calc(var(--indent)*0.5);
}
ol[type="1"]{
list-style-type: none;
position: relative;
break-after: avoid;
&::after{
content: attr(start);
display: block;
position: absolute;
font-size: var(--fs-small);
opacity: 0.5;
// color: #d7d7 d7;
// position: relative;
// top: -1px;
}
}