decor-6-expe/maquette-tests/assets/css/modules/_text.scss

132 lines
2.3 KiB
SCSS
Raw Normal View History

2026-02-23 11:35:07 +01:00
.chapter{
p{
2026-02-23 23:30:33 +01:00
text-align: justify;
hyphens: auto;
hyphenate-limit-chars: 8 3;
2026-02-23 11:35:07 +01:00
position: relative;
2026-02-24 12:40:59 +01:00
// color: var(--blue);
2026-02-24 14:09:50 +01:00
2026-02-23 22:44:59 +01:00
letter-spacing: 0.01rem;
2026-02-23 11:35:07 +01:00
// &::before{
// content: '';
// display: inline-block;
// width: 8px;
// height: 8px;
// background-color: var(--blue);
// border-radius: 50%;
// margin-right: 1ch;
// }
}
p + p{
2026-02-23 22:44:59 +01:00
text-indent: var(--indent);
2026-02-23 11:35:07 +01:00
}
h3{
margin-top: calc(var(--baseline)*1.5);
margin-bottom: calc(var(--baseline)*0.5);
text-align: center;
2026-02-23 23:30:33 +01:00
font-weight: normal;
2026-02-23 22:44:59 +01:00
// text-decoration: underline;
2026-02-23 23:30:33 +01:00
font-family: var(--mono);
2026-02-23 11:35:07 +01:00
text-transform: uppercase;
color: var(--blue);
max-width: 18ch;
2026-02-23 22:44:59 +01:00
// margin-inline: auto;
letter-spacing: 0.05rem;
2026-02-24 12:40:59 +01:00
color: black;
2026-02-24 14:09:50 +01:00
text-decoration: underline 1px;
text-underline-offset: 2px;
2026-02-23 22:44:59 +01:00
2026-02-23 11:35:07 +01:00
// &::before{
// content: '';
// display: block;
// width: 8px;
// height: 8px;
// border: 1px solid var(--blue);
// border-radius: 50%;
// margin-right: 1ch;
// position: relative;
// left: -2ch;
// }
}
blockquote p{
// font-family: var(--mono);
}
blockquote{
2026-02-24 14:09:50 +01:00
font-family: var(--mono);
2026-02-23 22:44:59 +01:00
// position: relative;
// left: 14mm;
// p{
// font-size: 16px;
// line-height: calc(var(--baseline)*1.25);
// font-weight: 300;
2026-02-23 11:35:07 +01:00
2026-02-23 22:44:59 +01:00
// }
padding-left: var(--indent);
2026-02-23 11:35:07 +01:00
2026-02-24 14:09:50 +01:00
margin-top: calc(var(--baseline)*1);
margin-bottom: calc(var(--baseline)*1);
2026-02-23 11:35:07 +01:00
}
& > :first-child{
// background-color: red;
margin-top: 0px;
}
}
// .inline-note{
// background-color: #e5e5f7;
// opacity: 0.8;
// background-image: linear-gradient(0deg, white 50%, var(--green-light) 50%);
// background-size: 16px 16px;
// .body_note{
// display: inline;
// padding-right: 1ch;
// background-color: white;
// -webkit-box-decoration-break: clone;
// box-decoration-break: clone;
// position: relative;
// top: -4px;
// }
// }
// p + p .inline-note::after{
// left: -19mm!important;
// }
// p + p + p .inline-note::after{
// left: -12mm!important;
// }
.pagedjs_area{
position: relative;
}