Template:BossSplash/style.css: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(Created page with ".boss-splash { width: 100%; margin: 0; position: relative; } .boss-splash > .background { z-index: 1; position: absolute; top:0; bottom: 0; left:0; right: 0; } .boss-splash > .image { z-index: 2; position: relative; } .boss-splash > .title { z-index: 3; position: absolute; bottom:0.1em; left:1em; color:#fff; font-size:24px; font-weight: 400; text-shadow: 0 0 2px black; }") |
No edit summary |
||
Line 3: | Line 3: | ||
margin: 0; |
margin: 0; |
||
position: relative; |
position: relative; |
||
} |
|||
.boss-splash > .background img, |
|||
.boss-splash > .image img { |
|||
width: 100%; |
|||
height: auto; |
|||
} |
} |
||
Revision as of 09:38, 25 January 2023
.boss-splash {
width: 100%;
margin: 0;
position: relative;
}
.boss-splash > .background img,
.boss-splash > .image img {
width: 100%;
height: auto;
}
.boss-splash > .background {
z-index: 1;
position: absolute;
top:0;
bottom: 0;
left:0;
right: 0;
}
.boss-splash > .image {
z-index: 2;
position: relative;
}
.boss-splash > .title {
z-index: 3;
position: absolute;
bottom:0.1em;
left:1em;
color:#fff;
font-size:24px;
font-weight: 400;
text-shadow: 0 0 2px black;
}