From 95662c9887a24708ff2719af85679762ea278397 Mon Sep 17 00:00:00 2001 From: Amin Persia Date: Fri, 27 Sep 2024 16:18:12 -0700 Subject: [PATCH] Adds msising border for th and table margin This is to make tables follow markdown rules. --- VERSION | 2 +- styles/styles.css | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/VERSION b/VERSION index 4ded4f9..1b5deea 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.0.58 \ No newline at end of file +1.0.59 \ No newline at end of file diff --git a/styles/styles.css b/styles/styles.css index 3d27c23..0fa78e8 100644 --- a/styles/styles.css +++ b/styles/styles.css @@ -20,8 +20,6 @@ input::-webkit-input-placeholder{unicode-bidi: plaintext;text-align:start;} /* fixes long strings making side menu freeze */ h1, h2, h3, h4, p, article ul li, article ol li, td {overflow-wrap: break-word; word-wrap: break-word; word-break: break-word; hyphens: auto;} -/* based on markdown rules, tables should be 100% */ -table{width:100%;} /* font must be defined for international langs to display in monospace */ code, pre {font-family: Consolas, 'Courier New', Courier, monospace;} @@ -70,9 +68,10 @@ img.polaroid{width:100%;height:auto;padding:9px;background-color:#ffffff;border: code{background:#f0f0f0;padding:0 5px;} /* tables */ -table{width:100%;} -td{padding:9px;border:1px solid #999999;} -th{padding:0 9px 0 9px;font-size:0.9rem;font-weight:bold;color:var(--theme-color)} +/* based on markdown rules, tables should be 100% */ +table{width:100%;margin:1rem 0 1rem 0;;} +td{padding: 9px; border:1px solid #999999;} +th{padding: 9px; border:1px solid #999999;font-weight:bold;color:var(--theme-color)} /* input colors */ input:not([type]):focus:not([readonly]),