MàJ responsive
This commit is contained in:
parent
cdeff71a34
commit
b5d04b078f
@ -227,7 +227,7 @@ function update() {
|
||||
decision = "Admis Mention Très Bien";
|
||||
sup_mention_actuelle = 17.99*total_coef
|
||||
} else {
|
||||
decision = "Admis Mention Très Bien<br>avec les félicitations du jury";
|
||||
decision = "Admis Mention Très Bien avec les félicitations du jury";
|
||||
sup_mention_actuelle = NaN
|
||||
}
|
||||
|
||||
|
@ -56,6 +56,7 @@
|
||||
<fieldset>
|
||||
<legend>Contrôle continu</legend>
|
||||
|
||||
<div class="table_wrapper">
|
||||
<table>
|
||||
<tr>
|
||||
<th rowspan="2">Matière</th>
|
||||
@ -165,12 +166,14 @@
|
||||
<td colspan="3">Total des points : <span id="total-points-CC">0</span></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<legend>Épreuves terminales</legend>
|
||||
|
||||
Remarque : Seules ces épreuves peuvent faire l'objet d'un éventuel rattrapage.
|
||||
|
||||
<div class="table_wrapper">
|
||||
<table>
|
||||
<tr>
|
||||
<th rowspan="2">Matière</th>
|
||||
@ -260,9 +263,11 @@
|
||||
<td><span id="total-points-terminal"></span></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<legend>Épreuves spécifiques du BFI</legend>
|
||||
<div class="table_wrapper">
|
||||
<table>
|
||||
<tr>
|
||||
<th rowspan="2">Matière</th>
|
||||
@ -340,9 +345,11 @@
|
||||
<td><span id="total-points-specifique"></span></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<legend>Option(s)</legend>
|
||||
<div class="table_wrapper">
|
||||
<table>
|
||||
<tr>
|
||||
<th rowspan="2">Matière</th>
|
||||
@ -425,6 +432,7 @@
|
||||
<td colspan="4">Total des points : <span id="total-points-options">-</span></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
</main>
|
||||
|
@ -78,6 +78,30 @@ main {
|
||||
margin: 10px auto;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1000px) {
|
||||
main {
|
||||
width: 100vw;
|
||||
}
|
||||
|
||||
.resultat {
|
||||
position: static;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.resultat div {
|
||||
width: clamp(300px, 60%, 700px);
|
||||
}
|
||||
|
||||
div.table_wrapper {
|
||||
width: calc(100vw - 50px);
|
||||
}
|
||||
|
||||
fieldset {
|
||||
width: calc(100vw - 40px);
|
||||
}
|
||||
}
|
||||
|
||||
.info {
|
||||
padding: 10px;
|
||||
background-color: lightyellow;
|
||||
@ -92,6 +116,12 @@ form {
|
||||
fieldset {
|
||||
padding: 10px;
|
||||
margin: 20px 0;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
div.table_wrapper {
|
||||
overflow-x: auto;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
table {
|
||||
|
Loading…
Reference in New Issue
Block a user