Difference between revisions of "User CSS Styles - Mediawiki"
From Help Wiki
Line 1: | Line 1: | ||
+ | {{TwoColumn|lead= | ||
+ | How to work with CSS within your wiki. | ||
+ | |content= | ||
==Create custom User Styles== | ==Create custom User Styles== | ||
If Evergreen is your default skin: | If Evergreen is your default skin: | ||
Line 22: | Line 25: | ||
* http://meta.wikimedia.org/wiki/Help:Cascading_style_sheets | * http://meta.wikimedia.org/wiki/Help:Cascading_style_sheets | ||
* http://meta.wikimedia.org/wiki/Help:User_style | * http://meta.wikimedia.org/wiki/Help:User_style | ||
+ | |sidebar= | ||
+ | {{Mediawiki Help}} | ||
+ | {{GetHelp}} | ||
+ | }} | ||
[[category:Mediawiki]] | [[category:Mediawiki]] |
Revision as of 15:32, 15 November 2016
How to work with CSS within your wiki.
Create custom User Styles
If Evergreen is your default skin:
- create the page User:mylogin/evergreen.css
- add the following:
/* <nowiki> */
Add your custom css. Example:
/* <nowiki> */ #content {color: #333333;}
You may need to force a reresh by holding down the shift key(for Firefox) while hitting refresh
Edit Evergreen Theme CSS for all users
Edit MediaWiki:evergreen.css
Note: sysop access is required
For more on working with CSS in your wiki see:
- http://meta.wikimedia.org/wiki/Help:Cascading_style_sheets
- http://meta.wikimedia.org/wiki/Help:User_style