MediaWiki:Common.css
From WikiPathways
(Difference between revisions)
| Line 28: | Line 28: | ||
margin-right: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; | ||
| + | } | ||
Revision as of 21:29, 6 April 2007
/** CSS placed here will be applied to all skins */
/*****
** 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;
}

