walter-boente_book-collection/css/modules/_text.scss
2026-04-22 17:43:29 +02:00

133 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)*2);
}
blockquote p{
padding-left: 2mm;
}
ul{
color: red;
}
// ol, p, h4, h5, h6{
// display: none;
// }
// THESE --------------------------------------------------
.thesis{
break-inside: avoid;
}
.thesis-title{
width: 100%;
display: flex;
gap: 1ch;
}
.thesis-line{
width: 100%;
height: 8px;
background-color: black;
position: relative;
top: 3px;
}
.thesis-title p{
flex-shrink: 0;
text-transform: uppercase;
font-weight: 500;
font-size: 0.9em;
letter-spacing: 0.01rem;
}
.thesis p{
display: block;
}
.thesis + .thesis{
margin-top: 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: 23px;
display: block;
}
}