aboutsummaryrefslogtreecommitdiff
path: root/src/app/main.css
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2022-01-17 14:22:00 +0100
committer0neGal <mail@0negal.com>2022-01-17 14:22:00 +0100
commit9807e2f4c626dbc7741447a6f49f01e84a11686f (patch)
tree55035863f6b59f7f54b01a448d4a7ad165f4cc8e /src/app/main.css
parent4d0ef0ca26afc9dc70fbc942dd05beca19e2f0a6 (diff)
downloadViper-9807e2f4c626dbc7741447a6f49f01e84a11686f.tar.gz
Viper-9807e2f4c626dbc7741447a6f49f01e84a11686f.zip
added minimize button
Diffstat (limited to 'src/app/main.css')
-rw-r--r--src/app/main.css24
1 files changed, 16 insertions, 8 deletions
diff --git a/src/app/main.css b/src/app/main.css
index 3907461..de0db46 100644
--- a/src/app/main.css
+++ b/src/app/main.css
@@ -26,25 +26,33 @@
background: var(--red);
}
-.playBtn, .gamesContainer button, #close {
+.playBtn, .gamesContainer button, #winbtns div {
cursor: pointer;
}
-#close {
+#winbtns {
z-index: 1;
+ display: flex;
+ position: fixed;
+ top: var(--padding);
+ right: calc(var(--padding) / 2);
+}
+
+#winbtns div {
width: 25px;
opacity: 0.6;
height: 25px;
- position: fixed;
- top: var(--padding);
- right: var(--padding);
+ position: relative;
background-size: contain;
transition: 0.25s ease-in-out;
- background-image: url("icons/close.png");
+ margin-right: calc(var(--padding) / 2);
}
-#close:hover {opacity: 1.0}
-#close:active {transform: scale(0.98)}
+#winbtns #close {background-image: url("icons/close.png")}
+#winbtns #minimize {background-image: url("icons/minimize.png")}
+
+#winbtns div:hover {opacity: 1.0}
+#winbtns div:active {transform: scale(0.98)}
body {
margin: 0;