Skip to content

Commit

Permalink
fixed alignment of modlist and release pages
Browse files Browse the repository at this point in the history
They're now identical!
  • Loading branch information
0neGal committed Feb 7, 2023
1 parent 416679e commit dde66c7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
14 changes: 6 additions & 8 deletions src/app/css/launcher.css
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,6 @@
margin-top: var(--padding);
}

/* some sections do not need space between them and menu */
#nsMain, #nsRelease, #vpReleaseNotes, .playBtnContainer {
margin-top: 0 !important;
}

.contentMenu li {
opacity: 0.6;
margin: 0 26px;
Expand Down Expand Up @@ -163,7 +158,7 @@
.contentBody img {max-width: 100%}
.contentBody .img {text-align: center}

.contentBody .section > :first-child:not(.img) {
.contentBody .section > :first-child:not(.release-block) {
margin-top: 35px;
}

Expand Down Expand Up @@ -214,11 +209,15 @@
text-align: center;
}

#nsMods {
height: 80vh;
}

#nsRelease, #vpReleaseNotes {
height: 80vh;
margin-top: 35px;
overflow-y: scroll;
flex-direction: column;
margin-top: 10px !important;
}

.inline * {
Expand Down Expand Up @@ -275,7 +274,6 @@ code {
border-radius: 5px;
background: var(--bg);
backdrop-filter: blur(15px);
padding: calc(var(--padding) / 4);
}

#modsdiv .mod {
Expand Down
2 changes: 1 addition & 1 deletion src/app/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ button:active {filter: brightness(90%)}

.popup, #modsdiv, .release-block {
outline: 1px solid #444444;
border: 3px solid var(--bg);
border: 3px solid var(--bg) inset;
}

.playBtn, .gamesContainer button, #winbtns div {
Expand Down

0 comments on commit dde66c7

Please sign in to comment.