diff --git a/WEB/View/assets/img/CyberpunkGirl4.png b/WEB/View/assets/img/CyberpunkGirl4.png new file mode 100644 index 00000000..a25b898d Binary files /dev/null and b/WEB/View/assets/img/CyberpunkGirl4.png differ diff --git a/WEB/View/assets/img/CyperpunkGirl.png b/WEB/View/assets/img/CyperpunkGirl.png new file mode 100644 index 00000000..c354d88f Binary files /dev/null and b/WEB/View/assets/img/CyperpunkGirl.png differ diff --git a/WEB/View/assets/img/ImgMain.png b/WEB/View/assets/img/ImgMain.png deleted file mode 100644 index 6040317c..00000000 Binary files a/WEB/View/assets/img/ImgMain.png and /dev/null differ diff --git a/WEB/View/assets/img/ImgMain2.png b/WEB/View/assets/img/ImgMain2.png new file mode 100644 index 00000000..57dc1eb5 Binary files /dev/null and b/WEB/View/assets/img/ImgMain2.png differ diff --git a/WEB/View/assets/img/ScriptedLogo.png b/WEB/View/assets/img/ScriptedLogo.png deleted file mode 100644 index 796e3127..00000000 Binary files a/WEB/View/assets/img/ScriptedLogo.png and /dev/null differ diff --git a/WEB/View/src/CSS/Main2.css b/WEB/View/src/CSS/Main2.css index 7108748c..4a61cd3f 100644 --- a/WEB/View/src/CSS/Main2.css +++ b/WEB/View/src/CSS/Main2.css @@ -4,7 +4,7 @@ color: white; scroll-behavior: smooth; height: 100vh; - background-image: url("../../assets/img/ImgMain.png"); + background-image: url("../../assets/img/ImgMain2.png"); background-position: center center; background-attachment: fixed; background-repeat: no-repeat; @@ -24,22 +24,160 @@ top: 50%; left: 50%; transform: translate(-50%, -50%); - width: 85%; - height: 70%; + width: 70%; + height: 80%; border-radius: 10px; -webkit-border-radius: 10px; -moz-border-radius: 10px; -ms-border-radius: 10px; -o-border-radius: 10px; + border: 1px solid #fff; } -#AllBg { +.neonBg { background-color: #511949; opacity: 0.8; background-size: 10px 10px; - border-radius: 5px; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - -ms-border-radius: 5px; - -o-border-radius: 5px; + border-radius: 10px; + -webkit-border-radius: 10px; + -moz-border-radius: 10px; + -ms-border-radius: 10px; + -o-border-radius: 10px; +} + +button:focus { + outline: none; +} + +#imgProfil { + width: 30%; + height: 100%; +} + +@media screen and (max-width: 1100px) { + #imgProfil { + display: none; + } +} + +#profil { + position: fixed; + top: 0; + left: 0; + opacity: 0; + height: 100%; + box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); + transition: all 0.1s; + -webkit-transition: all 0.1s; + -moz-transition: all 0.1s; + -ms-transition: all 0.1s; + -o-transition: all 0.1s; +} + +#profil.open { + left: 0; + opacity: 1; + display: flex; +} + +#profilIcon.open { + transition: transform 0.5s; + -webkit-transition: transform 0.5s; + -moz-transition: transform 0.5s; + -ms-transition: transform 0.5s; + -o-transition: transform 0.5s; + background: none; + transform: rotate(180deg) !important; + -webkit-transform: rotate(180deg) !important; + -moz-transform: rotate(180deg) !important; + -ms-transform: rotate(180deg) !important; + -o-transform: rotate(180deg) !important; +} + +#profilContainer.open { + justify-content: end; +} + +/* Button Login/ Logout animation */ + +button { + position: relative; + display: inline-block; + cursor: pointer; + outline: none; + border: 0; + text-decoration: none; + background: transparent; + padding: 0; + font-size: inherit; + font-family: inherit; +} + +button.logButton { + width: 12rem; + height: 50px; +} + +button.logButton .circle { + transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1); + display: block; + margin: 0; + width: 3rem; + height: 3rem; + background: #fff; + border-radius: 1.625rem; +} +button.logButton .circle .icon { + transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1); + position: absolute; + top: 0; + bottom: 0; + margin: auto; + background: #222831; +} +button.logButton .circle .icon.arrow { + transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1); + left: 0.625rem; + width: 1.125rem; + height: 0.125rem; + background: none; +} +button.logButton .circle .icon.arrow::before { + position: absolute; + content: ""; + top: -0.25rem; + right: 0.0625rem; + width: 0.625rem; + height: 0.625rem; + border-top: 0.125rem solid #222831; + border-right: 0.125rem solid #222831; + transform: rotate(45deg); +} +button.logButton .button-text { + transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1); + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + padding: 0.75rem 0; + margin: 0 0 0 1.85rem; + color: #fff; + font-weight: 700; + line-height: 1.6; + text-align: center; + text-transform: uppercase; +} + +button:hover .circle { + width: 100%; +} + +button:hover .circle .icon.arrow { + background: #222831; + transform: translate(1rem, 0); +} + +button:hover .button-text { + color: #222831; } diff --git a/WEB/View/src/pages/Main2.html b/WEB/View/src/pages/Main2.html index 15ee904c..051fcd66 100644 --- a/WEB/View/src/pages/Main2.html +++ b/WEB/View/src/pages/Main2.html @@ -27,9 +27,70 @@
-Pseudo
+ +
- Clique sur le bouton NEXT pour commencer tes premiers pas dans l'ère du developpement.
+ Clique sur le bouton NEXT pour commencer tes premiers pas dans
+ l'ère du developpement.
+
Clique sur SKIP pour aller directement aux énigmes.