WIP: Fix #30 : Mise en page des barres de progressions #31

Draft
Nono wants to merge 2 commits from progression into main
2 changed files with 30 additions and 3 deletions

View file

@ -193,6 +193,19 @@ figcaption {
line-height: 0.5em;
}
#progress {
display: block;
text-align: center;
}
#gauge-bar {
float: left;
}
#fundraising-bar {
float: left;
}
code {
background: #ffffff1f;
padding: 0.2em 0.4em;

View file

@ -86,11 +86,25 @@
</h3>
<section id="progress">
<p>Il y a</p>
<div class="places"><span class="bar"><span id="gauge-bar" style="width:0" class="progression lessthanhalf"><span id="gauge-text">?/200</span></span></span></div>
<div class="places">
<span class="bar">
<span id="gauge-bar" style="width:0" class="progression lessthanhalf">
<span id="gauge-text">?/200</span>
</span>
</span>
</div>
<p>places déjà réservées. Ouverture prochaine des inscriptions!</p>
<br>
<p>Et nous avons reçu</p>
<div class="places"><span class="bar"><span id="fundraising-bar" style="width:0" class="progression lessthanhalf"><span id="fundraising-text">? %</span></span></span></div>
<div class="places">
<span class="bar">
<span id="fundraising-bar" style="width:0" class="progression lessthanhalf">
<span id="fundraising-text">? %</span>
</span>
</span>
</div>
<p>des dons dont nous avons besoin (voir le détail des comptes)</p>
</section>
<h3>
@ -129,5 +143,5 @@
</div>
</footer>
</body>
</html>