walter-boente_book-collection/css/modules/_text.scss
2026-04-09 22:03:28 +02:00

104 lines
1.5 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);
}
.p-these{
font-weight: 500;
strong{
text-transform: uppercase;
display: inline-block;
min-width: $indent*2;
font-weight: bold;
font-size: var(--fs-small);
letter-spacing: 0.05rem;
}
}
.p-these-last{
margin-bottom: calc(var(--baseline)*1);
}
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;
}
}