Fix CSS specificity issues

This commit is contained in:
saltycrys 2020-11-18 00:10:32 +01:00
parent ff46c18164
commit 5f932e9749

View File

@ -20,7 +20,7 @@ body {
height: auto; height: auto;
} }
.channel-owner { body a.channel-owner {
background-color: #008bec; background-color: #008bec;
color: #fff; color: #fff;
border-radius: 9px; border-radius: 9px;
@ -101,15 +101,19 @@ div {
padding-right: 10px; padding-right: 10px;
} }
body a.pure-button {
color: rgba(0,0,0,.8);
}
button.pure-button-primary, button.pure-button-primary,
a.pure-button-primary, body a.pure-button-primary,
.channel-owner:hover { .channel-owner:hover {
background-color: #a0a0a0; background-color: #a0a0a0;
color: rgba(35, 35, 35, 1); color: rgba(35, 35, 35, 1);
} }
button.pure-button-primary:hover, button.pure-button-primary:hover,
a.pure-button-primary:hover { body a.pure-button-primary:hover {
background-color: rgba(0, 182, 240, 1); background-color: rgba(0, 182, 240, 1);
color: #fff; color: #fff;
} }
@ -282,7 +286,7 @@ input[type="search"]::-webkit-search-cancel-button {
text-align: center; text-align: center;
} }
.footer a { body .footer a {
color: inherit; color: inherit;
text-decoration: underline; text-decoration: underline;
} }
@ -507,6 +511,10 @@ video.video-js {
color: #303030; color: #303030;
} }
.light-theme .pure-menu-heading {
color: #565d64;
}
@media (prefers-color-scheme: light) { @media (prefers-color-scheme: light) {
.no-theme a:hover, .no-theme a:hover,
.no-theme a:active { .no-theme a:active {
@ -524,6 +532,10 @@ video.video-js {
.no-theme .playlist-restricted > ol > li > a { .no-theme .playlist-restricted > ol > li > a {
color: #303030; color: #303030;
} }
.light-theme .pure-menu-heading {
color: #565d64;
}
} }
/* /*