Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3929516

Browse filesBrowse files
vsemozhetbyttargos
authored andcommitted
doc: fix nits in doc/api_assets/style.css
1. Merge rule sets for identical selectors. 2. Delete impossible selector block: we have only stability indexes 0, 1, and 2, so there can't be `.api_stability_3` class. Refs: nodejs.org/api/documentation.html#documentation_stability_index PR-URL: #20601 Refs: https://nodejs.org/api/documentation.html#documentation_stability_index Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
1 parent db457cb commit 3929516
Copy full SHA for 3929516

File tree

Expand file treeCollapse file tree

1 file changed

+5
-18
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-18
lines changed
Open diff view settings
Collapse file

‎doc/api_assets/style.css‎

Copy file name to clipboardExpand all lines: doc/api_assets/style.css
+5-18Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ h6 { font-size: 1rem }
2929

3030
h1, h2, h3, h4, h5, h6 {
3131
margin: 1.5rem 0 1rem;
32+
text-rendering: optimizeLegibility;
33+
font-weight: 700;
34+
position: relative;
3235
}
3336

3437
pre, tt, code, .pre, span.type, a.type {
@@ -183,10 +186,6 @@ ol.version-picker li:last-child a {
183186
background-color: #4EBA0F;
184187
}
185188

186-
.api_stability_3 {
187-
background-color: #0084B6;
188-
}
189-
190189
.api_metadata {
191190
font-size: .85rem;
192191
margin-bottom: 1rem;
@@ -226,6 +225,8 @@ table {
226225

227226
th, td {
228227
border: 1px solid #aaa;
228+
padding: .75rem 1rem .75rem 1rem;
229+
vertical-align: top;
229230
}
230231

231232
th {
@@ -259,12 +260,6 @@ dd + dt.pre {
259260
margin-top: 1.6rem;
260261
}
261262

262-
h1, h2, h3, h4, h5, h6 {
263-
text-rendering: optimizeLegibility;
264-
font-weight: 700;
265-
position: relative;
266-
}
267-
268263
#apicontent {
269264
padding-top: 1rem;
270265
}
@@ -373,9 +368,6 @@ hr {
373368
#toc .stability_0::after {
374369
background-color: #d50027;
375370
color: #fff;
376-
}
377-
378-
#toc .stability_0::after {
379371
content: "deprecated";
380372
margin-left: .25rem;
381373
padding: 1px 3px;
@@ -493,11 +485,6 @@ span > .mark:hover, span > .mark:focus, span > .mark:active {
493485
background: none;
494486
}
495487

496-
th, td {
497-
padding: .75rem 1rem .75rem 1rem;
498-
vertical-align: top;
499-
}
500-
501488
th > *:last-child, td > *:last-child {
502489
margin-bottom: 0;
503490
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.