Header

From Ars Magica

Revision as of 21:30, 26 March 2006 by Admin (Talk | contribs)

<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   
 */

/*

Contents

Background

  • /
  1. content {
   margin: 2.2em 0 0 12.2em;
   padding: 0em 1em 1.5em 1em;

/* background = main content area background colour */

   background: #F5FFE6;
   border: 1px solid #006400;
   border-right: none;
   line-height: 1.5em;
   position: relative;
   z-index: 2;

} /*

banner on header

  • /

/*

background colour with text colour

  • /

body {

   font: x-small sans-serif;
   background: #E6FFBF url("Header.jpg") 0em 0px no-repeat;

/* colour of text throughout the wiki */

   color: Black;
   margin: 0;
   padding: 16.0em 0.2em;

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

   font-size: 100%;
   background: #E6FFBF;

} /*

Non existent links - on page - colour change

  • /

a {

   text-decoration: none;
   color: #99BF60;
   background: none;

} a:visited { color:#006400; } a:active { color: #6B8E23; } a:hover { text-decoration: underline; } a.stub { color: #6B8E23; } a.new, .special a.new { color:#006400; }

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

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

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

/*

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

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

}

  1. preftoc a,
  2. preftoc a:active {
   display: block;
   color: #006400;

}

/*

settings for the horizontal rules (lines)

  • /

hr {color: #006400;

   background-color: #006400;
   border: 0;
   margin: 0.2em 0 0.2em 0;

}

/* code boxes when displaying pages */ code { background-color: E6FFBF; } pre {

   padding: 1em;
   border: 1px dashed #006400;
   color: #006400;
   background-color: #E6FFBF;
   line-height: 1.1em;

}

/*

More colour when displaying text

  • /

fieldset {

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

}

/*

Changes the colour of the section headings in preferences, and probably elsewhere

  • /

legend {

   background: #CCFF80;
   padding: 1.5em;
   font-size: 95%;

}

  1. contentSub { color: purple }
  2. catlinks {
   border:1px solid #006400;
   background-color:#CCFF80;
   padding:5px;
   margin-top: 1em;
   clear: both;

}

/*

Table of contents?

  • /
  1. toc {
   border:1px solid #006400;
   background-color:#CCFF80;
   padding:5px;
   font-size: 95%;

}

/*

images

  • /

div.floatright, table.floatright {

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

/*

   border: 0.5em solid #006400;
   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: #CCFF80;

/*

   margin: 0.3em 0.5em 0.5em 0;
   border: 0.5em solid #006400;
   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: #006400;
   background-color: #CCFF80;
   
   width: auto;

} div.thumb div {

   border:1px solid #006400;
   padding: 3px !important;
   background-color:#CCFF80;
   font-size: 94%;
   text-align: center;
   overflow: hidden;

}

/*

edit views, etc.

  • /

.special li {

   line-height: 1.4em;
   margin: 0;
   padding: 0;

}

/*

Page history styling

  • /

/*

The auto-generated edit comments

  • /

.autocomment { color: 006400; }

  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 #006400; }
  3. pagehistory li.selected {
   background-color:#CCFF80;
   border:1px dashed #006400;

} /*

Diff rendering

  • /

table.diff { background:#CCFF80; } td.diff-otitle { background:#CCFF80; } td.diff-ntitle { background:#CCFF80; } td.diff-addedline {

   background:#CCFF80;
   font-size: smaller;

} td.diff-deletedline {

   background:#CCEE80;
   font-size: smaller;

} td.diff-context {

   background:#CCFF80;
   font-size: smaller;

} span.diffchange { color: #7FFFDF; font-weight: bold; }


form {

   background: #CCFF80;
   border: none;
   margin: 0;

}

/*

Gallery tags

  • /

table.gallery { border: 2px solid #006400; margin: 2px; padding: 2px; background-color:#F5FFE6; } table.gallery td { vertical-align:top; background-color:#CCFF80; border: solid 2px #006400; }

/*

Sidebar/Navigation bar

  • /

/*

height of nav bar

  • /
  1. column-one { padding-top: 170px; }

/*

navbar style: colour background, colour line items

  • /

.portlet h6,h5,h4 {color:#006400;}

.pBody {

   font-size: 95%;
   background: #CCFF80;
   border-collapse: collapse;
   border: 1px solid #006400;
   padding: 0 0.8em 0.3em 0.5em;

} .portlet li {

   padding: 0;
   margin: 0;
   background: #CCFF80;

}

/*

navbar style: link text

  • /

.portlet a {color:#006400;}

/*

navbar style: search box

  • /
  1. p-search .pBody {
   text-align: center;
   background: #CCFF80;

}

/*

quickbar: article, edit, ... watch tags

  • /
  1. p-cactions {
   position:absolute;
   top: 15.0em;
   left: 10;
   margin: 0;
   white-space:nowrap;
   width: 76%;
   line-height: 1.1em;
   overflow: visible;
   background: none;
   border-collapse: collapse;
   padding-left: 1em;
   list-style: none;
   font-size: 95%;

}

  1. p-cactions li {
   display: inline;
   border: 1px solid #006400;
   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: #006400;
   padding: 0 0 0.2em 0;

}

  1. p-cactions li a {
   background-color: #CCFF80;
   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: #006400;
   margin-left: 1em;
   line-height: 1.2em;
   background: #E6FFBF;

} /*

footer needs to be colour too

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

} </style>

<plain_html>
</plain_html>

Personal tools