MediaWiki:Common.css
Un article de Samba en France.
(Différences entre les versions)
Version du 27 mars 2007 à 17:45 (modifier) AlNo (Discuter | contributions) m (styles pour les anonymes) ← Différence précédente |
Version actuelle (20 octobre 2010 à 18:05) (modifier) (défaire) AlNo (Discuter | contributions) m (couleur du fond général) |
||
(17 intermediate revisions not shown.) | |||
Ligne 5: | Ligne 5: | ||
Cette page contrôle l'apparence, pour toutes les skins. | Cette page contrôle l'apparence, pour toutes les skins. | ||
- | Les modifications devant s'appliquer à l'apparence Monobook seulement doivent aller dans [[MediaWiki:Monobook.css|Monobook.css]] | + | Les modifications devant s'appliquer à l'apparence Sambistas seulement doivent aller dans [[MediaWiki:Sambistas.css|Sambistas.css]] |
<pre> */ | <pre> */ | ||
+ | |||
+ | /* | ||
+ | ** Correction pour le rendu sous Firefox 3.0 | ||
+ | */ | ||
+ | #column-content { | ||
+ | width: 99.4%; | ||
+ | float: right; | ||
+ | margin: 0 0 .6em -12.2em; | ||
+ | padding: 0; | ||
+ | } | ||
/* | /* | ||
Ligne 14: | Ligne 24: | ||
*/ | */ | ||
body { | body { | ||
- | background: url(http://sambistas.online.fr/en-france/images/fonds/fondSambaFr.gif) white; | + | background: url("http://sambistas.online.fr/images/fonds/fondSambaFr-new.gif") repeat-y scroll #fffff8; |
- | background-repeat: repeat-y ; /* répétition verticale seulement */ | + | background-repeat: repeat-y ; /* répétition verticale seulement */ |
} | } | ||
Ligne 21: | Ligne 31: | ||
/* | /* | ||
** general portlet styles (elements in the quickbar) | ** general portlet styles (elements in the quickbar) | ||
+ | ** change colors when the mouse passes over the items | ||
*/ | */ | ||
.portlet { | .portlet { | ||
- | margin-left: 10px; | + | margin-left: 10px; |
- | text-align: right; | + | text-align: right; |
- | text-color: #D0DDD0; /* dark green */ | + | } |
+ | .portlet:hover h5 { | ||
+ | background-color: #CCCCCC; | ||
+ | } | ||
+ | .portlet h5 { | ||
+ | background-color: #EEEEEE; | ||
+ | padding-right: 10px; | ||
+ | padding-left: 10px; | ||
} | } | ||
.pBody { | .pBody { | ||
- | background-color: #F0FFF0; /* very light green */ | + | background-color: #E0FFE0; /* light green */ |
- | text-align: left; | + | text-align: left; |
} | } | ||
- | + | .pBody:hover{ | |
- | + | background-color: lightyellow; | |
- | /* | + | } |
- | ** Logo properties | + | .pBody ul { |
- | */ | + | margin-left: 0; |
- | #p-logo a, | + | padding-left: 0; |
- | #p-logo a:hover { | + | } |
- | height: 110px; | + | .pBody ul li { |
- | width: 110px; | + | list-style-type: none; |
- | margin-top: 1.2em; | + | } |
- | margin-left: 9px; | + | .pBody ul li a:hover { |
+ | background-color: #FFFF80; | ||
} | } | ||
Version actuelle
/*
Feuille de style globale
Cette page contrôle l'apparence, pour toutes les skins.
Les modifications devant s'appliquer à l'apparence Sambistas seulement doivent aller dans Sambistas.css
*/ /* ** Correction pour le rendu sous Firefox 3.0 */ #column-content { width: 99.4%; float: right; margin: 0 0 .6em -12.2em; padding: 0; } /* ** fond de page */ body { background: url("http://sambistas.online.fr/images/fonds/fondSambaFr-new.gif") repeat-y scroll #fffff8; background-repeat: repeat-y ; /* répétition verticale seulement */ } /* ** general portlet styles (elements in the quickbar) ** change colors when the mouse passes over the items */ .portlet { margin-left: 10px; text-align: right; } .portlet:hover h5 { background-color: #CCCCCC; } .portlet h5 { background-color: #EEEEEE; padding-right: 10px; padding-left: 10px; } .pBody { background-color: #E0FFE0; /* light green */ text-align: left; } .pBody:hover{ background-color: lightyellow; } .pBody ul { margin-left: 0; padding-left: 0; } .pBody ul li { list-style-type: none; } .pBody ul li a:hover { background-color: #FFFF80; } /* Anonymous user IP and talk page link are hidden */ #p-personal.portlet .pBody #pt-anonuserpage { display: none; } #p-personal.portlet .pBody #pt-anontalk { display: none; } /* ** footer */ #footer { background-color: transparent; }