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

View File

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