From 33474cb1f1730b5b392e2b3a54d7ffbbb777f389 Mon Sep 17 00:00:00 2001 From: Rob Loranger Date: Tue, 11 Feb 2020 13:02:10 -0800 Subject: [PATCH] change to simpler style --- less/core.less | 25 +++++++++---------------- 1 file changed, 9 insertions(+), 16 deletions(-) diff --git a/less/core.less b/less/core.less index 99aaa0e..67fd08b 100644 --- a/less/core.less +++ b/less/core.less @@ -632,26 +632,19 @@ table.classy { } } -body#post article table { +article table { border-spacing: 0; border-collapse: collapse; + width: 100%; th { - border-bottom: 2px solid #ccc; - text-align: center; - } - th + th { - border-left: 1px solid #ccc; - } - tr:nth-child(even) { - background-color: #f6f6f6; + border-width: 1px 1px 2px 1px; + border-style: solid; + border-color: #ccc; } - td + td { - border-left: 1px solid #ccc; - } - tr + tr td { - border-top: 1px solid #ccc; - } - td, th { + td { + border-width: 0 1px 1px 1px; + border-style: solid; + border-color: #ccc; padding: .25rem .5rem; } }