Difference between revisions of "Wiki User Style"

537 bytes added ,  07:46, 17 February 2008
added fixed position nav-boxes
imported>DragoonWraith
(added a picture of it as an example)
imported>DragoonWraith
(added fixed position nav-boxes)
Line 1: Line 1:
[[Image:CSwiki_User_Style_Example.jpg|thumb|right|Example of Alternate Icon]]
[[Image:CSwiki_User_Style_Example.jpg|thumb|right|Example of Alternate Icon]]
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.
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.
Also causes the left-hand navigation boxes to scroll with the page, so you don't have to scroll back to the top to access the links there or the search box.


<pre>@namespace url(http://www.w3.org/1999/xhtml);
<pre>@namespace url(http://www.w3.org/1999/xhtml);
Line 8: Line 10:
   div#p-logo
   div#p-logo
   {
   {
     margin-left: 50px !important;
     position: fixed !important;
    float: left !important;
    top: 10px !important;
    left: 181px !important;
     width: 152px !important;
     width: 152px !important;
     float: left !important;
     height: 124px !important;
    margin-bottom: -30px !important;
   }
   }


Line 17: Line 21:
   {
   {
     background-image: url("http://cs.elderscrolls.com/constwiki/images/7/7d/CSwiki_Icon.png") !important;
     background-image: url("http://cs.elderscrolls.com/constwiki/images/7/7d/CSwiki_Icon.png") !important;
  }
  div#p-navigation
  {
    top: 140px !important;
    position: fixed !important;
  }
  div#p-tb
  {
    top: 250px !important;
    position: fixed !important;
  }
  div#p-search
  {
    top: 360px !important;
    position: fixed !important;
  }
  div#p-personal
  {
    top: 430px !important;
    position: fixed !important;
   }
   }
}</pre>
}</pre>