From ab93a07b3e01032f8cbce5d266f5b49815edab1a Mon Sep 17 00:00:00 2001 From: Waqas Tariq Date: Thu, 3 Mar 2022 20:46:26 +0500 Subject: [PATCH] fix: update styles Fixed header icon position. Mouse hover effect. Link colors changed. --- apaxy/theme/style.css | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/apaxy/theme/style.css b/apaxy/theme/style.css index 92dc240..96795da 100644 --- a/apaxy/theme/style.css +++ b/apaxy/theme/style.css @@ -42,7 +42,7 @@ code { } a { - color: #000; + color: #333; text-decoration: none; } @media (prefers-color-scheme: dark) { @@ -61,11 +61,13 @@ a > img:hover { } a:hover { - color: #bababa; + color: #000; } + @media (prefers-color-scheme: dark) { a:hover { color: #696969; + font-weight: bold; } } @@ -145,6 +147,16 @@ tr { border: 0; } +tr.indexhead{ + border-bottom: 2px solid #999; +} + +tr:not(.indexhead):hover{ + box-shadow: 0px 0px 0px 1px rgba(0,0,0,0.25) inset; + -webkit-box-shadow: 0px 0px 0px 1px rgba(0,0,0,0.25) inset; + -moz-box-shadow: 0px 0px 0px 1px rgba(0,0,0,0.25) inset; +} + th { text-align: left; font-size: .75em; @@ -166,6 +178,11 @@ th + th + th + th { width: 5%; } +tr th:first-of-type { + padding-left: 10px; + padding-right: 10px; +} + tr td:first-of-type { padding-left: 10px; padding-right: 10px;