From 764f32ef9b0ac34b3878151c8cb938a288bd3ed2 Mon Sep 17 00:00:00 2001 From: gdamms Date: Fri, 29 Apr 2022 16:45:18 +0200 Subject: [PATCH] feat: tous les menus vides --- src/front/index2.html | 59 ++++++++++++++++++-- src/front/profil.css | 117 ++++++++++++++++++++++++++++++++++++++++ src/front/title-bar.css | 1 - 3 files changed, 172 insertions(+), 5 deletions(-) diff --git a/src/front/index2.html b/src/front/index2.html index 4a6d30e..0264876 100644 --- a/src/front/index2.html +++ b/src/front/index2.html @@ -10,9 +10,29 @@ @@ -25,13 +45,44 @@
- + + + + + +
My name is Amogus
+ +
+ +
+ Wallet +
+
+ +
+ +
+ My pixels +
+
+ +
+ +
+ Settings +
diff --git a/src/front/profil.css b/src/front/profil.css index 3f45914..d907e2a 100644 --- a/src/front/profil.css +++ b/src/front/profil.css @@ -12,6 +12,7 @@ padding: 20px; border-radius: 10px; box-shadow: 0px 0px 5px #000; + } #show-menu:checked~.menu-container { @@ -28,4 +29,120 @@ .menu-container .close-btn:hover { color: #3498db; +} + +.menu-container div { + display: flex; + justify-content: space-evenly; +} + +.wallet-container { + --width: 410px; + display: none; + visibility: visible; + background: #fff; + width: var(--width); + margin: 30px; + box-shadow: 0 0 8px rgba(0, 0, 0, 0.1); + position: absolute; + left: calc(50% - var(--width) / 2); + top: 30%; + padding: 20px; + border-radius: 10px; + box-shadow: 0px 0px 5px #000; + +} + +#show-wallet:checked~.wallet-container { + display: block; +} + +.wallet-container .close-btn { + position: absolute; + right: 20px; + top: 15px; + font-size: 18px; + cursor: pointer; +} + +.wallet-container .close-btn:hover { + color: #3498db; +} + +.mypixel-container { + --width: 410px; + display: none; + visibility: visible; + background: #fff; + width: var(--width); + margin: 30px; + box-shadow: 0 0 8px rgba(0, 0, 0, 0.1); + position: absolute; + left: calc(50% - var(--width) / 2); + top: 30%; + padding: 20px; + border-radius: 10px; + box-shadow: 0px 0px 5px #000; + +} + +#show-mypixel:checked~.mypixel-container { + display: block; +} + +.mypixel-container .close-btn { + position: absolute; + right: 20px; + top: 15px; + font-size: 18px; + cursor: pointer; +} + +.mypixel-container .close-btn:hover { + color: #3498db; +} + + +.settings-container { + --width: 410px; + display: none; + visibility: visible; + background: #fff; + width: var(--width); + margin: 30px; + box-shadow: 0 0 8px rgba(0, 0, 0, 0.1); + position: absolute; + left: calc(50% - var(--width) / 2); + top: 30%; + padding: 20px; + border-radius: 10px; + box-shadow: 0px 0px 5px #000; + +} + +#show-settings:checked~.settings-container { + display: block; +} + +.settings-container .close-btn { + position: absolute; + right: 20px; + top: 15px; + font-size: 18px; + cursor: pointer; +} + +.settings-container .close-btn:hover { + color: #3498db; +} + + +.wallet-btn, +.mypixel-btn, +.settings-btn { + background: #fff; + margin: 10px 10px; + padding: 10px 10px; + color: #3498db; + cursor: pointer; } \ No newline at end of file diff --git a/src/front/title-bar.css b/src/front/title-bar.css index d3156d4..e59d474 100644 --- a/src/front/title-bar.css +++ b/src/front/title-bar.css @@ -31,7 +31,6 @@ background: #fff; margin: 10% 10px; padding: 10% 10px; - font-size: auto; color: #3498db; cursor: pointer; }