Skip to content

Commit

Permalink
Fix wiki front page.
Browse files Browse the repository at this point in the history
  • Loading branch information
edwh committed Feb 1, 2023
1 parent 2a7d753 commit a5b4c8d
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions resources/wiki/css/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,22 @@ body {
}

.main-page {
counter-reset: section 0;
counter-increment: chapter;

h2::before {
content: counter(chapter);

width: 50px;
height: 50px;
background: $black;
color: $white;
text-align: center;
font-size: 36px;
display: inline-block;
padding: 4px;
margin-right: 12px;
counter-reset: chapter 0;

.mw-collapsible {
h2::before {
content: counter(chapter);

width: 50px;
height: 50px;
background: $black;
color: $white;
text-align: center;
font-size: 36px;
display: inline-block;
padding: 4px;
margin-right: 12px;
}
}
}

Expand Down

0 comments on commit a5b4c8d

Please sign in to comment.