diff --git a/WEB/src/CSS/Home.css b/WEB/src/CSS/Home.css index 49b201d8..d1709fc7 100644 --- a/WEB/src/CSS/Home.css +++ b/WEB/src/CSS/Home.css @@ -233,7 +233,7 @@ body { /* Main CSS */ .main{ - background-image: url(../../assets/img/banner.jpg); + background-image: url(../../assets/img/BackgroundMain.jpg); height: 100vh; background-position: center; background-repeat: no-repeat; diff --git a/WEB/src/CSS/enigme.css b/WEB/src/CSS/enigme.css index fe1addd1..ba1db73b 100644 --- a/WEB/src/CSS/enigme.css +++ b/WEB/src/CSS/enigme.css @@ -65,7 +65,7 @@ body{ --focus: hsl(210, 90%, 50%); --border-color: hsla(0, 0%, 100%, .2); --global-background: hsl(220, 25%, 10%); - --background: linear-gradient(to right, #0e1538, #061663); + --background: linear-gradient(to right, #040a29, #0e1538); --shadow-1: hsla(236, 50%, 50%, .3); --shadow-2: hsla(236, 50%, 50%, .4); } @@ -77,7 +77,6 @@ body{ margin-left: 20px; background: rgba(0,0,0,0.6); box-sizing: border-box; - box-shadow: 0 15px 25px rgba(0,0,0,); border-radius: 10px; padding: 10px; margin-left: 10px; @@ -87,13 +86,14 @@ body{ -/* Button Css */ +/* Main Button Css */ .buttons{ display: flex; justify-content: center; align-items: center; flex-direction: column; + cursor: pointer; } .compiler_class .buttons div{ @@ -120,26 +120,26 @@ body{ } - .buttons .btn:nth-child(1):before, .buttons .btn:nth-child(1):after - { +.buttons .btn:nth-child(1):before, .buttons .btn:nth-child(1):after +{ background: linear-gradient(45deg, #00ccff, #0e1538, #d400d4) - } +} .buttons .btn:nth-child(2):before, .buttons .btn:nth-child(2):after - { +{ background: linear-gradient(45deg, #d400d4, #0e1538, #fb5942); - } +} .buttons .btn:hover:before - { +{ inset: -3px; - } +} .buttons .btn:hover:after - { +{ inset: -3px; filter: blur(10px); - } +} .buttons .btn span{ position: absolute; @@ -159,7 +159,7 @@ body{ color: #fff; border: 1px solid #040a29; overflow: hidden; - } +} .buttons .btn span::before{ content:''; @@ -241,6 +241,8 @@ body{ #result{ display: flex; align-items: center; + margin: 0 30px; + font-size: 1.5rem; } @@ -258,21 +260,21 @@ body{ width: 100%; height: 100%; - - /* --m-background is set as inline style */ background: var(--m-background); } .modal-container:target { display: flex; + align-items: center; } .modal { display: flex; - justify-content: space-around; - width: 95%; - height: 25%; - padding: 4rem 2rem; + justify-content: center; + align-items: flex-end; + width: 30%; + height: 35%; + padding: 10px 0; border-radius: .8rem; color: aliceblue; @@ -282,80 +284,66 @@ body{ overflow: hidden; } -.modal__title { - font-size: 3.2rem; +/* Modal H1 */ + +.modal #containerResult{ display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + width: 80%; + height: 100%; } -.modal__btn { - margin-top: 4rem; - padding: 1rem 1.6rem; - border: 1px solid var(--border-color); - border-radius: 100rem; - - color: inherit; - background: transparent; - font-size: 1.4rem; - font-family: inherit; - letter-spacing: .2rem; +/* Modal Container Buttons */ - transition: .2s; - cursor: pointer; -} - -.modal__btn:nth-of-type(1) { - margin-right: 1rem; +.modal .buttons{ + display: flex; + align-items: flex-end; + height: 100%; + width: auto; } -.modal__btn:hover, -.modal__btn:focus { - background: var(--focus); - border-color: var(--focus); - transform: translateY(-.2rem); +.modal .buttons #top{ + display: flex; + justify-content: flex-end; + align-items: flex-start; + width: 100%; + height: 50%; } - -.link-2, #fleche { - width: 4rem; - height: 4rem; - border: 1px solid var(--border-color); - border-radius: 100rem; - - color: inherit; - font-size: 2.2rem; - - position: absolute; - top: 2rem; - right: 2rem; - +.modal .buttons #bottom{ display: flex; justify-content: center; - align-items: center; - - transition: .2s; + align-items: flex-end; + width: 100%; + height: 50%; } -#fleche{ - display: none; - position: absolute; - top: 7rem; - right: 2rem; +/* Modal buttons btn */ + +.modal .buttons .btn{ + width: 30px; + height: 30px; + margin : 0 15px; } -.link-2::before { - content: '×'; +.modal .buttons #bottom{ + width: 100%; +} - transform: translateY(-.1rem); +.modal .buttons #fleche{ + display: none; + width: 75px; + height: 40px; } -#fleche::before { - content: '->'; - transform: translateY(-.1rem); +.modal .buttons .btn span{ + background: #06124b; + color: white; } -.link-2:hover, -.link-2:focus, #fleche:hover, #fleche:focus { - background: var(--focus); - border-color: var(--focus); - transform: translateY(-.2rem); +.modal .buttons #bottom .btn:nth-child(1):before, .modal .buttons #bottom .btn:nth-child(1):after +{ + background: linear-gradient(45deg, #d400d4, #0e1538, #fb5942); } \ No newline at end of file diff --git a/WEB/src/pages/Enigme/palindrome.html b/WEB/src/pages/Enigme/palindrome.html index e825547d..41a11fb2 100644 --- a/WEB/src/pages/Enigme/palindrome.html +++ b/WEB/src/pages/Enigme/palindrome.html @@ -61,9 +61,21 @@ print(estPalindrome("abba"))