+
=
Now also provides themes for Zero Browser
Custom CSS for websites to make the internet beautiful. Transparency being the main feature, these themes also include removal of distractions and further useful features for each website.
Please make sure you go through all the provided instructions before submitting a new theme with a PR
example.com.css as a starter for most websites to grab the stylesheet format.[website domain].css (google.com.css and docs.google.com.css are 2 styles which are not merged unless you do #9.)!important to make sure it gets applied.www in the stylesheet file name.app.arduino.cc, login.arduino.cc… i.e., similar urls with prefixes, you can add a “general style” with a leading + symbol when creating the stylesheet. ( +arduino.cc.css ) examplegoogle.com, google.lk…), you can add the - symbol to the start of the stylesheet file name so it will replace the provided domain of the file name’s domain. (e..g, -google.com.css). example[optional] Each comment of the same file should have a unique domain specific identified prefix (yt-, ytm-, gh-, etc) which will help the extension separately apply themes.
/* yt-transparency */
:root {
--colorBgApp: transparent !important;
}
/* yt-no footer */
footer.app-footer {
display: none !important;
}
transparency and also use the exact feature name without a difference allowing the global transparency toggle to work. Prefixes with - are acceptable.userContent.css (i.e., remove @-moz-document domain(" ")).styles.json file; then it will be deployed to GitHub pages, allowing the addon to fetch it.[NEW!] Now you can add descriptive comments to the CSS file which will be skipped during parsing and generating the styles.json file. BUT, make sure to start those CSS comment text with the @ symbol as below examples. BUT, any comment inside a feature in the CSS selectors or in properties will be skipped anyway.
/* yt-transparency */
/* @this comment will be skipped */
:root {
--colorBgApp: transparent !important;
/* @ this comment will be skipped, but leaving it will cause no harm */
/* This will be skipped */
}
/* @ this comment will be skipped */
/* yt-no footer */
footer.app-footer, /* This will be skipped */
footer {
display: none !important;
}
css-mapping.json to map existing CSS styles to other websites. Also can be used for websites that works well with forcing.$. Check example.com.css for the samples.
/* darkreader $ This is a example description */
:root {
--darkreader-background-ffffff: transparent !important;
}
This will show up like below while hovering the feature title.
</a>