opacity: 30%;
}
- p > code {
+ :not(pre) > code {
color: var(--inline-code-color);
background-color: var(--inline-code-bg);
}
$scope.bySearch = function (lint, index, array) {
let searchStr = $scope.search;
- // It can be `null` I haven't missed this value
+ // It can be `null` I haven't missed this value
if (searchStr == null || searchStr.length < 3) {
return true;
}
}
// Search the description
- // The use of `for`-loops instead of `foreach` enables us to return early
+ // The use of `for`-loops instead of `foreach` enables us to return early
let terms = searchStr.split(" ");
for (index = 0; index < terms.length; index++) {
if (lint.id.indexOf(terms[index]) !== -1) {
let children = themeMenu.children;
for (let index = 0; index < children.length; index++) {
- let child = children[index];
+ let child = children[index];
child.addEventListener("click", function(e) {
setTheme(child.id, true);
});
let enableHighlight = false;
let enableNight = false;
let enableAyu = false;
-
+
if (theme == "ayu") {
enableAyu = true;
} else if (theme == "coal" || theme == "navy") {