Add consistent text shadow to allow increase background brighness

This commit is contained in:
Dale Davies
2022-02-14 22:31:12 +00:00
parent 2642a4d42a
commit 217251eb47

View File

@@ -31,7 +31,7 @@ body {
}
.background {
filter: brightness(0.75) blur(10px);
filter: brightness(0.8) blur(10px);
background-repeat: no-repeat;
background-size: cover;
background-position: center center;
@@ -54,22 +54,25 @@ body {
font-size: 2.3em;
font-weight: 400;
text-transform: capitalize;
text-shadow: 1px 1px 2px #00000070;
margin-bottom: 15px;
}
.time-weather {
font-family: 'Quicksand', sans-serif;
font-weight: 400;
color: inherit;
text-decoration: none;
text-shadow: 1px 1px 2px #00000070;
user-select: none;
display: block;
position: absolute;
z-index: 100;
right: 15px;
bottom: 10px;
color: inherit;
text-decoration: none;
padding:5px 10px;
z-index: 100;
border-radius: 6px;
}
.time-weather:hover {
background-color: #ffffff15;