From 98122947818333246c16beb4a671e23153316cbd Mon Sep 17 00:00:00 2001 From: Alexel Date: Thu, 19 Oct 2023 17:10:23 -0400 Subject: [PATCH] Ajustement responsive du contenu des tableaux --- public/css/vie-etudiante.css | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/public/css/vie-etudiante.css b/public/css/vie-etudiante.css index af42ea9..8856b64 100644 --- a/public/css/vie-etudiante.css +++ b/public/css/vie-etudiante.css @@ -1,6 +1,7 @@ .table { font-family: "Poppins"; margin-bottom: 20px; + font-size: 0.625rem; } td { @@ -11,7 +12,9 @@ td { font-weight: 600; } -.tableRow:nth-child(odd) {} +.tableRow:nth-child(odd) { + background-color: #FFF; +} .tableRow:nth-child(even) { background-color: #F4F4F4; @@ -26,4 +29,16 @@ td { .separator { width: 75%; border: 1px solid #C4C4C4; +} + +@media screen and (min-width: 768px) { + .table { + font-size: 0.875rem; + } +} + +@media screen and (min-width: 1140px) { + .table { + font-size: 1rem; + } } \ No newline at end of file