From 6ec6b39530f49523406a09c41598d2513aef5088 Mon Sep 17 00:00:00 2001 From: Kasen IO Date: Fri, 24 Jan 2020 10:14:55 -0500 Subject: [PATCH 1/2] code comments brighter, code blocks now have padding for readability. --- tools/jsdoc/hifi-jsdoc-template/static/styles/night.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/jsdoc/hifi-jsdoc-template/static/styles/night.css b/tools/jsdoc/hifi-jsdoc-template/static/styles/night.css index ab73c7b3c0..1e9eabf9ed 100644 --- a/tools/jsdoc/hifi-jsdoc-template/static/styles/night.css +++ b/tools/jsdoc/hifi-jsdoc-template/static/styles/night.css @@ -16,6 +16,7 @@ section { code { background-color: #0a121b !important; + padding: 3px; } /* Prettify */ @@ -40,6 +41,10 @@ code { color: #f08d49 !important; } +.com { + color: #9d9d9d !important; +} + /* JSDoc */ thead { From b10ffc667f795f4c3a8dc3f2b22b00fd0e04e76a Mon Sep 17 00:00:00 2001 From: Kasen IO Date: Fri, 24 Jan 2020 10:42:46 -0500 Subject: [PATCH 2/2] remove non codeblock bg for code, add weight to all for visibility. --- .../static/styles/night.css | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/tools/jsdoc/hifi-jsdoc-template/static/styles/night.css b/tools/jsdoc/hifi-jsdoc-template/static/styles/night.css index 1e9eabf9ed..98bf8bee8c 100644 --- a/tools/jsdoc/hifi-jsdoc-template/static/styles/night.css +++ b/tools/jsdoc/hifi-jsdoc-template/static/styles/night.css @@ -14,11 +14,6 @@ section { background-color: #061F2F; } -code { - background-color: #0a121b !important; - padding: 3px; -} - /* Prettify */ .typ { @@ -45,6 +40,14 @@ code { color: #9d9d9d !important; } +.prettyprint code { + background-color: #0a121b; +} + +tr td a code { + font-weight: bold; +} + /* JSDoc */ thead { @@ -61,6 +64,11 @@ table tr:nth-child(2n) { .name code { color: #e8a0e8 !important; + font-weight: bold; +} + +.signature { + font-weight: bold; } #main a, #main a:visited, #main a:active, #main a:hover {