diff --git a/css/style.css b/css/style.css index 28d358c..7cce5c7 100644 --- a/css/style.css +++ b/css/style.css @@ -349,3 +349,13 @@ footer { 99% { text-shadow: -3px 0 0 #0c33f5, 3px 0 0 lime; filter: blur(0);} 100% { text-shadow: -3px 0 0 #0c33f5, 3px 0 0 lime; filter: blur(0);} } + +.form-header { + display: flex; + justify-content: right; /* Aligns items with space between them */ + ; +} + +#close-form-button-project, #close-form-button-{ + width: 35px; +} \ No newline at end of file diff --git a/css/style_menu.css b/css/style_menu.css index 52f45f2..f271227 100644 --- a/css/style_menu.css +++ b/css/style_menu.css @@ -1,69 +1,81 @@ -#carousel-container { - display: flex; - align-items: center; - justify-content: center; - width: 80%; - margin: auto; - overflow: hidden; - position: relative; - perspective: 1000px; - } - - #carousel { - display: flex; - transition: transform 0.5s ease; - transform-style: preserve-3d; - } - - .project { - min-width: 90%; - box-sizing: border-box; - padding: 20px; - background-color: #f8f9fa; - text-align: center; - border: 1px solid #ddd; - border-radius: 10px; - margin: 0 10px; - backface-visibility: hidden; - } - - .nav-button { - background-color: #182b3f; - z-index: 15; - color: white; - border: none; - padding: 10px; - cursor: pointer; - border-radius: 5px; - font-size: 18px; - position: absolute; - top: 50%; - transform: translateY(-50%); - } - - #prev-button { - left: 10px; - } - - #next-button { - right: 10px; - } - - .nav-button:hover { - background-color: #12457d; - } - - .project_buttons { - display: flex; - flex-direction: column; - align-items: center; - text-align: center; - } - - #global_title { +.project { + width: 90%; + height: 40vh; + box-sizing: border-box; + padding: 20px; + background-color: #f8f9fa; + text-align: center; + border: 1px solid #ddd; + border-radius: 10px; + margin: 0 10px; + backface-visibility: hidden; +} + +#global_title { animation: glitch 3s steps(100) infinite; color: #151515; - font-size: 13vh; + font-size: 10vh; text-align: center; text-transform: uppercase; - } \ No newline at end of file +} + +#carousel-dots { + position: sticky; + bottom: 0; + display: flex; + justify-content: center; + align-items: center; +} + +.dot { + z-index: 30; + width: 12px; + height: 12px; + margin: 0 5px; + background-color: #bbb; + border-radius: 50%; + cursor: pointer; + transition: background-color 0.3s; +} + +.dot.active { + background-color: #717171; +} + +.container { + margin: 0 auto; + width: 250px; + height: 47vh; + position: relative; + perspective: 1000px; +} + +.carousel { + width: 100%; + position: absolute; + transform-style: preserve-3d; + transition: transform 1s; +} + +.item { + display: block; + position: absolute; + text-align: center; +} + +.next, .prev { + position: absolute; + cursor: pointer; + background-color: transparent; + font-size: 90px; + color: white; + border: none; + bottom: 2.5em; + transition: transform 0.3s, box-shadow 0.3s; +} +.next:hover, .prev:hover { + box-shadow: 0 0 15px 0 rgba(253, 252, 252, 0.2); + transform: translateY(-4px); +} +.next { right: 2em; } +.prev { left: 2em; } diff --git a/css/style_projet.css b/css/style_projet.css index 9a50872..f0bf83e 100644 --- a/css/style_projet.css +++ b/css/style_projet.css @@ -139,13 +139,3 @@ font-size: 2em; } } - -.form-header { - display: flex; - justify-content: right; /* Aligns items with space between them */ - ; -} - -#close-form-button-project{ - width: 35px; -} diff --git a/html/projet_detail.html b/html/projet_detail.html index 6cf9ae1..5b2db09 100644 --- a/html/projet_detail.html +++ b/html/projet_detail.html @@ -21,7 +21,7 @@
This is a custom alert!