Files
DOSSIER/website/themes/hextra/assets/css/components/steps.css
T
karim 5a6129bee1 Dokumentations-/Marketing-Website hinzugefügt (Hugo, Hextra-Theme)
Erstmaliger Commit des website/-Unterprojekts (bisher nie versioniert).
Enthält Inhalt/Konfiguration (content/, data/, i18n/, hugo.toml) sowie das
vendorte Hextra-Theme; Build-Output (public/) und Lock-Datei bleiben über
website/.gitignore ausgeschlossen.
2026-10-08 20:25:14 +02:00

23 lines
745 B
CSS

.hextra-steps {
:where(h2, h3, h4, h5, h6):not(.no-step-marker) {
counter-increment: step;
@apply hx:ltr:before:ml-[-41px] hx:rtl:before:mr-[-44px];
/* https://github.com/tailwindlabs/tailwindcss/issues/15597#issuecomment-2582673546 */
@apply hx:before:bg-gray-100 hx:dark:before:bg-neutral-800;
@apply hx:before:border-4 hx:before:border-white hx:dark:before:border-dark;
&:before {
content: counter(step);
@apply hx:absolute hx:size-[33px];
@apply hx:rounded-full hx:text-neutral-400 hx:text-base hx:font-normal hx:text-center hx:-indent-px;
}
}
}
:lang(fa) .hextra-steps {
:where(h2, h3, h4, h5, h6):not(.no-step-marker) {
&:before {
content: counter(step, persian);
}
}
}