diff --git a/style.css b/style.css new file mode 100644 index 0000000..3e47d6e --- /dev/null +++ b/style.css @@ -0,0 +1,99 @@ +body { + font-family: Arial, sans-serif; + background-color: #f4f4f4; + color: #333; + margin: 0; + padding: 0; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; +} + +h1, +h2 { + color: #1500ff; +} + +form { + background: #fff; + padding: 20px; + margin-bottom: 20px; + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); + border-radius: 5px; + max-width: 900px; + width: 100%; +} + +input[type="text"], +textarea { + font-size: 12pt; + width: 100%; + padding: 10px; + margin-bottom: 10px; + border: 1px solid #ccc; + border-radius: 4px; +} + +button { + background: #3498db; + color: white; + padding: 10px 20px; + border: none; + border-radius: 5px; + cursor: pointer; +} + +button:hover { + background: #2980b9; +} + +.annonce { + background: #fff; + padding: 20px; + margin-bottom: 20px; + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); + border-radius: 5px; + max-width: 900px; + width: 100%; +} + +.annonce small { + color: #888; +} +/* Bouton haut page */ +/* Effet fluide */ + +html { + scroll-behavior: smooth; +} + +#scrollToTopButton { + display: block; + z-index: 99; + transition: + background-color 0.3s, + opacity 0.5s, + visibility 0.5s; + opacity: 0; + visibility: hidden; + position: fixed; + bottom: 20px; + right: 30px; + border: none; + border-radius: 4px; + outline: none; + width: 50px; + height: 50px; + padding: 8px; + background-color: #333333bf; +} +#scrollToTopButton i { + color: white; +} +#scrollToTopButton:hover, +#scrollToTopButton:focus, +#scrollToTopButton:focus-within { + cursor: pointer; + background-color: #0078b4; +}