Mediawiki

From campisano.org
Jump to navigation Jump to search

CSS

  • edit CSS page in YOURHOST/wiki/en/MediaWiki:Common.css
  • check CSS selectors there

Really preformatted text

  • To have a more realiable result, use the <pre></pre> tag and edit the Common.css file adding the follow:
pre {
    overflow: scroll;
    white-space: pre; 
    white-space: -moz-pre; 
    white-space: -pre; 
    white-space: -o-pre;
    width:95%;
    font-size:12px;
    font-style:normal;
    font-family:"courier new", monospace;
    font-weight:normal;
}

Enhance Menu items

.mw-body h1.firstHeading { 
    color: #666666;
    margin-top: 0;
}

.mw-body h1 span.mw-headline {
    margin-top: 60px;
    font-size: 28pt;
}

.mw-body h2 span.mw-headline {
    margin-top: 50px;
    font-size: 24pt;
}

.mw-body h3 span.mw-headline {
    margin-top: 40px;
    font-size: 20pt;
}

.mw-body h4 span.mw-headline {
    margin-top: 30px;
    font-size: 16pt;
}

.mw-body h5 span.mw-headline {
    margin-top: 20px;
    font-size: 12pt;
}