aboutsummaryrefslogtreecommitdiff
path: root/book/theme
diff options
context:
space:
mode:
authorchunghha2022-04-27 19:21:20 +0000
committerGitHub2022-04-27 19:21:20 +0000
commit3a398eec56c907f9d0f166e77242eb13ded229bc (patch)
tree4411668f181c0a1ae31b6599a50c196bccd709e6 /book/theme
parent2e46961886cb40b45a03a91c59823b0e437a9867 (diff)
fix typos (#2304)
Diffstat (limited to 'book/theme')
-rw-r--r--book/theme/book.js6
-rw-r--r--book/theme/css/chrome.css2
-rw-r--r--book/theme/css/variables.css16
3 files changed, 12 insertions, 12 deletions
diff --git a/book/theme/book.js b/book/theme/book.js
index 5e386369..40736183 100644
--- a/book/theme/book.js
+++ b/book/theme/book.js
@@ -601,10 +601,10 @@ function playground_text(playground) {
});
})();
-(function controllMenu() {
+(function controlMenu() {
var menu = document.getElementById('menu-bar');
- (function controllPosition() {
+ (function controlPosition() {
var scrollTop = document.scrollingElement.scrollTop;
var prevScrollTop = scrollTop;
var minMenuY = -menu.clientHeight - 50;
@@ -647,7 +647,7 @@ function playground_text(playground) {
prevScrollTop = scrollTop;
}, { passive: true });
})();
- (function controllBorder() {
+ (function controlBorder() {
menu.classList.remove('bordered');
document.addEventListener('scroll', function () {
if (menu.offsetTop === 0) {
diff --git a/book/theme/css/chrome.css b/book/theme/css/chrome.css
index aba8a417..4e051317 100644
--- a/book/theme/css/chrome.css
+++ b/book/theme/css/chrome.css
@@ -390,7 +390,7 @@ ul#searchresults span.teaser em {
.chapter li {
display: flex;
- color: var(--sidebar-non-existant);
+ color: var(--sidebar-non-existent);
}
.chapter li a {
display: block;
diff --git a/book/theme/css/variables.css b/book/theme/css/variables.css
index b62c7558..1bf91b19 100644
--- a/book/theme/css/variables.css
+++ b/book/theme/css/variables.css
@@ -16,7 +16,7 @@
--sidebar-bg: #14191f;
--sidebar-fg: #c8c9db;
- --sidebar-non-existant: #5c6773;
+ --sidebar-non-existent: #5c6773;
--sidebar-active: #ffb454;
--sidebar-spacer: #2d334f;
@@ -56,7 +56,7 @@
--sidebar-bg: #292c2f;
--sidebar-fg: #a1adb8;
- --sidebar-non-existant: #505254;
+ --sidebar-non-existent: #505254;
--sidebar-active: #3473ad;
--sidebar-spacer: #393939;
@@ -96,7 +96,7 @@
--sidebar-bg: #fafafa;
--sidebar-fg: hsl(0, 0%, 0%);
- --sidebar-non-existant: #aaaaaa;
+ --sidebar-non-existent: #aaaaaa;
--sidebar-active: #1f1fff;
--sidebar-spacer: #f4f4f4;
@@ -136,7 +136,7 @@
--sidebar-bg: #282d3f;
--sidebar-fg: #c8c9db;
- --sidebar-non-existant: #505274;
+ --sidebar-non-existent: #505274;
--sidebar-active: #2b79a2;
--sidebar-spacer: #2d334f;
@@ -176,7 +176,7 @@
--sidebar-bg: #3b2e2a;
--sidebar-fg: #c8c9db;
- --sidebar-non-existant: #505254;
+ --sidebar-non-existent: #505254;
--sidebar-active: #e69f67;
--sidebar-spacer: #45373a;
@@ -217,7 +217,7 @@
--sidebar-bg: #292c2f;
--sidebar-fg: #a1adb8;
- --sidebar-non-existant: #505254;
+ --sidebar-non-existent: #505254;
--sidebar-active: #3473ad;
--sidebar-spacer: #393939;
@@ -259,7 +259,7 @@
--sidebar-bg: #281733;
--sidebar-fg: #c8c9db;
- --sidebar-non-existant: #505274;
+ --sidebar-non-existent: #505274;
--sidebar-active: #a4a0e8;
--sidebar-spacer: #2d334f;
@@ -304,7 +304,7 @@
--sidebar-bg: #281733;
--sidebar-fg: #c8c9db;
- --sidebar-non-existant: #505274;
+ --sidebar-non-existent: #505274;
--sidebar-active: #a4a0e8;
--sidebar-spacer: #2d334f;