diff options
author | XhmikosR <xhmikosr@gmail.com> | 2020-01-22 14:53:37 +0200 |
---|---|---|
committer | Shelley Vohr <shelley.vohr@gmail.com> | 2020-02-17 11:37:36 -0800 |
commit | a52df55b9a733ea264195e9f13d1d5aad0341c9e (patch) | |
tree | 53542b9f528ff22f52d0715b2d08a2d0d9cdaa13 /doc/api_assets | |
parent | 04d783ae7103543ecbb63d6d0c056daa4bb3a45c (diff) | |
download | node-new-a52df55b9a733ea264195e9f13d1d5aad0341c9e.tar.gz |
doc: remove redundant properties from headers
PR-URL: https://github.com/nodejs/node/pull/31492
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'doc/api_assets')
-rw-r--r-- | doc/api_assets/style.css | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/doc/api_assets/style.css b/doc/api_assets/style.css index 1310d64eb1..9b6be15142 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, |