MediaWiki:Monobook.css : Différence entre versions
De Wiki Centenaire de la Grande Guerre
Ligne 8 : | Ligne 8 : | ||
border-right: none; | border-right: none; | ||
line-height: 1.5em; | line-height: 1.5em; | ||
+ | } | ||
+ | |||
+ | .portlet { | ||
+ | border: none; | ||
+ | margin: 0 0 .5em; | ||
+ | padding: 0; | ||
+ | float: none; | ||
+ | width: 11.6em; | ||
+ | overflow: hidden; | ||
+ | } | ||
+ | .portlet h4 { | ||
+ | font-size: 95%; | ||
+ | font-weight: normal; | ||
+ | white-space: nowrap; | ||
+ | } | ||
+ | .portlet h5 { | ||
+ | background: transparent; | ||
+ | padding: 0 1em 0 .5em; | ||
+ | display: inline; | ||
+ | height: 1em; | ||
+ | text-transform: lowercase; | ||
+ | font-size: 91%; | ||
+ | font-weight: normal; | ||
+ | white-space: nowrap; | ||
+ | } | ||
+ | .portlet h6 { | ||
+ | background: #ffae2e; | ||
+ | border: 1px solid #2f6fab; | ||
+ | border-style: solid solid none solid; | ||
+ | padding: 0 1em 0 1em; | ||
+ | text-transform: lowercase; | ||
+ | display: block; | ||
+ | font-size: 1em; | ||
+ | height: 1.2em; | ||
+ | font-weight: normal; | ||
+ | white-space: nowrap; | ||
+ | } | ||
+ | .pBody { | ||
+ | font-size: 95%; | ||
+ | background-color: transparent; | ||
+ | color: black; | ||
+ | border-collapse: collapse; | ||
+ | border: 0px solid #aaa; | ||
+ | padding: 0 .8em .3em .5em; | ||
+ | } | ||
+ | .portlet h1, | ||
+ | .portlet h2, | ||
+ | .portlet h3, | ||
+ | .portlet h4 { | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | } | ||
+ | .portlet ul { | ||
+ | line-height: 1.5em; | ||
+ | list-style-type: square; | ||
+ | list-style-image: url(bullet.gif); | ||
+ | font-size: 95%; | ||
+ | } | ||
+ | .portlet li { | ||
+ | padding: 0; | ||
+ | margin: 0; | ||
} | } |
Version du 10 décembre 2014 à 16:48
/* Le CSS placé ici affectera les utilisateurs de l’habillage Monobook. */ #content { background: none ; color: white ; border: 1px solid #aaa; border-right: none; line-height: 1.5em; } .portlet { border: none; margin: 0 0 .5em; padding: 0; float: none; width: 11.6em; overflow: hidden; } .portlet h4 { font-size: 95%; font-weight: normal; white-space: nowrap; } .portlet h5 { background: transparent; padding: 0 1em 0 .5em; display: inline; height: 1em; text-transform: lowercase; font-size: 91%; font-weight: normal; white-space: nowrap; } .portlet h6 { background: #ffae2e; border: 1px solid #2f6fab; border-style: solid solid none solid; padding: 0 1em 0 1em; text-transform: lowercase; display: block; font-size: 1em; height: 1.2em; font-weight: normal; white-space: nowrap; } .pBody { font-size: 95%; background-color: transparent; color: black; border-collapse: collapse; border: 0px solid #aaa; padding: 0 .8em .3em .5em; } .portlet h1, .portlet h2, .portlet h3, .portlet h4 { margin: 0; padding: 0; } .portlet ul { line-height: 1.5em; list-style-type: square; list-style-image: url(bullet.gif); font-size: 95%; } .portlet li { padding: 0; margin: 0; }