Skip to content

Commit

Permalink
doc: made code spans more visible in the API docs
Browse files Browse the repository at this point in the history
This makes the code spans in the API docs more visible and
therefore readable by adding some background color.

PR-URL: nodejs#3573
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
  • Loading branch information
phillipj authored and silverwind committed Oct 29, 2015
1 parent 837b174 commit d995b72
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/api_assets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,8 @@ p code,
li code {
font-size: 0.9em;
color: #040404;
background-color: #f2f5f0;
padding: 0.2em 0.4em;
}

span.type {
Expand Down

0 comments on commit d995b72

Please sign in to comment.