Plain.css

From W3C Wiki


/*  

    CSS in Wiki, an example of WideOpenSource

    Modified MoinMoin Default Styles

    Copyright (c) 2000 by Jürgen Hermann

    Modified extensively by sandro@w3.org and 
    maybe other users of this Wiki.

    To use this as your Wiki style, visit UserPreferences
    and change your style to: /topic/plain_2ecss?action=raw

    Feel free to improve this.  The idea is to be pretty
    simple and plain, but of course scalable.  

    One big glitch right now is that the non-content decorations
    (the header and footer) are not strictly distinguishable in
    all cases.   I'm trying to inset the margins on the content,
    but I can't get the distinction perfect.   
    ==> ah, but that can be fixed by setting page_footer1,
    page_footer2, title1, and title2!

    Why not @import from default style?   Because the default
    moinmoin style sets lots of values (like font sizes) which we
    want to directly inherit from the browser.  Newer versions
    of the default style are supposed to be better about this,
    thought.

*/

body {
   background: white;
   color: blue;
   font-family: sans-serif;
}

h1,h2,h3,h4,h5,h6 {
  color: #009a7c;
  background: white;
}

h1 { margin-left: 0% }
h2 { margin-left: 2% }
h3 { margin-left: 3% }
h3 { margin-left: 4% }
h4 { margin-left: 4% }
h5 { margin-left: 4% }
h6 { margin-left: 4% }
/* h3 { color: black; font-size:95% } */

/* this is what wiki puts normal content in */
p,ul,ol, li, pre {
  font-family: sans-serif;
  margin-left: 6%;
  margin-right: 6%;
}

.headline {
  font-family: sans-serif;
  font-size: 1.6em;  
  color: #cc9a7c;
  padding-left: 66px;
  background: url(http://www.w3.org/2004/05/sew-esw.png) no-repeat;
}

a.nonexistent {
  /*  font-weight: bold;
    background-color: #F8F8F8;
    color: #FF2222;  */
   background-color: #DDDDDD;
}
a.nonexistent:visited {
    background-color: #F8F8F8;
    color: #FF2222;
}

/*    FROM HERE ON IS PRETTY MUCH THE STD MOINMOIN CSS */ 

dl,ul,ol {
    margin-top: 1pt;
}
tt,pre {
    font-family: Lucida Console,Courier New,Courier,monotype;
    /*font-size: 10pt;*/
}
pre.code {
    margin-top: 1em;
    margin-bottom: 1em;
    background-color: #FFFFEE;
    white-space:pre;
    border-style:solid;
    border-width:1px;
    border-color:#999999;
    color:#111111;
    padding: 0.5em;
    width:100%;
}
div.diffold {
    background-color: #FFFF80;
    border-style:none;
    border-width:thin;
    width:100%;
}
div.diffnew {
    background-color: #80FF80;
    border-style:none;
    border-width:thin;
    width:100%;
}
div.message {
    margin-top: 6pt;
    background-color: #E8FFE8;
    border-style:solid;
    border-width:1pt;
    border-color:#999999;
    color:#440000;
    padding:5px;
    width:100%;
}
strong.highlight {
    background-color: #FFBBBB;
/* as usual, NetScape messes with innocent CSS
    border-color: #FFAAAA;
    border-style: solid;
    border-width: 1pt;
*/
}

table.navibar {
    background-color: #C8C8C8;
    background-color: #F5F5F5;
    border-spacing: 3px;
}
td.navibar {
    background-color: #E8E8E8;
    background-color: #F5F5F5;
    vertical-align: middle;
    text-align: right;
    padding: 0px;
}

a.navibar {
    text-decoration: none;
}
font.navibar {
    font-family: Arial,Helvetica,Sans-Serif;
    font-size: 0.7em
}

/*
  • /