Difference between revisions of "Template:Portal image banner/styles.css"

From blackwiki
Jump to navigation Jump to search
test>FR30799386
(More code deployment...will not affect normal functioning)
test>FR30799386
Line 4: Line 4:
 
     height:auto;
 
     height:auto;
 
}
 
}
.portal-banner-image .mw-gallery-slideshow-buttons{
+
.portal-banner-image-slideshow .mw-gallery-slideshow-img-container img{
 +
display: block;
 +
    width:100%;
 +
    height:auto;
 +
}
 +
.portal-banner-image-slideshow .mw-gallery-slideshow-buttons{
 
top:0;
 
top:0;
 
bottom:0;
 
bottom:0;
Line 12: Line 17:
 
width:100%;
 
width:100%;
 
z-index:1000;
 
z-index:1000;
 +
margin:0 !important;
 
}
 
}
.portal-banner-image .mw-gallery-slideshow-buttons div{
+
.portal-banner-image-slideshow .mw-gallery-slideshow-buttons div{
width:100%;
 
}
 
.portal-banner-image .mw-gallery-slideshow-buttons div{
 
 
display:none;
 
display:none;
 
width:100%;
 
width:100%;
 
}
 
}
.portal-banner-image .mw-gallery-slideshow-buttons:hover div{
+
.portal-banner-image-slideshow .mw-gallery-slideshow-buttons:hover div{
 
display:block;
 
display:block;
 
}
 
}
.portal-banner-image .mw-gallery-slideshow{
+
 
padding:0;
+
.portal-banner-image-slideshow .mw-gallery-slideshow-buttons:hover{
margin:0;
 
}
 
.portal-banner-image .mw-gallery-slideshow-buttons:hover{
 
 
background:rgb(255,255,255);
 
background:rgb(255,255,255);
 +
opacity:0.7 !important;
 
}
 
}

Revision as of 15:35, 8 September 2018

.portal-banner-image img{
	display: block;
    width:100%;
    height:auto;
}
.portal-banner-image-slideshow .mw-gallery-slideshow-img-container img{
	display: block;
    width:100%;
    height:auto;
}
.portal-banner-image-slideshow .mw-gallery-slideshow-buttons{
	top:0;
	bottom:0;
	display:flex;
	align-items:center;
	position:absolute;
	width:100%;
	z-index:1000;
	margin:0 !important;
}
.portal-banner-image-slideshow .mw-gallery-slideshow-buttons div{
	display:none;
	width:100%;
}
.portal-banner-image-slideshow .mw-gallery-slideshow-buttons:hover div{
	display:block;
}

.portal-banner-image-slideshow .mw-gallery-slideshow-buttons:hover{
	background:rgb(255,255,255);
	opacity:0.7 !important;
}