Use background color alpha instead of opacity

This commit is contained in:
Empathic Qubit 2021-05-17 12:55:26 -04:00
parent 2fd1e2de40
commit a42634c12d

View file

@ -53,7 +53,6 @@ h1 {
margin: .3vw; margin: .3vw;
border: .15em solid black; border: .15em solid black;
border-radius: .25em; border-radius: .25em;
opacity: 0.8;
overflow: hidden; overflow: hidden;
display: block; display: block;
} }
@ -73,7 +72,7 @@ h1 {
} }
.favorites__left button { .favorites__left button {
background-color: #800; background-color: rgba(136, 0, 0, 0.8);
} }
.favorites button:hover { .favorites button:hover {
@ -87,7 +86,7 @@ h1 {
} }
.favorites__right button { .favorites__right button {
background-color: #008; background-color: rgba(0, 0, 136, 0.8);
} }
.favorites__right button:hover { .favorites__right button:hover {