From 66fb2fa6bf83b8d6e6d1cb7e159ea806bca4aebb Mon Sep 17 00:00:00 2001 From: BonfaceKilz Date: Thu, 3 Dec 2020 00:28:56 +0300 Subject: Center-align the table header and left-align the table body --- wqflask/wqflask/static/new/css/markdown.css | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/wqflask/wqflask/static/new/css/markdown.css b/wqflask/wqflask/static/new/css/markdown.css index e10dd9d3..0c0309fb 100644 --- a/wqflask/wqflask/static/new/css/markdown.css +++ b/wqflask/wqflask/static/new/css/markdown.css @@ -61,6 +61,15 @@ width: 100%; } +#markdown td { + padding: 1em; + text-align: left; +} + +#markdown th { + text-align: center; +} + #markdown table, #markdown td, #markdown th { @@ -71,7 +80,6 @@ #markdown th { padding-top: 8px; padding-bottom: 8px; - text-align: center; } @media(max-width:650px) { -- cgit v1.2.3