walter-boente_book-collection/css/modules/_text.scss
2026-04-21 16:37:59 +02:00

121 lines
1.6 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;
position: relative;
top: -2px;
padding-left: calc(var(--unit)*2);
}
p, li{
hyphens: auto;
hyphenate-limit-chars: 7 3 4;
hyphenate-limit-lines: 2;
hyphenate-limit-zone: 8%;
word-spacing: -0.004em;
widows: 2;
orphans: 2;
}
.wrapper-indent > p:first-of-type {
text-indent: $indent*0.5;
}
blockquote{
// font-family: var(--font-quote);
border-left: 0.5px solid black;
margin-left: calc(var(--unit)*1.5);
}
blockquote p{
padding-left: 2mm;
}
ul{
color: red;
}
// ol, p, h4, h5, h6{
// display: none;
// }
// THESE --------------------------------------------------
.thesis p{
display: block;
}
// .p-these{
// font-weight: 500;
// margin-bottom: calc(var(--baseline)*0.5);
// display: block;
// 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);
// }
// INTRO --------------------------------------------------
.has-intro-1-paragraph .intro,
.has-intro .intro{
break-after: right;
}
.intro{
p{
font-size: var(--fs-intro);
padding-left: calc(var(--unit)*1);
line-height: 1.4;
display: block;
}
}