Last active
April 15, 2024 18:23
-
-
Save cmaspi/76f08458be107d84a117beece98c9f13 to your computer and use it in GitHub Desktop.
This file witll center the text in address bar of firefox
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
#urlbar-container { | |
text-align: center !important; | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@-moz-document url-prefix(http), url-prefix(https), url-prefix(file) { | |
::selection { | |
background-color: #fd6b6b !important; /* Red background */ | |
color: black !important; /* Black text */ | |
font: monospace | |
} | |
} | |
@-moz-document regexp(".*\\.pdf") { | |
.textLayer ::selection { | |
background-color: color-mix(in srgb, #ff0000, transparent 75%) !important; | |
color: transparent !important; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment