Skip to content

Commit

Permalink
Theme for Lasne - SUP-39634
Browse files Browse the repository at this point in the history
  • Loading branch information
jerhero committed Nov 6, 2024
1 parent 351aa8b commit 6d287fd
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions lasne/src/scss/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,19 @@ $enable-roboto-webfont: false;
@import "./contact";
@import "./home/divers";

//SUP-39634
.sectiontext ol li::before {
content: counters(item) "." !important;
.sectiontext {
counter-reset: item; // Initialiser le compteur pour .sectiontext

ol {
list-style: none; // Supprimer les puces par défaut

li {
counter-increment: item; // Incrémenter le compteur pour chaque <li>

&::before {
content: counters(item, ".") " " !important; // Afficher le compteur avec des points
margin-right: 5px; // Ajouter un espace après le compteur
}
}
}
}

0 comments on commit 6d287fd

Please sign in to comment.