Header
From Prostrike
(Difference between revisions)
Squarecircle (Talk | contribs) |
Squarecircle (Talk | contribs) |
||
| Line 1: | Line 1: | ||
| - | <style type="text/css"> | + | <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 + 'Pro Strike - A Professional Gaming Team' | ||
| + | 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: 788px; | ||
| + | margin: 201px auto 0; | ||
| + | padding: 0 5px 4px; | ||
| + | } | ||
| + | |||
| + | #column-one { | ||
| + | padding-top: 1.8em; | ||
| + | } | ||
| + | |||
| + | #footer { | ||
| + | width: 776px; | ||
| + | padding: 5px; | ||
| + | margin: 0; | ||
| + | } | ||
| + | |||
| + | #p-logo { | ||
| + | /* visibility: hidden; */ | ||
| + | background: darkgrey; | ||
| + | height: 200px; | ||
| + | width: 800px; | ||
| + | top: -201px; | ||
| + | left: -1px; | ||
| + | } | ||
| + | |||
| + | #p-logo a, #p-logo a:hover { | ||
| + | width: 100%; | ||
| + | height: 100%; | ||
| + | } | ||
| + | |||
| + | /* Backgrounds and Borders */ | ||
| + | |||
| + | body { | ||
| + | background: url("http://squarecirciality.com/pagebody-background.gif") #1C1C1C; | ||
| + | background-repeat: repeat-x; | ||
| + | background-attachment: fixed; | ||
| + | } | ||
| + | |||
| + | #content, #footer, .pBody, #p-cactions li a { | ||
| + | background: url("LIGHTPIC") | ||
| + | white; | ||
| + | background-attachment: fixed; | ||
| + | } | ||
| + | |||
| + | #globalWrapper { | ||
| + | background: url("DARKPIC") | ||
| + | gray; | ||
| + | background-attachment: fixed; | ||
| + | } | ||
| + | |||
| + | pre { | ||
| + | background: transparent; | ||
| + | border: 1px dashed #A67442; | ||
| + | } | ||
| + | |||
| + | #content, #footer, .pBody, #globalWrapper, | ||
| + | #p-cactions li, #p-cactions li.selected { | ||
| + | border: 1px solid #990000; | ||
| + | } | ||
| + | |||
| + | #p-personal li a:hover { | ||
| + | background: transparent; | ||
| + | text-decoration: underline; | ||
| + | } | ||
| + | |||
| + | iframe { | ||
| + | visibility: hidden; | ||
| + | } | ||
| + | |||
| + | /* Text Styling */ | ||
| + | |||
| + | h1, h2, h3, h4, h5, h6 { | ||
| + | font-family: Tahoma, "Tahoma", serif; | ||
| + | border-bottom: none; | ||
| + | font-weight: bold; | ||
| + | } | ||
| + | |||
| + | /* Link Styling */ | ||
/* | /* | ||
| - | + | #bodyContent a, #bodyContent a:visited, #bodyContent a:active { | |
| - | + | color: black; | |
| - | - | + | border-bottom: 1px solid #002BB8; |
| - | - | + | } |
| - | - | + | |
| - | + | #bodyContent a:hover { | |
| - | + | color: #002BB8; | |
| + | text-decoration: none; | ||
| + | } | ||
| + | |||
| + | #bodyContent a.new, #bodyContent a.new:visited, | ||
| + | #bodyContent a.new:active { | ||
| + | border-bottom: 1px solid #CC2200; | ||
| + | } | ||
| + | |||
| + | #bodyContent a.new:hover { | ||
| + | color: #CC2200; | ||
| + | } | ||
| + | |||
| + | #bodyContent a.external, #bodyContent a.external:visited, | ||
| + | #bodyContent a.external:active { | ||
| + | border-bottom: 1px solid #3366BB; | ||
| + | } | ||
| + | |||
| + | #bodyContent a.external:hover { | ||
| + | color: #3366BB; | ||
| + | } | ||
*/ | */ | ||
| - | + | /* List Styling */ | |
| - | + | ||
| - | + | ul { | |
| - | + | list-style-image: url(http://squarecirciality.com/bullet8.gif); | |
| - | + | } | |
| - | + | ||
| - | + | </style> | |
| - | + | ||
| - | + | ||
| - | + | ||
Revision as of 08:39, 28 November 2007
<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 + 'Pro Strike - A Professional Gaming Team'
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: 788px;
margin: 201px auto 0;
padding: 0 5px 4px;
}
#column-one {
padding-top: 1.8em;
}
#footer {
width: 776px;
padding: 5px;
margin: 0;
}
#p-logo {
/* visibility: hidden; */
background: darkgrey;
height: 200px;
width: 800px;
top: -201px;
left: -1px;
}
#p-logo a, #p-logo a:hover {
width: 100%;
height: 100%;
}
/* Backgrounds and Borders */
body {
background: url("
") #1C1C1C;
background-repeat: repeat-x;
background-attachment: fixed;
}
#content, #footer, .pBody, #p-cactions li a {
background: url("LIGHTPIC")
white;
background-attachment: fixed;
}
#globalWrapper {
background: url("DARKPIC")
gray;
background-attachment: fixed;
}
pre {
background: transparent;
border: 1px dashed #A67442;
}
#content, #footer, .pBody, #globalWrapper,
#p-cactions li, #p-cactions li.selected {
border: 1px solid #990000;
}
#p-personal li a:hover {
background: transparent;
text-decoration: underline;
}
iframe {
visibility: hidden;
}
/* Text Styling */
h1, h2, h3, h4, h5, h6 {
font-family: Tahoma, "Tahoma", serif;
border-bottom: none;
font-weight: bold;
}
/* Link Styling */
/*
#bodyContent a, #bodyContent a:visited, #bodyContent a:active {
color: black;
border-bottom: 1px solid #002BB8;
}
#bodyContent a:hover {
color: #002BB8;
text-decoration: none;
}
#bodyContent a.new, #bodyContent a.new:visited,
#bodyContent a.new:active {
border-bottom: 1px solid #CC2200;
}
#bodyContent a.new:hover {
color: #CC2200;
}
#bodyContent a.external, #bodyContent a.external:visited,
#bodyContent a.external:active {
border-bottom: 1px solid #3366BB;
}
#bodyContent a.external:hover {
color: #3366BB;
}
*/
/* List Styling */
ul {
list-style-image: url(
);
}
</style>
