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 059ff0b commit 2a7d753
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions resources/global/css/components/_lists.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
margin: 0 !important;;
padding: 0 !important;;
margin-left: 35px !important;;
margin-bottom: 25px !important;

li {
position: relative;
Expand Down
19 changes: 19 additions & 0 deletions resources/wiki/css/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,25 @@ body {
font-family: "Asap", sans-serif;
}

.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;
}
}

.mw-parser-output {
counter-reset: chapter 0 section 0;

Expand Down

0 comments on commit 2a7d753

Please sign in to comment.