Template:BossSplash/style.css: Difference between revisions

From Blue Archive Wiki
Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 6: Line 6:


.boss-splash > .background img,
.boss-splash > .background img,
.boss-splash > .image img {
.boss-splash > img {
width: 100%;
width: 100%;
height: auto;
height: auto;
}

.boss-splash > img {
position: relative;
z-index: 2;
}
}


Line 18: Line 23:
left:0;
left:0;
right: 0;
right: 0;
margin: -4px 0px 0 -6px;

}
}


.boss-splash > .image {
.boss-splash > .background img {
z-index: 2;
object-fit: cover;
position: relative;

}
}


Line 30: Line 33:
z-index: 3;
z-index: 3;
position: absolute;
position: absolute;
bottom:0.1em;
bottom:0.2em;
left:1em;
left:1em;
color:#fff;
color:#fff;
font-size:24px;
font-size:32px;
font-weight: 400;
font-weight: 400;
text-shadow: 0 0 2px black;
text-shadow: 0 0 2px black;

Revision as of 10:00, 25 January 2023

.boss-splash {
    width: 100%;
    margin: 0;
    position: relative;
}

.boss-splash > .background img,
.boss-splash > img {
    width: 100%;
    height: auto;
}

.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;
}