MediaWiki:Gadget-BlurImages.css

From Jenny Everywhere Wiki
Revision as of 20:34, 27 July 2024 by Bongolium500 (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
.blur-image .thumbimage {
	filter: blur(20px);
}
.blur-image .thumbinner {
	display: grid;
}
.blur-image a.image {
	grid-column: 1;
	grid-row: 1;
}
.blur-image .imagecover {
	background-color: #000000A0;
	grid-column: 1;
	grid-row: 1;
	margin: auto;
	color: white;
	text-align: center;
	vertical-align: middle;
	font-weight: bold;
	font-size: 1.5em;
	z-index: 1;
}
.blur-image .imagecover:hover {
	cursor: pointer;
}


.blur-gallery img {
	filter: blur(20px);
}
.blur-gallery .thumb div {
	display: grid;
}
.blur-gallery a.image {
	grid-column: 1;
	grid-row: 1;
}
.blur-gallery .imagecover {
	background-color: #000000A0;
	grid-column: 1;
	grid-row: 1;
	margin: auto;
	color: white;
	text-align: center;
	vertical-align: middle;
	font-weight: bold;
	font-size: 0.8em;
	z-index: 1;
}
.blur-gallery .imagecover:hover {
	cursor: pointer;
}


.pi-theme-blur .pi-image-thumbnail {
	filter: blur(20px);
}
.pi-theme-blur .pi-image {
	display: grid;
}
.pi-theme-blur a.image {
	grid-column: 1;
	grid-row: 1;
}
.pi-theme-blur .imagecover {
	background-color: #000000A0;
	grid-column: 1;
	grid-row: 1;
	margin: auto;
	color: white;
	text-align: center;
	vertical-align: middle;
	font-weight: bold;
	font-size: 2em;
	z-index: 1;
}
.pi-theme-blur .imagecover:hover {
	cursor: pointer;
}


.ns-6:has(.nsfw-image-page) .fullImageLink img {
	filter: blur(200px);
}
.ns-6:has(.nsfw-image-page) .fullImageLink{
	display: grid;
}
.ns-6:has(.nsfw-image-page) .fullImageLink a {
	grid-column: 1;
	grid-row: 1;
}
.ns-6:has(.nsfw-image-page) .fullImageLink .imagecover {
	background-color: #000000A0;
	grid-column: 1;
	grid-row: 1;
	margin: auto;
	color: white;
	text-align: center;
	vertical-align: middle;
	font-weight: bold;
	font-size: 1.5em;
	z-index: 1;
}
.ns-6:has(.nsfw-image-page) .fullImageLink .imagecover:hover {
	cursor: pointer;
}