mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-22 20:04:30 +02:00
firefox: add a userContent.css
This commit is contained in:
parent
2f201d14a2
commit
2453d0e600
2 changed files with 26 additions and 0 deletions
23
dotfiles/firefox.css
Normal file
23
dotfiles/firefox.css
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
/* To be symlinked in Firefox profile as chrome/userContent.css */
|
||||||
|
|
||||||
|
@-moz-document domain(twitter.com) {
|
||||||
|
html {
|
||||||
|
scroll-snap-type: y mandatory !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Tweets in the timeline are <article> elements */
|
||||||
|
article {
|
||||||
|
scroll-snap-align: start !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Un-stick the sticky header and make it “snappable” as well */
|
||||||
|
[aria-label="Home timeline"] > :first-child {
|
||||||
|
position: static !important;
|
||||||
|
scroll-snap-align: start !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Hide the “new Tweets available” floating toast notification */
|
||||||
|
[aria-label="New Tweets are available."] {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
}
|
|
@ -79,3 +79,6 @@ user_pref("browser.safebrowsing.malware.enabled", false);
|
||||||
|
|
||||||
// Don't trim URLs
|
// Don't trim URLs
|
||||||
user_pref("browser.urlbar.trimURLs", false);
|
user_pref("browser.urlbar.trimURLs", false);
|
||||||
|
|
||||||
|
// Enable userContent.css
|
||||||
|
user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue