From d978bb56dd103c8f8e1d881d20755acf281f91c0 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Wed, 22 Jan 2020 14:53:37 +0200 Subject: [PATCH] doc: remove redundant properties from headers PR-URL: https://github.com/nodejs/node/pull/31492 Reviewed-By: Rich Trott Reviewed-By: Anna Henningsen --- doc/api_assets/style.css | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/doc/api_assets/style.css b/doc/api_assets/style.css index 1310d64eb1b730..9b6be151420d6c 100644 --- a/doc/api_assets/style.css +++ b/doc/api_assets/style.css @@ -27,14 +27,12 @@ h4, h4 code { font-size: 1.5rem; } h5, h5 code { font-size: 1.25rem; } h6, h6 code { font-size: 1rem; } -h1, h1 code, -h2, h2 code, -h3, h3 code, -h4, h4 code, -h5, h5 code, -h6, h6 code { - color: inherit; - font-family: inherit; +h1, +h2, +h3, +h4, +h5, +h6 { font-weight: 700; line-height: inherit; position: relative; @@ -42,6 +40,16 @@ h6, h6 code { text-rendering: optimizeLegibility; } +h1 code, +h2 code, +h3 code, +h4 code, +h5 code, +h6 code { + color: inherit; + font-family: inherit; +} + pre, tt, code,