mirror of
https://codeberg.org/claui/mobile-config-firefox.git
synced 2024-11-09 19:30:15 +00:00
a46d28bcab
Browser-bottombox element has been removed from Firefox in 109 so lets not use that anymore.
21 lines
No EOL
840 B
CSS
21 lines
No EOL
840 B
CSS
/* 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. */
|
|
|
|
@-moz-document media-document(image){
|
|
@media not print {
|
|
: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;
|
|
}
|
|
|
|
/* Checkerboard pattern for transparent images, slight blue hue */
|
|
img.transparent{
|
|
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;
|
|
}
|
|
}
|
|
} |