From dde66c700172624fd64465752dbd91ddf79ffc49 Mon Sep 17 00:00:00 2001 From: 0neGal Date: Tue, 7 Feb 2023 22:09:18 +0100 Subject: fixed alignment of modlist and release pages They're now identical! --- src/app/css/launcher.css | 14 ++++++-------- src/app/main.css | 2 +- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/src/app/css/launcher.css b/src/app/css/launcher.css index 5698179..9726981 100644 --- a/src/app/css/launcher.css +++ b/src/app/css/launcher.css @@ -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; @@ -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; } @@ -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 * { @@ -275,7 +274,6 @@ code { border-radius: 5px; background: var(--bg); backdrop-filter: blur(15px); - padding: calc(var(--padding) / 4); } #modsdiv .mod { diff --git a/src/app/main.css b/src/app/main.css index 5779fa8..f123029 100644 --- a/src/app/main.css +++ b/src/app/main.css @@ -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 { -- cgit v1.2.3