Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSakthipriyan Vairamani <thechargingvolcano@gmail.com>2015-08-22 11:10:55 +0300
committerSakthipriyan Vairamani <thechargingvolcano@gmail.com>2015-08-22 21:45:18 +0300
commit31188b796ed56be22d9bc725422b5ef1386241b9 (patch)
treeb60d24d02213b638721221eda2ce5506af1b9aeb /doc/api_assets
parentccc790b6286c3a7655fb278e370eacb3ec098c4a (diff)
tools: fix anchors in generated documents
When an anchor tag is used within a pre tag, the link is not distinguishable. This patch makes sure that the links are highlighted by underlining them. PR-URL: https://github.com/nodejs/node/pull/2491 Reviewed-By: Roman Reiss <me@silverwind.io>
Diffstat (limited to 'doc/api_assets')
-rw-r--r--doc/api_assets/style.css9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/api_assets/style.css b/doc/api_assets/style.css
index 709a835f814..d40253e5ae1 100644
--- a/doc/api_assets/style.css
+++ b/doc/api_assets/style.css
@@ -79,6 +79,15 @@ code a:hover {
color: white !important;
}
+.api_stability_0 a,
+.api_stability_1 a,
+.api_stability_2 a,
+.api_stability_3 a,
+.api_stability_4 a,
+.api_stability_5 a {
+ text-decoration: underline;
+}
+
.api_stability_0 {
background-color: #D60027;
}