indent p + p

This commit is contained in:
Julie Blanc 2026-04-10 11:46:11 +02:00
parent 3b91983491
commit 299ffe6c4b
6 changed files with 53 additions and 3 deletions

View file

@ -35,10 +35,18 @@ p, li{
}
.wrapper-indent {
color: red;
}
// p + p{
// text-indent: calc(var(--indent)*0.5);
.wrapper-indent > p:first-of-type {
text-indent: $indent*0.5;
}
// p + ol + p{
// color: red;
// text-indent: $indent*0.25;
// }