aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2023-02-07 22:09:18 +0100
committer0neGal <mail@0negal.com>2023-02-07 22:09:57 +0100
commitdde66c700172624fd64465752dbd91ddf79ffc49 (patch)
treea07686598a037e789448b0e701febabb8e09ea07
parent416679e95792872b8f1e994aee4ea708ce4a1293 (diff)
downloadViper-dde66c700172624fd64465752dbd91ddf79ffc49.tar.gz
Viper-dde66c700172624fd64465752dbd91ddf79ffc49.zip
fixed alignment of modlist and release pages
They're now identical!
-rw-r--r--src/app/css/launcher.css14
-rw-r--r--src/app/main.css2
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 {