User:DonRedman/CSS: Difference between revisions

From MusicBrainz Wiki
Jump to navigationJump to search
(grmbl (Imported from MoinMoin))
m (3 revision(s))
 
(No difference)

Latest revision as of 08:27, 15 March 2009

/* common.css - MoinMoin Default Styles

Copyright (c) 2001, 2002, 2003 by Juergen Hermann */

/* content styles */

html {

  • background-color: red; color: black; font-family: Arial, Lucida Grande, sans-serif; font-size: 1em; line-height: 1.25em;

}

body {

  • margin: 0;

}

/* Links */

a {color: #0044B3;} a:visited {color: #597BB3;} a.nonexistent, a.badinterwiki {color: gray;}

/* Headings */

h1 {

  • margin: 0; padding: 0; color: black; font-size: 2em; font-weight: bold; line-height: 1.2em;

}

h1 a, h1 a:visited {

  • text-decoration: none; color: black;

}

h2, h3, h4, h5, h6 {

  • margin: 1.5em 0 0 0; padding: 0; color: black; line-height: 1.2em;

}

h2 {font-size: 1.6em;} h3 {font-size: 1.3em;} h4 {font-size: 1.1em;} h5, h6 {font-size: 1em;}

li p {

  • margin: .25em 0;

}

li.gap {

  • margin-top: 0.5em;

}

dt {

  • margin-top: 0.5em; font-weight: bold;

}

dd {

  • margin-top: 0; margin-bottom: 0;

}

dd p {

  • margin: 0.25em 0;

}

a, img, img.drawing {

  • border: 0;

}

pre {

  • white-space: pre-wrap; word-wrap: break-word; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; /* end css 3 or browser specific rules */

}

table {

  • margin: 0.5em 0; border-collapse: collapse;

}

td {

  • padding: 0.25em; border: 1pt solid #ADB9CC;

}

td p {

  • margin: 0; padding: 0;

}

.footnotes div {

  • width: 5em; border-top: 1pt solid gray;

}

.footnotes ul {

  • padding: 0 2em; margin: 0 0 1em; list-style: none;

}

.footnotes li { }

.info {

  • font-size: 0.85em; color: gray;

}

  1. pageinfo {
  • margin-top: 2em;

}

.seperator {

  • color: gray;

}

/* standard rule


*/ hr { 
  • clear: both; height: 1pt; background-color: #9C9C9C; border: 0;

}

/* custom rules


to 

*/ .hr1 {height: 2pt;} .hr2 {height: 3pt;} .hr3 {height: 4pt;} .hr4 {height: 5pt;} .hr5 {height: 6pt;} .hr6 {height: 7pt;} 

/* Replacement for html 3 u tag */ .u {text-decoration: underline;}

/* eye catchers */ .warning {

  • color: red;

}

.error {

  • color: red;

}

strong.highlight {

  • background-color: #CCE0FF; padding: 1pt;

}

/* Recent changes */

.rcrss {

  • float: right; margin: 0;

}

.recentchanges[dir="rtl"] .rcrss {

  • float: left;

}

.recentchanges table {

  • clear: both;

}

.recentchanges td {

  • vertical-align: top; border: none; border-bottom: 1pt solid #E6EAF0; background: #F2F4F7;

}

.rcdaybreak td {

  • background: #B8C5D9; border: none;

}

.rcdaybreak td a {

  • font-size: 0.88em;

}

.rcicon1, .rcicon2 {

  • text-align: center;

}

.rcpagelink {

  • width: 33%;

}

.rctime {

  • font-size: 0.88em; white-space: nowrap;

}

.rceditor {

  • white-space: nowrap; font-size: 0.88em;

}

.rccomment {

  • width: 66%; color: gray; font-size: 0.88em;

}

/* User Preferences */

.userpref table, .userpref td {

  • border: none;

}

/* CSS for new code_area markup used by Colorizer and ParserBase */

div.codearea { /* the div makes the border */

  • margin: 0.5em 0; padding: 0; border: 1pt solid #AEBDCC; background-color: #F3F5F7; color: black;

}

div.codearea pre { /* the pre has no border and is inside the div */

  • margin: 0; padding: 10pt; border: none;

}

a.codenumbers { /* format of the line numbering link */

  • margin: 0 10pt; font-size: 0.85em; color: gray;

}

/* format of certain syntax spans */ div.codearea pre span.LineNumber {color: gray;} div.codearea pre span.ID {color: #000000;} div.codearea pre span.Operator {color: #0000C0;} div.codearea pre span.Char {color: #004080;} div.codearea pre span.Comment {color: #008000;} div.codearea pre span.Number {color: #0080C0;} div.codearea pre span.String {color: #004080;} div.codearea pre span.SPChar {color: #0000C0;} div.codearea pre span.ResWord {color: #A00000;} div.codearea pre span.ConsWord {color: #008080; font-weight: bold;} div.codearea pre span.Error {color: #FF8080; border: solid 1.5pt #FF0000;} div.codearea pre span.ResWord2 {color: #0080ff; font-weight: bold;} div.codearea pre span.Special {color: #0000ff;} div.codearea pre span.Preprc {color: #803999;}

/* Search results */

.searchresults dt {

  • margin-top: 1em;
    • font-weight: normal;

}

.searchresults dd {

  • font-size: 0.85em;

}