2021-10-27 13:55:03 +00:00
|
|
|
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/content/standalone_image_page_mods.css made available under Mozilla Public License v. 2.0
|
|
|
|
See the above repository for updates as well as full license text. */
|
|
|
|
|
2022-12-28 05:49:11 +00:00
|
|
|
@-moz-document media-document(image){
|
2021-10-27 13:55:03 +00:00
|
|
|
@media not print {
|
2022-12-28 05:49:11 +00:00
|
|
|
:root{
|
|
|
|
background-color: #232325 !important; /* set solid color background */
|
|
|
|
background-image: none !important; /* remove default background */
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Position of the image, auto = center (default), 0 = top-left */
|
|
|
|
img{
|
|
|
|
margin: auto !important;
|
2021-10-27 13:55:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Checkerboard pattern for transparent images, slight blue hue */
|
2022-12-28 05:49:11 +00:00
|
|
|
img.transparent{
|
2021-10-27 13:55:03 +00:00
|
|
|
background: conic-gradient(#eef 0.25turn, #bbc 0.25turn 0.5turn, #eef 0.5turn 0.75turn, #bbc 0.75turn) top left / 24px 24px repeat !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|