From 4c695c652e6416d40788f85986ac4c04b4b6c45a Mon Sep 17 00:00:00 2001 From: 79E <5980844@qq.com> Date: Tue, 6 Sep 2022 14:19:44 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=A5=B7=20=E6=9B=B4=E6=96=B0=E6=96=87?= =?UTF-8?q?=E7=AB=A0=E5=86=85=E7=9A=84=E8=A1=A8=E6=A0=BC=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/css/public/article_cente.less | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/source/css/public/article_cente.less b/source/css/public/article_cente.less index 31fc10d..e0263bf 100644 --- a/source/css/public/article_cente.less +++ b/source/css/public/article_cente.less @@ -159,7 +159,6 @@ } table { width: 100%; - border: 0; border-collapse: collapse; border-spacing: 0; line-height: 1.2em; @@ -168,8 +167,10 @@ word-wrap: break-word; table-layout: fixed; margin: 20px 0 15px; + border: 1px solid rgba(153,169,191,.1); + overflow: hidden; td:hover, tr:hover { - background: #e8e9ea; + background: rgba(153,169,191,.1); cursor: pointer; } tr:first-child th:first-child { @@ -184,6 +185,16 @@ tr:last-child td:last-child { border-bottom-right-radius: 3px; } + td{ + border-bottom: 1px solid rgba(153,169,191,.1); + border-right: 1px solid rgba(153,169,191,.1); + } + tr:first-child td{ + border-top: 1px solid rgba(153,169,191,.1); + } + tr td:first-child{ + border-left: 1px solid rgba(153,169,191,.1); + } } thead { text-indent: 1em; @@ -194,18 +205,23 @@ } } th { - background: #73b1e0; - font-weight: 800; + background: rgba(153,169,191,.1); + font-weight: 400; font-size: 18px; text-align: left; - line-height: 35px; - color: #fff; + color: #4c4948; } } tbody{ tr { line-height: 2.5em; } + td{ + color: #333; + font-weight: 400; + padding: 0 1em; + text-align: left; + } } } \ No newline at end of file