From 91e2af38c30c1fa36fa7e5a2ec138571d2ff8204 Mon Sep 17 00:00:00 2001 From: olOwOlo <26087907+olOwOlo@users.noreply.github.com> Date: Mon, 11 Sep 2017 17:50:21 +0800 Subject: style: table head and table row hover merge from original theme ahonn/hexo-theme-even@4058d5ab3ecb9bc942749c1c6263c13455f85fd4 table head background tr:hover background-color: $deputy-color --- src/css/_partial/_post/_content.scss | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/css/_partial/_post/_content.scss b/src/css/_partial/_post/_content.scss index bfa0f2c..d291d2b 100644 --- a/src/css/_partial/_post/_content.scss +++ b/src/css/_partial/_post/_content.scss @@ -49,11 +49,19 @@ margin: 10px 0; border-spacing: 0; box-shadow: 2px 2px 3px rgba(0,0,0,.125); - + + thead { + background: $deputy-color; + } + th, td { padding: 5px 15px; border: 1px double $content-table-border-color; } + + tr:hover { + background-color: $deputy-color; + } } @import 'code'; -- cgit v1.2.3