walter-boente_book-collection/css/modules/_text.scss

105 lines
1.5 KiB
SCSS
Raw Normal View History

2026-04-09 19:37:52 +02:00
2026-01-19 22:14:03 +01:00
sup{
line-height: 0;
}
2026-03-09 23:11:46 +01:00
.smallcaps{
font-variant: small-caps;
}
2026-01-19 22:14:03 +01:00
hr{
border: none;
height: var(--baseline);
}
a{
color: currentColor;
text-decoration: none;
}
p{
text-align: justify;
orphans: 2;
widows: 2;
2026-04-09 21:52:21 +02:00
margin-left: $indent*0.8;
padding-left: $indent*0.2;
2026-01-19 22:14:03 +01:00
}
p, li{
hyphens: auto;
hyphenate-limit-chars: 7 3 4;
hyphenate-limit-lines: 2;
hyphenate-limit-zone: 8%;
word-spacing: -0.004em;
}
2026-01-19 23:37:32 +01:00
2026-01-19 22:14:03 +01:00
2026-04-09 21:52:21 +02:00
// p + p{
// text-indent: calc(var(--indent)*0.5);
// }
2026-01-19 22:14:03 +01:00
blockquote{
2026-04-09 21:52:21 +02:00
font-family: var(--font-quote);
p{
border-left: 1px solid #cfcfcf;
}
2026-01-19 22:14:03 +01:00
}
2026-04-09 21:52:21 +02:00
blockquote u{
text-decoration: none;
text-transform: uppercase;
font-size: var(--fs-small);
2026-01-20 19:05:58 +01:00
}
2026-01-19 22:14:03 +01:00
2026-04-09 21:52:21 +02:00
2026-01-19 22:14:03 +01:00
2026-04-09 22:03:28 +02:00
.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;
}
}
2026-04-09 21:52:21 +02:00
2026-04-09 22:03:28 +02:00
.p-these-last{
2026-01-20 19:05:58 +01:00
margin-bottom: calc(var(--baseline)*1);
2026-01-19 23:37:32 +01:00
}
2026-01-20 13:32:39 +01:00
ol[type="1"]{
list-style-type: none;
position: relative;
break-after: avoid;
2026-01-20 22:37:15 +01:00
2026-04-09 21:52:21 +02:00
&::after{
2026-01-20 13:32:39 +01:00
content: attr(start);
2026-04-09 21:52:21 +02:00
display: block;
position: absolute;
2026-01-20 22:37:15 +01:00
font-size: var(--fs-small);
2026-04-09 21:52:21 +02:00
opacity: 0.5;
// color: #d7d7 d7;
// position: relative;
// top: -1px;
2026-01-19 23:37:32 +01:00
}
2026-01-20 13:32:39 +01:00
}
2026-01-19 23:37:32 +01:00
2026-01-20 22:37:15 +01:00