Header

From Regnumpedia

(Difference between revisions)
 
(15 intermediate revisions not shown)
Line 1: Line 1:
-
<style type="text/css">
+
     
-
body
+
    <!-- Begin Header -->
-
{  
+
   
-
background-image: url(http://xs433.xs.to/xs433/08452/background632.jpg);
+
    <script language="javascript" type="text/javascript">
-
background-repeat: repeat;
+
   
-
background-position: top left
+
    function move_ads() {
-
}
+
        var ads = document.getElementsByTagName('iframe')[0];
-
 
+
        var footer = document.getElementById('footer');
-
/*TOC layout*/
+
        ads.parentNode.removeChild(ads);
-
#toc,
+
        ads.style.visibility = 'visible';
-
.toc {
+
        footer.appendChild(ads);
-
  background-color: #F9F9F9;
+
    }
-
  border: 1px solid #AAAAAA;
+
   
-
  padding: 5px;
+
    function change_title() {
-
  font-size: 95%;
+
        var t = document.title.substring(0, document.title.length - 12)
-
}
+
        var t = t + 'Regnumpedia :: Wiki de Regnum Online'
-
 
+
        document.title = t;
-
#toc h2,
+
    }
-
.toc h2 {
+
   
-
  display: inline;
+
    function alter_page() {
-
  border: none;
+
        change_title();
-
  padding: 0;
+
        move_ads();
-
  font-size: 100%;
+
    }
-
  font-weight: bold;
+
   
-
}
+
    if (document.addEventListener)
-
 
+
        document.addEventListener("DOMContentLoaded", alter_page, false);
-
#toc #toctitle,
+
    else
-
.toc #toctitle,
+
        window.onload = alter_page;
-
#toc .toctitle,
+
   
-
.toc .toctitle {
+
    </script>
-
  text-align: center;
+
   
-
  background-color: transparent;
+
    <style type="text/css">
-
}
+
   
-
 
+
    /* Positioning */
-
#toc ul,
+
   
-
.toc ul {
+
    #globalWrapper {
-
  list-style-type: none;
+
        position: relative;
-
  list-style-image: none;
+
        width: 850px;
-
  margin-left: 0;
+
        margin: 0px auto 0;
-
  padding-left: 0;
+
        padding: 0 5px 4px;
-
  text-align: left;
+
    }
-
}
+
   
-
 
+
   
-
#toc ul ul,
+
    #footer {
-
.toc ul ul {
+
        width: 830px;
-
  margin: 0 0 0 1em;
+
        padding: 5px;
-
}
+
        margin: 0;
-
 
+
    }
-
#toc .toctoggle,
+
   
-
.toc .toctoggle {
+
 
-
  font-size: 100%;
+
    /* Backgrounds and Borders */
-
}
+
   
-
 
+
    body {
-
li.toclevel-1 {
+
        background: url("http://tearsofblood.editthis.info/images/tearsofblood/3/34/Greybg.jpg") #1C1C1C;
-
  border-top: 1px solid #AAAAAA;
+
        background-repeat: repeat-x;
-
}
+
        background-attachment: fixed;
-
 
+
    }
-
.toc a,
+
   
-
#toc a {
+
    #content, #footer, .pBody, #p-cactions li a {
-
  text-decoration:none;
+
        background: url("http://tearsofblood.editthis.info/images/tearsofblood/3/39/Bg-parchment-light.gif")
-
}
+
            white;
-
 
+
        background-attachment: fixed;
-
 
+
    }
-
 
+
   
-
legend {
+
    #globalWrapper {
-
background-color: #F9F9F9;
+
        background: url("http://tearsofblood.editthis.info/images/tearsofblood/2/28/Bg-parchment-dark.gif")
-
border: 1px solid #AAAAAA;
+
            tan;
-
color: #F9F9F9;
+
        background-attachment: fixed;
-
}
+
    }
-
 
+
   
-
fieldset { background-color: #F9F9F9; }
+
    pre {
-
 
+
        background: transparent;
-
#preftoc li {
+
        border: 1px dashed #A67442;
-
background-color: transparent;
+
    }
-
border: 0px;
+
   
-
}
+
    #content, #footer, .pBody, #globalWrapper,
-
 
+
    #p-cactions li, #p-cactions li.selected {
-
#preftoc li a { color: #AAAAAA; }
+
        border: 1px solid #A67442;
-
 
+
    }
-
#preftoc li.selected {
+
   
-
border: 1px;
+
    #p-personal li a:hover {
-
background-color: #F9F9F9;
+
        background: transparent;
-
}
+
    }
-
 
+
   
-
ol ol { list-style-type: lower-latin; }
+
    iframe {
-
 
+
        visibility: hidden;
-
ol ol ol { list-style-type: lower-roman; }
+
    }
-
 
+
   
-
li#pt-userpage {
+
    /* Text Styling */
-
background: url("http://kiltstore.net/club_images/tartans/thumbs/30x30/hedga_mw885_black.jpg") top left no-repeat !important;
+
   
