summaryrefslogtreecommitdiffstats
path: root/css
diff options
context:
space:
mode:
authorchylex <contact@chylex.com>2022-05-10 19:06:16 +0200
committerBenjamin Brahmer <info@b-brahmer.de>2022-05-13 09:45:16 +0200
commit00cb4becf67c47cdfb3afa3af79d45178a2284a6 (patch)
treee78137157fea53f96f0522a5be1bc52917505cbd /css
parent129caf4ae189c3b9e4b701e815d9642d6034dadb (diff)
Improve styling of tables in articles
Signed-off-by: chylex <contact@chylex.com>
Diffstat (limited to 'css')
-rw-r--r--css/content.css14
1 files changed, 14 insertions, 0 deletions
diff --git a/css/content.css b/css/content.css
index cf6909336..f2dff8ee2 100644
--- a/css/content.css
+++ b/css/content.css
@@ -639,6 +639,20 @@
white-space: normal;
}
+#app-content .body table {
+ border-collapse: collapse;
+}
+
+#app-content .body table th {
+ font-weight: bold;
+}
+
+#app-content .body table th,
+#app-content .body table td {
+ border: 1px solid var(--color-text-lighter);
+ padding: 2px 6px;
+}
+
#app-content .body iframe {
max-width: 100%;
}