From 7ae3dfb1536bba480feb28e03d50910d7b23102c Mon Sep 17 00:00:00 2001 From: silverwind Date: Thu, 3 Mar 2016 18:50:30 +0100 Subject: [PATCH] doc: update link green to match homepage Also fixed a minor color issue with :focus on the title. PR-URL: https://github.com/nodejs/node/pull/5548 Reviewed-By: Sakthipriyan Vairamani --- doc/api_assets/style.css | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/doc/api_assets/style.css b/doc/api_assets/style.css index b450b45c465f5d..47f3392395932f 100644 --- a/doc/api_assets/style.css +++ b/doc/api_assets/style.css @@ -33,7 +33,7 @@ pre, tt, code, .pre, span.type, a.type { } a, a:link, a:active { - color: #80bd01; + color: #43853d; text-decoration: none; border-radius: 2px; padding: .1em .2em; @@ -42,7 +42,7 @@ a, a:link, a:active { a:hover, a:focus { color: #fff; - background-color: #80bd01; + background-color: #43853d; outline: none; } @@ -413,13 +413,14 @@ a code { #column2 ul li a.active, #column2 ul li a.active:hover, #column2 ul li a.active:focus { - color: #80bd01; + color: #43853d; border-radius: 0; - border-bottom: 1px solid #80bd01; + border-bottom: 1px solid #43853d; background: none; } -#intro a:hover, #column2 ul li a:hover, #column2 ul li a:focus { +#intro a:hover, #intro a:focus, +#column2 ul li a:hover, #column2 ul li a:focus { color: #fff; background: none; } @@ -433,7 +434,7 @@ span > .mark, span > .mark:visited { } span > .mark:hover, span > .mark:focus, span > .mark:active { - color: #80bd01; + color: #43853d; background: none; }