Difference between revisions of "Template:Gallery items/styles.css"

From blackwiki
Jump to navigation Jump to search
imported>Great Brightstar
(Optimize for images with transparent areas)
imported>Great Brightstar
m
Line 7: Line 7:
 
}
 
}
 
.gallery-items .gallerybox .thumb img:hover {
 
.gallery-items .gallerybox .thumb img:hover {
  background: url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat !important;
+
background: url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat !important;
 
}
 
}
 
}
 
}

Revision as of 14:33, 2 September 2019

@media screen {
	.gallery-items .gallerybox div.thumb {
		background-color: transparent !important;
	}
	.gallery-items .gallerybox .thumb img {
		background-image: none !important;
	}
	.gallery-items .gallerybox .thumb img:hover {
		background: url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat !important;
	}
}