Summary Files Commits Branches @commit @diff @stats
path: root / src / styles.css
diff options
context:
space:
mode:
Commit4d456deed6b155dcfe431e4c829f46d10b2fe68b (patch)
Author
 Syndamia <kamen@syndamia.com>
2023-07-13 15:03:53 +0300
Committer
 Syndamia <kamen@syndamia.com>
2023-07-13 15:03:53 +0300
Filesab7bacc6989c2e4b08794e0d9d49c508bf34b22a /src/styles.css
syndamia.com-4d456deed6b155dcfe431e4c829f46d10b2fe68b.tar
syndamia.com-4d456deed6b155dcfe431e4c829f46d10b2fe68b.tar.gz
syndamia.com-4d456deed6b155dcfe431e4c829f46d10b2fe68b.zip
Parent5a4b5bf38239546f7dd6381eff89dc0b2456c3ce (diff)
[styles] Empty cells have a default height
1 files changed, 3 insertions, 2 deletions
-rw-r--r--src/styles.css5
diff --git a/src/styles.css b/src/styles.css
index a4b1b9d..fe11c8d 100644
--- a/src/styles.css
+++ b/src/styles.css
@@ -249,11 +249,12 @@ table {
table td:not(:first-of-type), table th:not(:first-of-type) {
border-left: 2px dashed var(--table-border-color);
}
- table td:not(:empty), table th:not(:empty) { padding: 0.5em; }
- table th:not(:empty) {
+ table td, table th { padding: 0.5em; }
+ table th {
font-size: 1.1em;
font-weight: bold;
}
+ table td:empty { height: 1em; }
table tr:not(:first-of-type) {
background-color: var(--tr-bg-color);