From 942827f3797b6352eb34b1f111fa04c274079d22 Mon Sep 17 00:00:00 2001 From: Antoine Waehren Date: Thu, 2 Dec 2021 23:31:38 +0100 Subject: [PATCH] =?UTF-8?q?M=C3=A0j=20styles.=20Finalisation=20page=20accu?= =?UTF-8?q?eil.=20M=C3=A0j=20page=20sauveteurs.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/style.css | 46 ++++++++++++++++++++++++++++++++++++---- templates/index.html | 8 ++++--- templates/sauveteur.html | 18 +++++++++++++--- 3 files changed, 62 insertions(+), 10 deletions(-) diff --git a/static/style.css b/static/style.css index b466fa2..4314d64 100644 --- a/static/style.css +++ b/static/style.css @@ -1,17 +1,55 @@ body { + font-family: arial; } -h1 { -} - -p { +h1, p { + padding: 20px; } table, tr, td { border: 1px solid black; border-collapse: collapse; + padding: 10px; } .table_key { font-weight: bold; } + +.article { + display: flex; +} + +#banner { + background-color: #dfcba8; + margin-left: calc(-50vw + 50%); + margin-right: calc(-50vw + 50%); + margin-top:calc(-50vw + 50%); + display: flex; + align-items: center; + padding-top: 5px; + padding-bottom: 5px; +} + +#banner_index { + background-color: #dfcba8; + margin-left: calc(-50vw + 50%); + margin-right: calc(-50vw + 50%); + margin-top:calc(-50vw + 50%); + padding-top: 5px; + padding-bottom: 5px; +} + +#logo_title { + font-weight: bold; + font-size: 30px; +} + +.searchbar { + float: right; + padding-right: 20px; +} + +.right-align { + margin-left: auto; +} diff --git a/templates/index.html b/templates/index.html index f88b0e2..0c244e7 100644 --- a/templates/index.html +++ b/templates/index.html @@ -5,12 +5,14 @@ +
+
diff --git a/templates/sauveteur.html b/templates/sauveteur.html index f10c532..c869a42 100644 --- a/templates/sauveteur.html +++ b/templates/sauveteur.html @@ -10,12 +10,23 @@ description - {{nom}} {{prenom}} - Sauveuteur du dunkerquois + {{nom}} {{prenom}} - Sauveuteurs du dunkerquois - + +
+ + + +

{{nom}} {{prenom}}

+
+

{{description}}Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus.

+

@@ -33,6 +44,7 @@ description
Nom{{nom}}Gratifications{{gratifications}}
-

{{description}}

+

+