Template:BossSplash/style.css: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
No edit summary |
No edit summary Tags: Mobile edit Mobile web edit |
||
Line 8: | Line 8: | ||
.boss-splash > .background img, |
.boss-splash > .background img, |
||
.boss-splash > img { |
.boss-splash > img { |
||
width: 100%; |
width: 100%!important; |
||
height: auto; |
height: auto!important; |
||
} |
} |
||
Revision as of 10:07, 25 January 2023
.boss-splash {
width: 100%;
margin: 0;
position: relative;
overflow: hidden;
}
.boss-splash > .background img,
.boss-splash > img {
width: 100%!important;
height: auto!important;
}
.boss-splash > img {
position: relative;
z-index: 2;
}
.boss-splash > .background {
z-index: 1;
position: absolute;
top:0;
bottom: 0;
left:0;
right: 0;
margin: -4px 0px 0 -6px;
}
.boss-splash > .background img {
object-fit: cover;
}
.boss-splash > .title {
z-index: 3;
position: absolute;
bottom:0.2em;
left:1em;
color:#fff;
font-size:32px;
font-weight: 400;
text-shadow: 0 0 2px black;
}