From dcb9aa1d401a39decdd7592e384e557f240dc85d Mon Sep 17 00:00:00 2001 From: lyonbot Date: Mon, 22 Jan 2018 19:50:41 +0800 Subject: [PATCH] Add style for tables --- stylesheets/style.css | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/stylesheets/style.css b/stylesheets/style.css index d6b55d540..dec136502 100644 --- a/stylesheets/style.css +++ b/stylesheets/style.css @@ -31,4 +31,17 @@ border-left: .2rem solid #ccc; padding-left: 3.8rem; } +.markdown-body table { + font-size: inherit; + width: 100%; + margin-bottom: 2em; + border-spacing: 0; + border-collapse: collapse; +} +.markdown-body table th, +.markdown-body table td { + padding: .8em .4em; + border-bottom: 1px solid #CCC; + border-bottom-color: rgba(0,0,0,0.2); +} /* end Markdown styles */