From 08ab9f35da69472eb8c59329c5e2a8f28a630c18 Mon Sep 17 00:00:00 2001 From: phijohns Date: Wed, 28 Oct 2015 20:59:02 +0100 Subject: [PATCH] doc: made code spans more visible in the API docs This makes the code spans in the API docs more visible and therefore readable by adding some background color. PR-URL: https://github.com/nodejs/node/pull/3573 Reviewed-By: Evan Lucas Reviewed-By: James M Snell Reviewed-By: Roman Reiss --- doc/api_assets/style.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/api_assets/style.css b/doc/api_assets/style.css index d40253e5ae1d4a..3be4c88f960d86 100644 --- a/doc/api_assets/style.css +++ b/doc/api_assets/style.css @@ -339,6 +339,8 @@ p code, li code { font-size: 0.9em; color: #040404; + background-color: #f2f5f0; + padding: 0.2em 0.4em; } span.type {