mirror of
https://github.com/ViViDboarder/Vivid-Casper.git
synced 2024-12-22 19:47:38 +00:00
Remove overlays from cover image, these only worked when CSS bg image, not img tag
This commit is contained in:
parent
2231274b07
commit
0584a58c6c
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -102,31 +102,6 @@ production stylesheet in assets/built/screen.css
|
|||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
}
|
}
|
||||||
|
|
||||||
.site-header-cover:before {
|
|
||||||
content: "";
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
right: 0;
|
|
||||||
bottom: 0;
|
|
||||||
left: 0;
|
|
||||||
z-index: 10;
|
|
||||||
display: block;
|
|
||||||
background: rgba(0,0,0,0.18);
|
|
||||||
}
|
|
||||||
|
|
||||||
.site-header-cover:after {
|
|
||||||
content: "";
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
right: 0;
|
|
||||||
bottom: auto;
|
|
||||||
left: 0;
|
|
||||||
z-index: 10;
|
|
||||||
display: block;
|
|
||||||
height: 140px;
|
|
||||||
background: linear-gradient(rgba(0,0,0,0.95),rgba(0,0,0,0));
|
|
||||||
}
|
|
||||||
|
|
||||||
.site-header-content {
|
.site-header-content {
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
|
Loading…
Reference in New Issue
Block a user