Skip to content

Commit

Permalink
Adds CSS-only counter 🔥
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrillkuettel committed Jun 20, 2024
1 parent 524d156 commit b2f6144
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/privatim/static/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ a.btn-primary:hover {
}

a {
/* set color for all link */
/* set color for all links */
color: var(--primary-color);
}

Expand All @@ -110,6 +110,7 @@ a {
color: var(--primary-color);
border-color: var(--primary-color);
}

.btn-secondary:hover {
background: var(--secondary-hover-color);
color: white;
Expand Down Expand Up @@ -266,3 +267,14 @@ span.accordion-text-9 {
.user-list-item {
color: var(--primary-color);
}

.accordion {
counter-reset: section; /* Reset the section counter */
}

.accordion-text-9::before {
counter-increment: section; /* Increment the section counter */
content: counter(section) ". "; /* Display the counter */
font-weight: bold;
margin-right: 10px;
}

0 comments on commit b2f6144

Please sign in to comment.