From 94630ebef4c95fb656d9d85e412450a1759722ac Mon Sep 17 00:00:00 2001 From: Pontoporeia Date: Wed, 21 Dec 2022 16:52:57 +0100 Subject: [PATCH] style du formulaire --- formulaire.html | 160 ++++++++++++++++++++++++------------------------ style.css | 89 +++++++++++++++++++-------- 2 files changed, 144 insertions(+), 105 deletions(-) diff --git a/formulaire.html b/formulaire.html index 89e5987..48b6e66 100644 --- a/formulaire.html +++ b/formulaire.html @@ -15,105 +15,105 @@ Mémoire post-ERG / A life after ERG
- -

Partager son mémoire

-
-
- - -
+

Partager son mémoire

+ -
- - -
+
+ + +
-
- - -
+
+ + +
-
- - -
+
+ + +
-
- - -
+
+ + +
-
- - -
+
+ + +
-
- - -
+
+ + +
-
- - -
+
+ + +
-
- - -
+
+ + +
-
- - -
+
+ + +
-
- - -
+
+ + +
-
- - -
+
+ + +
-
- -
+
+ + +
+ +
+ +
diff --git a/style.css b/style.css index 217f42f..cf0df35 100644 --- a/style.css +++ b/style.css @@ -5,10 +5,17 @@ body { background-color: white; - /* overflow-x: hidden; */ - /* width: 100%; */ } + /* PARAMÈTRE DE BASE DE BOUTTON */ + .button { + margin: 0; + width: auto; + padding: 0.8rem; + background-color: white; + } + + /* ENTÊTE */ header { z-index: 10000; @@ -44,46 +51,73 @@ width: 100vw; left: 0; background-color: white; - background: linear-gradient(0deg, rgba(2,0,36,0) 0%, rgba(255,255,255,1) 40%); + background: linear-gradient(0deg, rgba(2, 0, 36, 0) 0%, rgba(255, 255, 255, 1) 40%); } - .menu-content{ + .menu-content { display: flex; flex-direction: row; justify-content: center; - /* align-items: flex; */ - /* margin-top: 8vh; */ padding: 2rem; gap: 1rem; - /* align-self: flex-start; */ - } - .boutton { - margin: 0; - width: auto; - padding: 0.8rem; - text-align: center; - text-decoration: none; - font-size: 0.8rem; - font-family: police1; - transition-duration: 0.4s; - cursor: pointer; - border-radius: 16px; - background-color: white; - } - - .boutton1 { + header .button { background-color: none; color: rgb(193, 4, 252); border: 1px solid rgb(193, 4, 252); + text-align: center; + text-decoration: none; + font-size: 0.8rem; + transition-duration: 0.4s; + cursor: pointer; + border-radius: 16px; } - .boutton1:hover { + header input { + font-family: police1; + } + + header .button:hover { background-color: rgb(193, 4, 252); color: white; } + /* FORMULAIRE */ + + form label { + font-family: police1; + font-size: 1rem; + } + form input{ + position: relative; + border-color: #c104fc; + border-radius: 5px; + border-style: solid; + margin: 1rem; + padding: 0.5rem; + width: auto; + overflow:visible; + } + + form select{ + position: relative; + border-color: #c104fc; + border-radius: 5px; + border-style: solid; + margin: 1rem; + padding: 0.5rem; + background-color: white; + } + + #enter input{ + font-family: police1; + font-size: 1rem; + font-weight: bold; + padding: 1.2rem; + border-radius: 16px; + } + /* CONTENUS DE LA PAGE */ #page_content { position: relative; @@ -96,7 +130,7 @@ } /* GRILLE */ - .grid-section{ + .grid-section { position: relative; /* display: block; */ /* position: fixed; */ @@ -122,4 +156,9 @@ grid-column: 5 / 5; grid-row: 1 / 12; background-color: #4da870; + } + + form .boutton { + position: inherit; + margin: 0; } \ No newline at end of file