From 25fe5285da016c43baa269f0cec267369fd6df20 Mon Sep 17 00:00:00 2001 From: Rob Loranger Date: Tue, 8 Oct 2019 09:39:39 -0700 Subject: [PATCH] lightly style tables in posts --- less/core.less | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/less/core.less b/less/core.less index f4332a9..99aaa0e 100644 --- a/less/core.less +++ b/less/core.less @@ -632,6 +632,30 @@ table.classy { } } +body#post article table { + border-spacing: 0; + border-collapse: collapse; + th { + border-bottom: 2px solid #ccc; + text-align: center; + } + th + th { + border-left: 1px solid #ccc; + } + tr:nth-child(even) { + background-color: #f6f6f6; + } + td + td { + border-left: 1px solid #ccc; + } + tr + tr td { + border-top: 1px solid #ccc; + } + td, th { + padding: .25rem .5rem; + } +} + body#collection article, body#subpage article { padding-top: 0; padding-bottom: 0;