index-shop/assets/css/components/_text.scss
isUnknown 1ca2fcfeee
All checks were successful
Deploy / Deploy to Production (push) Successful in 9s
product > details : preserve line jump
2025-12-12 10:59:53 +01:00

74 lines
1.4 KiB
SCSS

[data-template="subscription-newsletter"],
[data-template="thanks"],
[data-template="support"],
[data-template="store"] {
.p__baseline-big {
font-family: var(--title);
font-size: var(--fs-big);
font-weight: var(--fw-bold);
line-height: 1.1;
text-align: center;
margin: calc(var(--spacing) * 1) 0;
strong {
font-weight: var(--fw-bolf);
color: var(--color-accent);
}
.link-don {
display: block;
color: var(--color-accent);
text-decoration: none;
// &::after{
// content: ' ↗';
// font-size: 0.8em;
// }
&:hover {
text-decoration: underline 2px;
text-underline-offset: 4px;
}
}
}
.p__baseline {
font-size: var(--fs-medium);
font-weight: var(--fw-medium);
line-height: 1.1;
text-align: center;
margin: calc(var(--spacing) * 1) 0;
@media #{$small} {
text-align: center;
margin: var(--spacing) 0;
}
}
.p__details {
font-size: var(--fs-small);
margin-bottom: 0.5em;
color: var(--grey-400);
}
.section__heading {
font-size: var(--fs-normal);
font-weight: var(--fw-medium);
line-height: 1;
text-align: center;
margin-top: calc(var(--spacing) * 0.5);
margin-bottom: calc(var(--spacing) * 1);
}
ul,
ol {
margin-left: 3ch;
margin-bottom: 0.5em;
}
}
.section__product {
.details {
> p,
> ul {
margin-bottom: 1rem;
}
}
}