From 3ea5ff98f77348e6e05b51c4c23f48c4edd14115 Mon Sep 17 00:00:00 2001 From: Nicolas MASSE Date: Thu, 20 Jun 2024 16:55:07 +0200 Subject: [PATCH] format tables neatly --- assets/css/itix.css | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/assets/css/itix.css b/assets/css/itix.css index 00c6d84..001ccd7 100644 --- a/assets/css/itix.css +++ b/assets/css/itix.css @@ -19,6 +19,7 @@ --codeblock-background-color: #ebf2f9; --toc-background-color: #f0f5fa; --pagination-disabled-color: #555; + --table-border-color: #092949; /* * Layout @@ -210,9 +211,17 @@ button { outline: none !important; } -table { +main table { table-layout: fixed; overflow-x: scroll; + border-collapse: collapse; + width: 100%; + table-layout: auto; +} + +main table td, main table th { + border: 1px solid var(--table-border-color); + padding: 0.2rem 0.5rem; } button {