-
background-repeat: no-repeat;
+
    h1, h2, h3, h4, h5, h6 {
-
background-color: transparent !important;
+
        font-family: Georgia, "Georgia", serif;
-
padding-left: 20px;
+
        border-bottom: none;
-
text-transform: none;
+
        font-weight: bold;
-
}
+
    }
-
 
+
   
-
/* Bold 'edit this page' link to encourage newcomers */
+
   
-
#ca-edit a { font-weight: bold !important; }
+
   
-
 
+
    /* List Styling */
-
/* rounded corners - Mozilla/Firefox only */
+
   
-
.pBody {
+
    ul {
-
  padding: 0.1em 0.1em;
+
        list-style-image: url("http://tearsofblood.editthis.info/images/tearsofblood/6/6b/Tobbullet.gif");
-
  -moz-border-radius-topright: 0.5em;
+
    }
-
  -moz-border-radius-bottomright: 0.5em;
+
   
-
}
+
    </style>
-
#p-cactions ul li, #p-cactions ul li a {
+
   
-
  -moz-border-radius-topright: 0.5em;
+
    <!-- IE Specific Workarounds -->
-
  -moz-border-radius-topleft: 0.5em;
+
   
-
}
+
    <!--[if IE]>
-
#content {
+
    <style type="text/css">
-
  -moz-border-radius-topleft: 0.5em;
+
   
-
  -moz-border-radius-bottomleft: 0.5em;
+
    body {
-
}
+
        text-align: center;
-
 
+
    }
-
/* Add small Blank-themed background image to bottom right of categories bar */
+
   
-
#catlinks {  
+
    #globalWrapper {
-
background-image: url(http://img295.imageshack.us/img295/6792/backgorundyb8.png);
+
        width: 800px;
-
background-repeat: repeat;
+
        text-align: left;
-
background-position: left;
+
    }
-
}
+
   
-
 
+
    #column-content {
-
p.catlinks {
+
        overflow: hidden;
-
border: 1px outset #282828;
+
    }
-
margin: 0px;
+
   
-
padding: 5px;
+
    #column-one {
-
}
+
        left: 5px;
-
</style>
+
    }
 +
   
 +
    #footer {
 +
        width: 788px;
 +
    }
 +
   
 +
    #p-cactions li, #p-cactions li.selected {
 +
        border: none;
 +
    }
 +
   
 +
    #p-cactions li a, #p-cactions li.selected a {
 +
        border: solid #A67442;
 +
        border-width: 1px 1px 0;
 +
    }
 +
   
 +
    #p-personal {
 +
        position: absolute;
 +
        width: 795px;
 +
        right: 802px;
 +
        top: -1;
 +
    }
 +
   
 +
    #bodyContent #toc {
 +
        float: left;
 +
        clear: left;
 +
        margin: 0.3em;
 +
    }
 +
   
 +
    </style>
 +
    <[endif]-->
 +
   
 +
    <!-- End Header -->

Current revision as of 16:12, 5 November 2008


   <script language="javascript" type="text/javascript">
   
   function move_ads() {
       var ads = document.getElementsByTagName('iframe')[0];
       var footer = document.getElementById('footer');
       ads.parentNode.removeChild(ads);
       ads.style.visibility = 'visible';
       footer.appendChild(ads);
   }
   
   function change_title() {
       var t = document.title.substring(0, document.title.length - 12)
       var t = t + 'Regnumpedia :: Wiki de Regnum Online'
       document.title = t;
   }
   
   function alter_page() {
       change_title();
       move_ads();
   }
   
   if (document.addEventListener)
       document.addEventListener("DOMContentLoaded", alter_page, false);
   else
       window.onload = alter_page;
   
   </script>
   
   <style type="text/css">
   
   /* Positioning */
   
   #globalWrapper {
       position: relative;
       width: 850px;
       margin: 0px auto 0;
       padding: 0 5px 4px;
   }
   
   
   #footer {
       width: 830px;
       padding: 5px;
       margin: 0;
   }
   
  
   /* Backgrounds and Borders */
   
   body {
       background: url("Greybg.jpg") #1C1C1C;
       background-repeat: repeat-x;
       background-attachment: fixed;
   }
   
   #content, #footer, .pBody, #p-cactions li a {
       background: url("Bg-parchment-light.gif")
           white;
       background-attachment: fixed;
   }
   
   #globalWrapper {
       background: url("Bg-parchment-dark.gif")
           tan;
       background-attachment: fixed;
   }
   
   pre {
       background: transparent;
       border: 1px dashed #A67442;
   }
   
   #content, #footer, .pBody, #globalWrapper,
   #p-cactions li, #p-cactions li.selected {
       border: 1px solid #A67442;
   }
   
   #p-personal li a:hover {
       background: transparent;
   }
   
   iframe {
       visibility: hidden;
   }
   
   /* Text Styling */
   
   h1, h2, h3, h4, h5, h6 {
       font-family: Georgia, "Georgia", serif;
       border-bottom: none;
       font-weight: bold;
   }
   
   
   
   /* List Styling */
   
   ul {
       list-style-image: url("Tobbullet.gif");
   }
   
   </style>
   
   
   
   
Personal tools