Skip to content

Commit

Permalink
fix table
Browse files Browse the repository at this point in the history
  • Loading branch information
Louis-LJ committed Jun 23, 2024
1 parent 6f1311d commit dc403d4
Show file tree
Hide file tree
Showing 9 changed files with 67 additions and 49 deletions.
2 changes: 1 addition & 1 deletion CycloRoute/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ <h4>Mode CycloTourisme</h4>
<li>Télécharger <a class="div-link" href="https://github.com/OsmAnd-Rendering/Cycling/raw/main/CycloRoute.osf">ce fichier</a></li>
</ul>
<br>
<div class="responsive-columns" style="justify-content: center">
<div class="responsive-two-columns">
<table>
<thead>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion CycloRoute/index_EN.html
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ <h2>CycloRoute</h2>
</ul>
<br>

<div class="responsive-columns" style="justify-content: center">
<div class="responsive-two-columns">
<table>
<thead>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion CycloRoute/index_ES.html
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ <h2>CycloRoute</h2>
</ul>
<br>

<div class="responsive-columns" style="justify-content: center">
<div class="responsive-two-columns">
<table>
<thead>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion Enduro/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ <h2>Enduro</h2>

<br>

<div class="responsive-columns">
<div class="responsive-two-columns">
<table>
<thead>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion Enduro/index_EN.html
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ <h2>Enduro</h2>

<br>

<div class="responsive-columns">
<div class="responsive-two-columns">
<table>
<thead>
<tr>
Expand Down
84 changes: 42 additions & 42 deletions Hiking/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -136,48 +136,48 @@ <h2>Randonnée</h2>
</ul>
<br>

<div class="responsive-columns" style="display: flex; align-items: center; justify-content: center">
<div>
<table>
<thead>
<tr>
<th><h4>Première installation</h4></th>
</tr>
</thead>
<tbody>
<tr>
<td>
<ul>
<li>Télécharger le fichier <br>
<li>Ouvrir avec OsmAnd<br>
<li> Cocher toutes les cases pour importer le Profil + rendu<br>
<li> Terminé !<br><br>Votre nouveau profil, avec le rendu "Randonnée", est prédéfini.<br>
</td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<thead>
<tr>
<th><h4>Mise à jour du rendu</h4></th>
</tr>
</thead>
<tbody>
<tr>
<td>
<ul>
<li>Télécharger le fichier <br>
<li>Ouvrir avec OsmAnd<br>
<li>Cocher uniquement la case "<strong>Ressources</strong>" pour n'importer que le rendu <br>
<li>Cliquez sur "<strong>Tout remplacer</strong>"<br>
<li>Fait !<br><br>Votre nouveau rendu "Randonnée" a remplacé l'ancien<br>
</td>
</tr>
</tbody>
</table>
</div>
<div class="responsive-two-columns">
<table>
<thead>
<tr>
<th>
<h4>Première installation</h4>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<ul>
<li>Télécharger le fichier <br>
<li>Ouvrir avec OsmAnd<br>
<li> Cocher toutes les cases pour importer le Profil + rendu<br>
<li> Terminé !<br><br>Votre nouveau profil, avec le rendu "Randonnée", est prédéfini.<br>
</td>
</tr>
</tbody>
</table>
<table>
<thead>
<tr>
<th>
<h4>Mise à jour du rendu</h4>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<ul>
<li>Télécharger le fichier <br>
<li>Ouvrir avec OsmAnd<br>
<li>Cocher uniquement la case "<strong>Ressources</strong>" pour n'importer que le rendu <br>
<li>Cliquez sur "<strong>Tout remplacer</strong>"<br>
<li>Fait !<br><br>Votre nouveau rendu "Randonnée" a remplacé l'ancien<br>
</td>
</tr>
</tbody>
</table>
</div>


Expand Down
2 changes: 1 addition & 1 deletion Hiking/index_EN.html
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ <h2>Hiking</h2>
</ul>
<br>

<div class="responsive-columns">
<div class="responsive-two-columns">
<table>
<thead>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion Hiking/index_ES.html
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ <h2>Senderismo</h2>
<li>Descargar <a class="div-link" href="https://github.com/OsmAnd-Rendering/Hiking/raw/main/Senderismo.osf">este archivo</a></li>
</ul>
<br>
<div class="responsive-columns">
<div class="responsive-two-columns">
<table>
<thead>
<tr>
Expand Down
18 changes: 18 additions & 0 deletions Style.css
Original file line number Diff line number Diff line change
Expand Up @@ -425,3 +425,21 @@ div, button {
width: auto;
}
}

/* container */
.responsive-two-columns {
display:flex;
flex-wrap:wrap;
}

/* columns */
.responsive-two-columns > * {
width:100%;
}

/* tablet breakpoint */
@media (min-width:768px) {
.responsive-two-columns > * {
width:50%;
}
}

0 comments on commit dc403d4

Please sign in to comment.