From 19f6edba84bdebc4b008293c8005be7886dcad9b Mon Sep 17 00:00:00 2001 From: Lucas Amberg <102396588+lucas-amberg@users.noreply.github.com> Date: Mon, 8 Jan 2024 10:49:40 -0800 Subject: [PATCH 1/7] Add underlines on all links other than menu, table of contents --- packages/website/src/css/custom.css | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/packages/website/src/css/custom.css b/packages/website/src/css/custom.css index 8cfb3dc2c0f7..762e3d7e7e43 100644 --- a/packages/website/src/css/custom.css +++ b/packages/website/src/css/custom.css @@ -191,3 +191,17 @@ h6 { [data-theme='dark'] .code-block-added-line { background-color: #00ff9510; } + +a { + text-decoration: underline; +} + +/*Removes underlines from table of contents, menu (left hand sidebar), +edit this page button, and footer links (github, twitter, etc) respectfully*/ +a.table-of-contents__link, +a.pagination-nav__link, +a.menu__link, +a.theme-edit-this-page, +footer * { + text-decoration: none; +} From 70f9fa400c04cfb054bf8a550a04f2caffd09679 Mon Sep 17 00:00:00 2001 From: Lucas Amberg <102396588+lucas-amberg@users.noreply.github.com> Date: Mon, 8 Jan 2024 10:56:11 -0800 Subject: [PATCH 2/7] Fix comment in css Include next page in comment as I forgot to include it beforehand --- packages/website/src/css/custom.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/website/src/css/custom.css b/packages/website/src/css/custom.css index 762e3d7e7e43..3090d4af6f85 100644 --- a/packages/website/src/css/custom.css +++ b/packages/website/src/css/custom.css @@ -196,8 +196,9 @@ a { text-decoration: underline; } -/*Removes underlines from table of contents, menu (left hand sidebar), -edit this page button, and footer links (github, twitter, etc) respectfully*/ +/*Removes underlines from table of contents, next page button, +menu (left hand sidebar), edit this page button, +and footer links (github, twitter, etc) respectfully*/ a.table-of-contents__link, a.pagination-nav__link, a.menu__link, From 62c3dca8b70a6a3194d05eb47aa5aba5def962a5 Mon Sep 17 00:00:00 2001 From: Lucas Amberg <102396588+lucas-amberg@users.noreply.github.com> Date: Mon, 8 Jan 2024 11:07:31 -0800 Subject: [PATCH 3/7] Add comment whitespace --- packages/website/src/css/custom.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/website/src/css/custom.css b/packages/website/src/css/custom.css index 3090d4af6f85..03fda74f1809 100644 --- a/packages/website/src/css/custom.css +++ b/packages/website/src/css/custom.css @@ -196,9 +196,9 @@ a { text-decoration: underline; } -/*Removes underlines from table of contents, next page button, +/* Removes underlines from table of contents, next page button, menu (left hand sidebar), edit this page button, -and footer links (github, twitter, etc) respectfully*/ +and footer links (github, twitter, etc) respectfully */ a.table-of-contents__link, a.pagination-nav__link, a.menu__link, From 162f17d080ff7c51fd5850dba3753b7b0694da08 Mon Sep 17 00:00:00 2001 From: Lucas Amberg <102396588+lucas-amberg@users.noreply.github.com> Date: Mon, 8 Jan 2024 11:11:13 -0800 Subject: [PATCH 4/7] Remove underlines from navbar, buttons --- packages/website/src/css/custom.css | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/website/src/css/custom.css b/packages/website/src/css/custom.css index 03fda74f1809..a8bc83d61281 100644 --- a/packages/website/src/css/custom.css +++ b/packages/website/src/css/custom.css @@ -198,11 +198,15 @@ a { /* Removes underlines from table of contents, next page button, menu (left hand sidebar), edit this page button, -and footer links (github, twitter, etc) respectfully */ +and footer links (github, twitter, etc), buttons, +navbar links, and the navbar title respectfully */ a.table-of-contents__link, a.pagination-nav__link, a.menu__link, a.theme-edit-this-page, -footer * { +footer *, +.button, +.navbar__link, +.navbar__title { text-decoration: none; } From af3ba81ee2002e6daec653945f847d159abeb3bd Mon Sep 17 00:00:00 2001 From: Lucas Amberg <102396588+lucas-amberg@users.noreply.github.com> Date: Mon, 8 Jan 2024 11:23:32 -0800 Subject: [PATCH 5/7] Fix CSS in blog page causing headers, sidebar links to be underlined --- packages/website/src/css/custom.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/website/src/css/custom.css b/packages/website/src/css/custom.css index a8bc83d61281..a1bb7b318b26 100644 --- a/packages/website/src/css/custom.css +++ b/packages/website/src/css/custom.css @@ -199,7 +199,8 @@ a { /* Removes underlines from table of contents, next page button, menu (left hand sidebar), edit this page button, and footer links (github, twitter, etc), buttons, -navbar links, and the navbar title respectfully */ +navbar links, the navbar title, blog sidebar, and blog post headers +respectfully */ a.table-of-contents__link, a.pagination-nav__link, a.menu__link, @@ -207,6 +208,8 @@ a.theme-edit-this-page, footer *, .button, .navbar__link, -.navbar__title { +.navbar__brand, +aside *, +header * { text-decoration: none; } From b09b55507dae033104cb21bfac97f272ddae367e Mon Sep 17 00:00:00 2001 From: Lucas Amberg <102396588+lucas-amberg@users.noreply.github.com> Date: Mon, 8 Jan 2024 11:44:33 -0800 Subject: [PATCH 6/7] Alter CSS to change only anchor elements inside .markdown class --- packages/website/src/css/custom.css | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/packages/website/src/css/custom.css b/packages/website/src/css/custom.css index a1bb7b318b26..7e1e417c8692 100644 --- a/packages/website/src/css/custom.css +++ b/packages/website/src/css/custom.css @@ -192,24 +192,6 @@ h6 { background-color: #00ff9510; } -a { +.markdown a { text-decoration: underline; } - -/* Removes underlines from table of contents, next page button, -menu (left hand sidebar), edit this page button, -and footer links (github, twitter, etc), buttons, -navbar links, the navbar title, blog sidebar, and blog post headers -respectfully */ -a.table-of-contents__link, -a.pagination-nav__link, -a.menu__link, -a.theme-edit-this-page, -footer *, -.button, -.navbar__link, -.navbar__brand, -aside *, -header * { - text-decoration: none; -} From bf340e763530092ed8d657a3aad88d513931da02 Mon Sep 17 00:00:00 2001 From: Lucas Amberg <102396588+lucas-amberg@users.noreply.github.com> Date: Mon, 8 Jan 2024 15:14:16 -0800 Subject: [PATCH 7/7] Update styles to change color contrast in syntax highlighting --- packages/website/src/css/prism.css | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/website/src/css/prism.css b/packages/website/src/css/prism.css index d5a7c9f6b99d..392cf22277bf 100644 --- a/packages/website/src/css/prism.css +++ b/packages/website/src/css/prism.css @@ -6,16 +6,16 @@ --token-color-doctype: #008000; --token-color-string: #a31515; --token-color-operator: #393a34; - --token-color-symbol: #36acaa; + --token-color-symbol: #277c7b; --token-color-number: #098658; --token-color-keyword: #00f; - --token-color-function: #569cd6; + --token-color-function: #2b74b1; --token-color-function-variable: #000; --token-color-important: #e90; - --token-color-class-name: #2b91af; + --token-color-class-name: #237690; --token-color-selector: #800000; --token-color-regexp: #800000; - --token-color-property: #d00; + --token-color-property: #c70000; --token-color-builtin: #00f; --token-color-boolean: #00f; --token-color-inserted: #247e81; @@ -28,9 +28,9 @@ html[data-theme='dark'] { --token-color: #f8f8f2; --token-background: var(--ifm-background-surface-color); --token-border: #414458; - --token-color-comment: #737373; + --token-color-comment: #9e9e9e; --token-color-doctype: #6a9955; - --token-color-string: #6a9955; + --token-color-string: #78a861; --token-color-operator: #d4d4d4; --token-color-symbol: #b5cea8; --token-color-number: #b5cea8;