From 0ee49bad83b381b1eac0bb093674db985f4b0ca7 Mon Sep 17 00:00:00 2001 From: otoyo Date: Mon, 10 Jan 2022 17:17:20 +0900 Subject: [PATCH] Add styles for table --- src/styles/global.css | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/src/styles/global.css b/src/styles/global.css index 46cdcc06..c7c9d963 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -320,6 +320,28 @@ code { font-family: var(--font-mono); } +table { + color: #222; + border-collapse: collapse; +} + +table tr { + vertical-align: middle; +} + +table th { + font-weight: 600; + background-color: #f4f4f4; +} + +table td, +table th { + font-size: 0.75em; + border: 1px solid #e4e4e4; + padding: 0.5em 1em; + line-height: 1.2em; +} + .slice { position: relative; }