MediaWiki:Common.css
From WikiPathways
(Difference between revisions)
| Line 17: | Line 17: | ||
margin-top: 0; | margin-top: 0; | ||
} | } | ||
| - | |||
.yellowBg { | .yellowBg { | ||
| - | background-color: # | + | background-color: #FFFFBF; |
border: 1px solid #FFF67A; | border: 1px solid #FFF67A; | ||
} | } | ||
.yellowFg { | .yellowFg { | ||
| - | background-color: # | + | background-color: #FFFF80; |
border: none; | border: none; | ||
} | } | ||
| - | |||
.redBg { | .redBg { | ||
| - | background-color: # | + | background-color: #FFD9D9; |
| - | border: 1px solid # | + | border: 1px solid #FF9B9B; |
} | } | ||
.redFg { | .redFg { | ||
| - | background-color: # | + | background-color:#FF9B9B; |
border: none; | border: none; | ||
} | } | ||
.blueBg { | .blueBg { | ||
| - | background-color: # | + | background-color: #D7D5FF; |
| - | border: 1px solid # | + | border: 1px solid #B5B0FF; |
} | } | ||
.blueFg { | .blueFg { | ||
| - | background-color: # | + | background-color:#B5B0FF; |
border: none; | border: none; | ||
} | } | ||
.greenBg { | .greenBg { | ||
| - | background-color: # | + | background-color: #E5FFDD; |
| - | border: 1px solid # | + | border: 1px solid #CCFFBC; |
} | } | ||
.greenFg { | .greenFg { | ||
| - | background-color: # | + | background-color: #CCFFBC; |
border: none; | border: none; | ||
} | } | ||
| - | |||
| - | |||
Revision as of 23:05, 9 April 2007
/** CSS placed here will be applied to all skins */
/*****
* Panels for frontpage
******/
.frontPagePanel {
font-family: Arial, Helvetica, sans-serif;
}
div.frontPagePanel {
vertical-align: top;
height: 50%;
width: 50%;
padding: 0.2em;
}
h2.frontPagePanel {
margin-top: 0;
}
.yellowBg {
background-color: #FFFFBF;
border: 1px solid #FFF67A;
}
.yellowFg {
background-color: #FFFF80;
border: none;
}
.redBg {
background-color: #FFD9D9;
border: 1px solid #FF9B9B;
}
.redFg {
background-color:#FF9B9B;
border: none;
}
.blueBg {
background-color: #D7D5FF;
border: 1px solid #B5B0FF;
}
.blueFg {
background-color:#B5B0FF;
border: none;
}
.greenBg {
background-color: #E5FFDD;
border: 1px solid #CCFFBC;
}
.greenFg {
background-color: #CCFFBC;
border: none;
}
/*****
** Table formatting
*****/
table.wikitable,
table.prettytable {
margin:1em 1em 1em 0;
background:#F9F9F9;
border:1px #AAA solid;
border-collapse:collapse;
}
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
border:1px #AAA solid;
padding:0.2em;
}
table.wikitable th,
table.prettytable th {
background:#F2F2F2;
text-align:center;
}
table.wikitable caption,
table.prettytable caption {
margin-left:inherit;
margin-right:inherit;
}
/******
* Rounded corners in Mozilla
******/
#p-cactions ul li, #p-cactions ul li a {
-moz-border-radius-topleft: 1em;
-moz-border-radius-topright: 1em;
}
#content {
-moz-border-radius-topleft: 1em;
-moz-border-radius-bottomleft: 1em;
}
div.pBody {
-moz-border-radius-topright: 1em;
-moz-border-radius-bottomright: 1em;
}
/* same following the css3 draft specs, any browsers supporting this? */
#p-cactions ul li, #p-cactions ul li a {
border-radius-topleft: 1em;
border-radius-topright: 1em;
}
#content {
border-radius-topleft: 1em;
border-radius-bottomleft: 1em;
}
div.pBody {
border-radius-topright: 1em;
border-radius-bottomright: 1em;
}

