From 3028b5c64b7f4d669d2abec807ac742d4c7bf9b7 Mon Sep 17 00:00:00 2001 From: June1372 <justine.sauquet@polymtl.ca> Date: Sun, 5 Feb 2023 10:16:19 -0500 Subject: [PATCH] bon beh voila --- assets/styles/but.css | 30 ------------------------------ templates/but.html.twig | 11 ++++++++--- 2 files changed, 8 insertions(+), 33 deletions(-) diff --git a/assets/styles/but.css b/assets/styles/but.css index 16ba436..8480b8a 100644 --- a/assets/styles/but.css +++ b/assets/styles/but.css @@ -3,36 +3,6 @@ span { text-align: center; } -.flex-row { - display: flex; - flex-direction: row; - justify-content: space-around; - align-items: center; - padding: 0 10px 0 10px; - margin-bottom: 2px; - text-decoration: none; - color: black; - flex-wrap: wrap; -} - -.flex-row div { - flex: 1 1 25%; - /* Replace 0 with 25% for 4/row */ - /* text-align: center; */ -} - -.flex-column { - display: flex; - flex-direction: column; -} - -#container { - padding: 10px; - border: 3px solid; - border-color: black; - border-radius: 5px; -} - h1 { text-align: center; font-size: 30px; diff --git a/templates/but.html.twig b/templates/but.html.twig index 239db64..bfe54ef 100644 --- a/templates/but.html.twig +++ b/templates/but.html.twig @@ -15,16 +15,18 @@ <div class="wrapper"> <div {{ react_component( 'Menu', {active: 'but'} )}}></div> </div> - <div style="display: flex; justify-grow: 1; flex-direction: column; margin-left: 225px; "> + <div style="display: flex; justify-grow: 1; flex-direction: column; margin-left: 225px; text-align:center"> <h1>But</h1> + <br><br><br> <div> <span>Je souhaite vraiment acheter cette voiture : </span> </div> - <div style=""> + <br> + <div> <img src="./img/voiture.jpg"/> </div> - + <br> <div> <span>Elle coute : 463 775 $ </span> @@ -33,6 +35,9 @@ <span>Je pourrais donc l'acheter dans : 123 annees ! </span> </div> +<br><br><br><br><br> + <h1>Sorry, didn't have time to finish</h1> + <div> </div> {% endblock %} -- GitLab