a Basic Style To add a Background to Every Site.
Global Background by therealgwjosh
Details
Authortherealgwjosh
LicenseCC0-1.0
CategoryGlobal
Created
Updated
Size1.1 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Userstyle doesn't have notes.Source code
/* ==UserStyle==
--= Theme Stuff =--
@name Global Background
@version 0.0.1
@description a Global Background For Every Site Pretty Simple :3
@license CC0-1.0
@homepageURL https://github.com/TheRealGWJosh
--= Stylus Stuff =--
@preprocessor uso
--= Author Stuff =--
@author It'sJustJosh#2812(TheRealGWJosh)
@namespace https://userstyles.world/user/therealgwjosh
--= Theme Vars =--
@var text background "Global Background" https://i.imgur.com/zUgi9J2.jpg
@var text opacity "Global Opacity" 0.9
==/UserStyle== */
@-moz-document regexp(".*") {
:root, html {
--background-image: url("/*[[background]]*/");
--opacity: /*[[opacity]]*/;
}
:root, html {
background:var(--background-image) fixed center/cover no-repeat !important;
}
body {
opacity:var(--opacity) !important;
}
}