Fix: Activity Stream - Default Background Image

This commit is contained in:
alstjr7375 2023-03-26 20:53:31 +09:00
parent f15d12193b
commit 6a8fc64f2c
4 changed files with 8 additions and 2 deletions

View file

@ -145,6 +145,11 @@ W: https://github.com/thunderstone135
----------
Reference Projects & Resources
N: BEST-WALLPAPER.NET
W: https://best-wallpaper.net/
C: Copyright (c) 2011-2022 best-wallpaper.net
L: Unspecified License
N: Compact Mode Firefox Css
W: https://github.com/Godiesc/compactmodefirefoxcss
C: Copyright (c) 2021 Godiesc

View file

@ -459,7 +459,7 @@
/** Activity Stream - Hide Firefox's logo ***********************************/
@supports -moz-bool-pref("userContent.newTab.background_image") {
body {
background-image: var(--uc-newTab-wallpaper);
background-image: var(--uc-newTab-wallpaper, url("../icons/Forest-trees-sunset-art-picture_3840x2160.jpg"));
background-size: cover; /* or auto auto */
background-repeat: no-repeat;
background-position: right top;

Binary file not shown.

After

Width:  |  Height:  |  Size: 297 KiB

View file

@ -221,7 +221,8 @@
/** Activity Stream - Hide Firefox's logo ***********************************/
@include Option("userContent.newTab.background_image") {
body {
background-image: var(--uc-newTab-wallpaper);
// https://best-wallpaper.net/Forest-trees-sunset-art-picture_wallpapers.html
background-image: var(--uc-newTab-wallpaper, url("../icons/Forest-trees-sunset-art-picture_3840x2160.jpg"));
background-size: cover; /* or auto auto */
background-repeat: no-repeat;
background-position: right top;