Difference between revisions of "User CSS Styles - Mediawiki"

From Help Wiki
m (subst applied to Template:TwoColumn)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{TwoColumn|lead=
+
{{Stub}}
 +
 
 +
<div class="container-fluid">
 +
<div class="row">
 +
<div class="col-md-8">
 +
<div class="lead">
 
How to work with CSS within your wiki.
 
How to work with CSS within your wiki.
|content=
+
</div>
 +
 
 
==Create custom User Styles==
 
==Create custom User Styles==
 
If Evergreen is your default skin:
 
If Evergreen is your default skin:
Line 25: Line 31:
 
* 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=
+
 
 +
 
 +
<!-- end col-md-8 -->
 +
</div>
 +
<div class="col-md-1"></div>
 +
<div class="col-md-3 sidebar">
 
{{Mediawiki Help}}
 
{{Mediawiki Help}}
 
{{GetHelp}}
 
{{GetHelp}}
}}
+
 
 +
<!-- end col-md-3-->
 +
</div>
 +
<!-- end row-->
 +
</div>
 +
<!-- end container-->
 +
</div>
 +
<!-- Generator=Template:TwoColumn -->
 +
__NOTOC__
 +
__NOEDITSECTION__
  
 
  [[category:Mediawiki]]
 
  [[category:Mediawiki]]

Latest revision as of 17:01, 14 August 2017

This article is missing content or needs to be updated. You can improve to Evergreen's Help Wiki by contributing to this article.

How to work with CSS within your wiki.

Create custom User Styles

If Evergreen is your default skin:

  1. create the page User:mylogin/evergreen.css
  2. 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: