mirror of
				https://codeberg.org/claui/mobile-config-firefox.git
				synced 2025-11-04 12:35:55 +00:00 
			
		
		
		
	Add further instructions
This commit is contained in:
		
							parent
							
								
									e7c92ec1c4
								
							
						
					
					
						commit
						079076091a
					
				
					 1 changed files with 24 additions and 1 deletions
				
			
		
							
								
								
									
										25
									
								
								README.md
									
										
									
									
									
								
							
							
						
						
									
										25
									
								
								README.md
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -1,5 +1,7 @@
 | 
			
		|||
# Collection of random CSS hacks for Firefox
 | 
			
		||||
 | 
			
		||||
Stylesheets in this repository are tested only on Windows 10. They should work on current Nightlies but also generally on latest release Firefox unless otherwise noted.
 | 
			
		||||
 | 
			
		||||
# Usage
 | 
			
		||||
 | 
			
		||||
Use stylesheets under "chrome" in userChrome.css
 | 
			
		||||
| 
						 | 
				
			
			@ -10,4 +12,25 @@ You can import the stylesheets with @-rule import like this:
 | 
			
		|||
 | 
			
		||||
```css
 | 
			
		||||
@import url("path/filename.css");
 | 
			
		||||
```
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
## Important!
 | 
			
		||||
 | 
			
		||||
Note that all `@import` rules need to be placed before any other rules in the file.
 | 
			
		||||
 | 
			
		||||
# Theme
 | 
			
		||||
 | 
			
		||||
Stylesheets prefixed with `theme_` require `theme_color_variables.css` to be imported.
 | 
			
		||||
 | 
			
		||||
Example userChrome.css resulting in rather complete dark blueish-grey UI:
 | 
			
		||||
 | 
			
		||||
```css
 | 
			
		||||
@import url(theme_color_variables.css);
 | 
			
		||||
@import url(theme_sidebar.css);
 | 
			
		||||
@import url(theme_toolbars.css);
 | 
			
		||||
@import url(theme_popups_and_menus.css);
 | 
			
		||||
 | 
			
		||||
/* Your other rules here */
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
You can use individual modules from theme such as to only include popups_and_menus. But it would still be required that you import the theme_color_variables.css or you'll have to manually edit all the colors.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue