mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-08-04 10:14:34 +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;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue