Header

From Gamedatawiki

(Difference between revisions)
m
m
Line 285: Line 285:
</style>
</style>
-
<a href="http://gameknot.com/?rfr=cjbeckwith">Play chess online</a>
+
<a href="http://gameknot.com/?rfr=cjbeckwith">Play chess online
 +
padding: 0.5em 5em 0.5em 5em
 +
</a>

Revision as of 09:50, 2 December 2006

<style type="text/css">

  /*
     Notes: 
      -You must log as admin to edit this page
      -Whatever you enter in this page will be added to the html in the header after the standard style sheet, so you can override styles. 
      -if you want your code to look nice on this page, put a space at the beginning of each line
      -This is the default style sheet that you can override : http://editthis.info/wiki/skins/monobook/main.css 
      - color chart at http://www.december.com/html/spec/colorcodes.html   

*/
/*black background */
#content {
margin: 2.2em 0 0 12.0em;
padding: 0em 0.5em 0em 0.5em;
background-color: transparent;
border: 1px solid #aaaaaa;
border-right: none;
line-height: 1.5em;
position: relative;
z-index: 2;

} /*banner on header */ /*Black background with white text */ body {

   font: x-small sans-serif;
   background: #000000	 url("SPIRAX1.jpg") 0.8em 0px no-repeat;
   color: White;
   margin: 0;
   padding: 12em 0.2em;

} .firstHeading { color: White; margin-bottom:0.1em; margin-top:0.1em; background: #000033; text-align:center;} h1, h2, h3, h4, h5, h6 { color: White } table {

   font-size: 100%;
   background: black;

} /* Non existent links - on page - not red anymore (too gaudy) */

