Difference between revisions of "Wiki User Style"

1,012 bytes added ,  21:29, 17 February 2008
better installation with Opera
imported>DragoonWraith
(→‎Using Stylish (Firefox only): made it EVEN SIMPLER)
imported>DragoonWraith
(better installation with Opera)
Line 4: Line 4:
== Installation ==
== Installation ==


This code as is only works for Mozilla applications (Firefox, Thunderbird, etc). It may be modified for other browsers, but the code will not apply these changes only to this site - which may break other sites. Internet Explorer and Opera are known to have user style options. Options with other browsers are unknown.
This code was primarily designed for Mozilla Firefox, and is therefore simplest to install for that browser. It is also guaranteed to work in Firefox.


=== User Style-Sheet ===
It should also work for other Mozilla products, and can work with Opera as a script (more on that later). For Internet Explorer, it may be used with some modification, but it may break other websites, as IE lacks any way to specify the site that the code is run on.


To use this code, determine how your browser handles user CSS. In most cases, it must be saved as a "CSS" file, which is just a text file with a ".css" extension. Open a plaintext editor, copy and paste this code in, and save it with a .css extension. If you are not using Firefox, omit the first, second, and final line of code (marked with comments)
=== Firefox ===
*For Internet Explorer, there is an option for user CSS in the Accessibility menu (Tools->Internet Options->General->Accessibility).
*For Firefox, by default, you can use the "userContent.css" file in the "chrome" directory of your [http://www.mozilla.org/support/firefox/profile#locate Firefox profile] (save "userContent-example.css" as "userContent.css" and use that if you do not have one yet). There are better alternatives, however.
*In Opera, you can set your user style sheet in the Style Options menu (Tools->Preferences->Advanced->Content->Style Options).


=== Using Stylish (Firefox only) ===
By default, Firefox users may copy and paste the code below into their "userContent.css" file in the "Chrome" directory inside their [http://support.mozilla.com/kb/Profiles Firefox profile]. If the "userContent.css" file does not exist, save a copy of "userContent-example.css" as "userContent.css" and paste the code into that.


If you are using Firefox, the [https://addons.mozilla.org/en-US/firefox/addon/2108 Stylish] extension is highly recommended to make this simpler. Install stylish, and then go [http://userstyles.org/styles/5310 here] and click "Load into Stylish" to install the code.
However, it is recommended that Firefox users instead install the [https://addons.mozilla.org/en-US/firefox/addon/2108 Stylish Extension]. With this extension installed, simply go [http://userstyles.org/styles/5310 here] and click "Load into Stylish" to install this code.
 
The GreaseMonkey extension is another possibility. GreaseMonkey uses JavaScript, similar to Opera's system. To get the JavaScript version of the code, follow the second half of the Opera installation instructions.
 
=== Opera ===
 
Opera users are recommended to install this code as a User Script. To do so, the User Script directory must be defined by going to
Tools -> Preferences -> Advanced -> JavaScript options...
and then selecting the desired directory.
 
After doing so, go [http://userstyles.org/styles/5310 here] and click "Load as User Script" to be directed to the code converted into JavaScript. Save this page in the User Script directory defined above.
 
=== Internet Explorer ===
 
Using this code with Internet Explorer is '''not''' recommended. Because Internet Explorer cannot be told to use this code only on this site, other sites using similar coding schemes (likely any Wiki) will be broken with this code.
 
For numerous other reasons, including personal security and the betterment of the Internet as a whole, users are strongly urged to switch to another browser, such as Firefox or Opera.
 
However, if this is impossible or undesired, this code is available as is. There are no guarantees provided, and no one other than the user him or herself may be held responsible for any damage, temporary (likely) or permanent (extremely unlikely), that it may cause.
 
The code also must be modified to remove the Mozilla-only wrapper function. This means the first, second, and third lines, which are marked, must be omitted.


== Current Features ==
== Current Features ==