This commit is contained in:
theo@manjaro 2021-12-03 01:09:53 +01:00
commit 4d4ea3d5d3
2 changed files with 14 additions and 5 deletions

View File

@ -16,7 +16,7 @@ table, tr, td {
font-weight: bold; font-weight: bold;
} }
.article { .flexbox {
display: flex; display: flex;
} }
@ -24,7 +24,7 @@ table, tr, td {
background-color: #dfcba8; background-color: #dfcba8;
margin-left: calc(-50vw + 50%); margin-left: calc(-50vw + 50%);
margin-right: calc(-50vw + 50%); margin-right: calc(-50vw + 50%);
margin-top:calc(-50vw + 50%); margin-top: calc(-50vw + 50%);
display: flex; display: flex;
align-items: center; align-items: center;
padding-top: 5px; padding-top: 5px;
@ -35,7 +35,7 @@ table, tr, td {
background-color: #dfcba8; background-color: #dfcba8;
margin-left: calc(-50vw + 50%); margin-left: calc(-50vw + 50%);
margin-right: calc(-50vw + 50%); margin-right: calc(-50vw + 50%);
margin-top:calc(-50vw + 50%); margin-top: calc(-50vw + 50%);
padding-top: 5px; padding-top: 5px;
padding-bottom: 5px; padding-bottom: 5px;
} }

View File

@ -2,6 +2,8 @@
<!--- Variables <!--- Variables
nom nom
prenom prenom
date_naissance
date_deces
nb_sauvetages nb_sauvetages
nb_sauves nb_sauves
gratifications gratifications
@ -19,13 +21,14 @@ description
<span id="logo_title">Sauveuteurs du dunkerquois</span> <span id="logo_title">Sauveuteurs du dunkerquois</span>
</header> </header>
<br> <br>
<a href="https://www.google.com/">Proposer une modification</a>
<form class="searchbar" method=get> <form class="searchbar" method=get>
<input type="text" placeholder="Saisissez votre recherche..." size=20> <input type="text" placeholder="Saisissez votre recherche..." size=20>
<input type="submit" value="Rechercher"> <input type="submit" value="Rechercher">
</form> </form>
<h1>{{nom}} {{prenom}}</h1> <h1>{{nom}} {{prenom}}</h1>
<div class="article"> <div class="flexbox">
<p>{{description}}Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus.</p> <p>{{description}}</p>
<p class="right-align"> <p class="right-align">
<table> <table>
<tr> <tr>
@ -34,6 +37,12 @@ description
<tr> <tr>
<td class="table_key">Prénom</td><td>{{prenom}}</td> <td class="table_key">Prénom</td><td>{{prenom}}</td>
</tr> </tr>
<tr>
<td class="table_key">Naissance</td><td>{{date_naissance}}</td>
</tr>
<tr>
<td class="table_key">Décès</td><td>{{date_deces}}</td>
</tr>
<tr> <tr>
<td class="table_key">Sauvetages effectués</td><td>{{nb_sauvetages}}</td> <td class="table_key">Sauvetages effectués</td><td>{{nb_sauvetages}}</td>
</tr> </tr>