Difference between revisions of "Wiki User Style"
update
imported>DragoonWraith (added fixed position nav-boxes) |
imported>DragoonWraith (update) |
||
|
[[Image:CSwiki_User_Style_Example.jpg|thumb|right|Example of Alternate Icon]]
Current features:
*Reduced-width banner, allowing the main content of the page to have the entire height of the screen
*Fixed-position left-hand nav-boxes. This way the boxes will scroll with you as you read the page.
**''This code is specifically coded for a screen-width of 1268.'' If you use another width, or do not have the window maximized, this will cause problems. Please do not use the noted portions of the code if you have a different resolution. A fix for this is being worked on.
*Highlights for the current Tab you are using (i.e. Article/Discussion/Edit/History).
<pre>@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document url-prefix(http://cs.elderscrolls.com/constwiki/)
{
#content2 { position: relative; }
div#p-logo
{
position: fixed !important;▼
float: left !important;
top: 10px !important;
}
.portlet
{
position: fixed !important;▼
}
#p-cactions .selected a
{
background-image: url("http://cs.elderscrolls.com/constwiki/skins/esstyle/textbg.jpg") !important;
}
/* DO NOT USE THIS CODE UNLESS YOU HAVE A SCREEN WIDTH OF 1268 AND KEEP THE WINDOW MAXIMIZED */
▲ div#p-logo { position: fixed !important; }
#column-one
{
position: fixed !important;
}
}</pre>
| |||