The nodejs darkmode theme does not 100%. This fixes it.
nodejs.org fix code background by xav-ie
Details
Authorxav-ie
LicenseNo License
Categorynodejs
Created
Updated
Size791 B
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Userstyle doesn't have notes.Source code
/* ==UserStyle==
@name nodejs.org fix code backgruond
@namespace github.com/openstyles/stylus
@version 1.0.0
@description A new userstyle
@author Me
==/UserStyle== */
@-moz-document url-prefix("https://nodejs.org") {
/* Fix code backgrounds */
pre code,
.dark-mode pre code {
background-color: unset;
}
/*Fix TOC spacing*/
#toc ul li {
margin-bottom: 0rem;
}
#toc li > ul {
margin-top: 0rem;
}
/*Fix main content having too much space*/
#column1.interior {
padding: 0 1rem;
}
/*Fix navigation layout shift*/
#column2 ul li a.active, #column2 ul li a.active:hover, #column2 ul li a.active:focus {
font-weight: normal;
}
}