MediaWiki:Monobook.css
From Sinz Family Wiki
(Difference between revisions)
Revision as of 03:35, 2 April 2006 Mks (Talk | contribs) ← Previous diff |
Revision as of 03:39, 2 April 2006 Mks (Talk | contribs) Next diff → |
||
Line 1: | Line 1: | ||
/* edit this file to customize the monobook skin for the entire site */ | /* edit this file to customize the monobook skin for the entire site */ | ||
+ | |||
+ | |||
/* make a few corners round, only supported by moz/firefox/other gecko browsers for now */ | /* make a few corners round, only supported by moz/firefox/other gecko browsers for now */ | ||
#p-cactions ul li, #p-cactions ul li a { | #p-cactions ul li, #p-cactions ul li a { | ||
Line 27: | Line 29: | ||
border-radius-bottomright: 1em; | border-radius-bottomright: 1em; | ||
} | } | ||
+ | |||
+ | /* Transform the user toolbar into a sidebox */ | ||
+ | #p-personal { | ||
+ | position:relative; | ||
+ | z-index:3; | ||
+ | width: 11.6em; | ||
+ | } | ||
+ | |||
+ | #p-personal .pBody { | ||
+ | width: 10.7em; | ||
+ | border: none; | ||
+ | margin: 0 0 0.1em 0em; | ||
+ | float: none; | ||
+ | overflow: hidden; | ||
+ | font-size: 95%; | ||
+ | background: White; | ||
+ | border-collapse: collapse; | ||
+ | border: 1px solid #aaaaaa; | ||
+ | padding: 0 0.8em 0.3em .5em; | ||
+ | } | ||
+ | |||
+ | #p-personal ul { | ||
+ | line-height: 1.5em; | ||
+ | list-style-type: square; | ||
+ | list-style-image: url("/style/monobook/bullet.gif"); | ||
+ | |||
+ | font-size:95%; | ||
+ | margin: 0 0 0 1.5em; | ||
+ | padding:0; | ||
+ | text-align:left; | ||
+ | text-transform: none; | ||
+ | } | ||
+ | |||
+ | #p-personal li { | ||
+ | display: list-item; | ||
+ | padding:0; | ||
+ | margin: 0 0 0 0; | ||
+ | margin-bottom: 0.1em; | ||
+ | } | ||
+ | |||
+ | /* suppress the person icon by your username */ | ||
+ | /* needed if not already in place */ | ||
+ | li#pt-userpage { background: none } |
Revision as of 03:39, 2 April 2006
/* edit this file to customize the monobook skin for the entire site */
/* make a few corners round, only supported by moz/firefox/other gecko browsers for now */
- 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;
}
/* Transform the user toolbar into a sidebox */
- p-personal {
position:relative; z-index:3; width: 11.6em;
}
- p-personal .pBody {
width: 10.7em; border: none; margin: 0 0 0.1em 0em; float: none; overflow: hidden; font-size: 95%; background: White; border-collapse: collapse; border: 1px solid #aaaaaa; padding: 0 0.8em 0.3em .5em;
}
- p-personal ul {
line-height: 1.5em; list-style-type: square; list-style-image: url("/style/monobook/bullet.gif");
font-size:95%; margin: 0 0 0 1.5em; padding:0; text-align:left; text-transform: none;
}
- p-personal li {
display: list-item; padding:0; margin: 0 0 0 0; margin-bottom: 0.1em;
}
/* suppress the person icon by your username */ /* needed if not already in place */ li#pt-userpage { background: none }