a {

   text-decoration: none;
   color: #B9D3EE;
   background: none;

} a:visited { color:#B9D3EE; } a:active { color: #B9D333; } a:hover { text-decoration: underline; } a.stub { color: #7FFF00; } a.new, .special a.new { color:#7FFFB4; }

  1. p-personal a.new { color: red; }
  2. p-cactions .new a { color: red; }

a.new:visited, .special a.new:visited,

  1. p-personal a.new:visited { color:#B9D3EE; }
  1. bodyContent a.external { color:#B9D3EE; }

/* this can be used in the content area to switch off special external link styling */

  1. bodyContent .plainlinks a {
   background: none !important;
   padding: 0;

}

/* gray boxes when displaying pages */ code { background-color: #0000aa; } pre {

   padding: 1em;
   border: 1px dashed #2f6fab;
   color: White;
   background-color: #000033;
   line-height: 1.1em;

} /* More black when displaying text */ fieldset {

   border: 1px solid #2f6fab;
   background-color: #000033;
   margin: 1em 0em 1em 0em;
   padding: 0em 1em 1em 1em;
   line-height: 1.5em;

} legend {

   background: Black;
   padding: 0.5em;
   font-size: 95%;

} .pBody { font-size: 95%; background-color: #000033; color: black; border-collapse: collapse; border: 6px solid #B9D3EE; padding: 0 .8em .3em .5em; } .portlet li {

   padding: 0;
   margin: 0;
   background: #000033;

} .portlet a {color:#B9D3EE;}

  1. p-search .pBody {
   text-align: center;
   background: #104E8B;

}

/* quickbar: article, edit, ... watch tags */

  1. contentSub { color: #000088}
  2. catlinks {
   border:1px solid #aaaaaa;
   background-color:#000033;
   padding:5px;
   margin-top: 1em;
   clear: both;

}

  1. toc {
   /*border:1px solid #2f6fab;*/
   border:1px solid #aaaaaa;
   background-color:#000033;
   padding:5px;
   font-size: 95%;

}

  1. p-cactions {
PADDING-LEFT: 1em;
FONT-SIZE: 95%;
BACKGROUND: none transparent scroll repeat 0% 0%;
LEFT: 140px;
MARGIN: 0px;
OVERFLOW: visible;
WIDTH: 76%;
LINE-HEIGHT: 1.1em;
WHITE-SPACE: nowrap;
LIST-STYLE-TYPE: none;
POSITION: absolute;
TOP: 130px;
BORDER-COLLAPSE: collapse

}

  1. p-cactions li {
   display: inline;
   border: 3px solid #aaaaaa;
   border-bottom: none;
   padding: 0 0 0.1em 0;
   margin: 0 0.3em 0 0;
   overflow: visible;
   background: #B9D3EE;

}

  1. p-cactions li.selected {
   border-color: #C6E2FF;
   padding: 0 0 0.2em 0;

}

  1. p-cactions li a {
   background-color: #c2c2c2;
   color: #002bb8;
   border: none;
   padding: 0 0.8em 0.3em 0.8em;
   text-decoration: none;
   text-transform: lowercase;
   position: relative;
   z-index: 0;
   margin: 0;

} /*user bar */

  1. p-personal {
   width:100%;
   white-space:nowrap;
   padding: 0;
   margin: 0;
   position:absolute;
   left: 40 px;
   top:2em;
   z-index: 0;
   border: none;
   background: none;
   overflow: visible;
   line-height: 1.2em;

}

  1. p-personal li {
   z-index:0;
   border:none;
   padding:0;
   display: inline;
   color: #2f6fab;
   margin-left: 1em;
   line-height: 1.2em;
   background: #c2c2c2;

} /* footer needs to be black too */

  1. footer {
   background-color: black;
   border-top: 1px solid #fabd23;
   border-bottom: 1px solid #fabd23;
   margin: 0.6em 0em 1em 0em;
   padding: 0.4em 0em 1.2em 0em;
   text-align: center;
   font-size: 90%;

} /* images */ div.floatright, table.floatright {

   clear: right;
   float: right;
   position: relative;
   margin: 0 0 0.5em 0.5em;
   border: 0
   background: black;

/*

   border: 0.5em solid Black;
   border-width: 0.5em 0 0.8em 1.4em;
  • /

} div.floatright p { font-style: italic; } div.floatleft, table.floatleft {

   float: left;
   position: relative;
   margin: 0 0.5em 0.5em 0;
   border: 0
   background: black;

/*

   margin: 0.3em 0.5em 0.5em 0;
   border: 0.5em solid Black;
   border-width: 0.5em 1.4em 0.8em 0;
  • /

} div.floatleft p { font-style: italic; } /* thumbnails */ div.thumb {

   margin-bottom: 0.5em;
   border-style: solid; border-color: black;
   background-color: 000033;
   
   width: auto;

} /* Page history styling */ /* the auto-generated edit comments */ .autocomment { color: gray; }

  1. pagehistory span.user {
   margin-left: 1.4em;
   margin-right: 0.4em;

}

  1. pagehistory span.minor { font-weight: bold; }
  2. pagehistory li { border: 1px solid White; }
  3. pagehistory li.selected {
   background-color:#000088;
   border:1px dashed #aaaaaa;

} form {

   background: Black;
   border: none;
   margin: 0;

} table.gallery { border: 3px solid #c2c2c2; margin: 2px; padding: 2px; background-color:#000000; } table.gallery td { vertical-align:top; background-color:#191970; border: solid 2px #c2c2c2; } /*user bar */

  1. p-personal {
   width:100%;
   white-space:nowrap;
   padding: 0;
   margin: 0;
   position:absolute;
   left: 40 px;
   top:2em;
   z-index: 0;
   border: none;
   background: none;
   overflow: visible;
   line-height: 1.2em;

}

  1. p-personal li {
   z-index:0;
   border:none;
   padding:0;
   display: inline;
   color: #2f6fab;
   margin-left: 1em;
   line-height: 1.2em;
   background: #c2c2c2;

} </style>

<a href="http://gameknot.com/?rfr=cjbeckwith">Play chess online padding: 0.5em 5em 0.5em 5em </a>

Personal tools