From 1b9437ce9728a96b2ba38b7f66dc5262448606fb Mon Sep 17 00:00:00 2001 From: Griatch Date: Fri, 24 Jun 2016 20:40:46 +0200 Subject: [PATCH] Add 'inherit' as link CSS tags to make sure the links properly inherit colors given outside the link. The drawback is that one can't give a standard color to the link itself this way (it's just underlined). This deals with #979. --- evennia/web/webclient/static/webclient/css/webclient.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/evennia/web/webclient/static/webclient/css/webclient.css b/evennia/web/webclient/static/webclient/css/webclient.css index d0211b0d11..47d54ca4d5 100644 --- a/evennia/web/webclient/static/webclient/css/webclient.css +++ b/evennia/web/webclient/static/webclient/css/webclient.css @@ -21,8 +21,9 @@ body { } -a:link, a:visited { color: #fff } -a:hover, a:active { color: #ccc } +a:link, a:visited { color: inherit } +a:hover, a:active { color: inherit; + font-weight: bold;} /* Set this to e.g. bolder if wanting to have ansi-highlights bolden * stand-alone text.*/