From bda60ce81324c822f1048225416ae66dabcc8557 Mon Sep 17 00:00:00 2001 From: yoannchb-pro <71560747+yoannchb-pro@users.noreply.github.com> Date: Thu, 21 Mar 2024 19:57:38 -0400 Subject: [PATCH] fixed table css --- test/fake-moodle/css/style.css | 10 +++++----- test/fake-moodle/index.html | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/test/fake-moodle/css/style.css b/test/fake-moodle/css/style.css index db51b89..0a36ffc 100644 --- a/test/fake-moodle/css/style.css +++ b/test/fake-moodle/css/style.css @@ -70,23 +70,23 @@ img { height: 5rem; } -table { +.style-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; } -th, -td { +.style-table th, +.style-table td { border: 1px solid #ddd; padding: 8px; text-align: left; } -th { +.style-table th { background-color: #f2f2f2; } -tr:nth-child(even) { +.style-table tr:nth-child(even) { background-color: #f2f2f2; } diff --git a/test/fake-moodle/index.html b/test/fake-moodle/index.html index aedbc03..6053122 100644 --- a/test/fake-moodle/index.html +++ b/test/fake-moodle/index.html @@ -273,7 +273,7 @@

Give me the id of the personn who have a car

- +
id