Difference between revisions of "Wiki User Style"

1,823 bytes added ,  18:08, 22 November 2008
m
stupid extra s
imported>DragoonWraith
m (breaking some lines)
imported>DragoonWraith
m (stupid extra s)
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
Using this code as a User Style Sheet within your web browser will remove the full-width banner image from the Wiki, giving far more screen-space to the actual content of the site.
[[Image:User Style Example.jpg|thumb|right|Example of Wiki User Style]]
User Style Sheets are used to modify the display of the Wiki. Your User Style sheet can be found [[Special:MyPage/esstyle.css|here]] - this is a special page associated with your account and with the skin used on this site, known as ESstyle. Here you can place CSS code to change the layout of the site to make it easier for you to see, read, and edit.


<pre>@namespace url(http://www.w3.org/1999/xhtml);
If you do not wish to do the CSS yourself, this page also serves as a repository for CSS code that you can use. This code can be used as your Style Sheet by using the @import command - simply copy and paste the @import command listed for each style into your esstyle.css page to include it in your personal style sheet.


@-moz-document url-prefix(http://cs.elderscrolls.com/constwiki/)
Currently, there is only two public style sheets available:
{
<ul><li>[[Wiki User Style/Liquid Design.css|Liquid Design]] - copy the following line into [[Special:MyPage/esstyle.css|your esstyle.css file]] to use this style
  div#p-logo
<pre>@import "/constwiki/index.php?title=Wiki_User_Style/Liquid_Design.css&action=raw&ctype=text/css";</pre>
  {
The Liquid Design style allows the page content to fill your window, so that the black borders are only a small decoration rather than large amounts of wasted space. The banner is modified to fit above the navigation boxes and allow the content to also reach the top of the page. In addition, the navigation boxes are set to stay on screen always, to make the links always handy, and the currently selected tab gets highlighted. Also provides a fix in Firefox for page-stretching code-boxes (unnecessary in Internet Explorer, which will insert wrap the text, and does not work in Opera, which does not support the non-standard "overflow-x" property).</li>
    margin-left: 50px !important;
<li>[[Wiki User Style/Thread Archive.css|Thread Archive]] - copy the following line into [[Special:MyPage/esstyle.css|your esstyle.css file]] to use this style
    width: 152px !important;
<pre>@import "/constwiki/index.php?title=Wiki_User_Style/Thread_Archive.css&action=raw&ctype=text/css";</pre>
    float: left !important;
This style sheet enables thread archive pages, which use special style rules which are not (currently) in the general style sheets. Eventually it is planned to include these in the general style sheets, making this unnecessary.</li></ul>
    margin-bottom: -30px !important;
  }


  div#p-logo a
You may also use the style sheets of other users with similar commands, substituting the page title of their esstyle.css pages for the title of the public sheets above.
  {
    background-image: url("http://cs.elderscrolls.com/constwiki/images/7/7d/CSwiki_Icon.png") !important;
  }
}</pre>