Fix: Addon.org - Unreadable text on developer hub backported #366

This commit is contained in:
alstjr7375 2022-04-25 02:05:05 +09:00
parent 7e90a27aae
commit 93b9062ae6
2 changed files with 41 additions and 13 deletions

View file

@ -786,7 +786,7 @@
/* Basic */
.Page-content,
.SecondaryHero,
body,
body:not(.developer-hub):not(.statistics),
main[aria-label="Content"] {
color: var(--in-content-page-color) !important;
background: var(--in-content-page-background) !important;
@ -1012,20 +1012,34 @@
}
/* /developers/ */
.DevHub-Navigation {
.DevHub-Navigation,
.DevHub-submit-addon,
.DevHub-get-involved,
.DevHub-MyAddons > * {
background: var(--in-content-page-background) !important;
}
.DevHub-Navigation.scheme-light ul li a,
.DevHub-content-copy h2,
.content p {
color: var(--in-content-page-color) !important;
}
.DevHub-Footer,
.DevHub-callout-box {
background: var(--in-content-box-background) !important;
color: var(--in-content-page-color) !important;
}
.DevHub-Navigation.scheme-light ul li a,
.DevHub-Footer-sections-header,
.DevHub-Footer-section h4,
.DevHub-Footer-section p,
.DevHub-content-copy h2 {
color: var(--in-content-page-color) !important;
}
.DevHub-Banner a,
.DevHub-Footer a,
.DevHub-MyAddons-list a,
.DevHub-MyAddons-item-buttons-all {
color: var(--in-content-link-color) !important;
}
}
/*= Support.org ============================================================*/
@-moz-document url-prefix("https://support.mozilla.org")

View file

@ -4,7 +4,7 @@
/* Basic */
.Page-content,
.SecondaryHero,
body,
body:not(.developer-hub):not(.statistics),
main[aria-label="Content"] {
color: var(--in-content-page-color) !important;
background: var(--in-content-page-background) !important;
@ -213,16 +213,30 @@
}
/* /developers/ */
.DevHub-Navigation {
.DevHub-Navigation,
.DevHub-submit-addon,
.DevHub-get-involved,
.DevHub-MyAddons > * {
background: var(--in-content-page-background) !important;
}
.DevHub-Navigation.scheme-light ul li a,
.DevHub-content-copy h2,
.content p {
color: var(--in-content-page-color) !important;
}
.DevHub-Footer,
.DevHub-callout-box {
background: var(--in-content-box-background) !important;
color: var(--in-content-page-color) !important;
}
.DevHub-Navigation.scheme-light ul li a,
.DevHub-Footer-sections-header,
.DevHub-Footer-section h4,
.DevHub-Footer-section p,
.DevHub-content-copy h2 {
color: var(--in-content-page-color) !important;
}
.DevHub-Banner a,
.DevHub-Footer a,
.DevHub-MyAddons-list a,
.DevHub-MyAddons-item-buttons-all {
color: var(--in-content-link-color) !important;
}
}