aboutsummaryrefslogtreecommitdiff
path: root/src/css/_partial
diff options
context:
space:
mode:
authorolOwOlo <26087907+olOwOlo@users.noreply.github.com>2017-09-11 17:50:21 +0800
committerolOwOlo <26087907+olOwOlo@users.noreply.github.com>2017-09-11 17:50:21 +0800
commit91e2af38c30c1fa36fa7e5a2ec138571d2ff8204 (patch)
tree23fe34b08fdb39b4c7b7cfb9a23ca76c1a30a4e8 /src/css/_partial
parentcffd4dd2455413535d07cae174b4c2faef8b9bfa (diff)
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
Diffstat (limited to 'src/css/_partial')
-rw-r--r--src/css/_partial/_post/_content.scss10
1 files changed, 9 insertions, 1 deletions
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';