MediaWiki:Chameleon.css : Différence entre versions
De Bayoen ! (wiki)
| Ligne 3 : | Ligne 3 : | ||
} | } | ||
| − | .spoiler: | + | .spoiler:before { |
| − | content: "Spoiler"; | + | content: "Spoiler"; |
| − | color: #FFF; | + | color: #FFF; |
| + | margin-left: -16px; | ||
| + | margin-top: -16px; | ||
| + | float: left; | ||
| + | padding-left: 8px; | ||
| + | padding-right: 8px; | ||
| + | border-color: inherit; | ||
| + | border-right-style: solid; | ||
| + | border-bottom-style: solid; | ||
| + | border-width: 1px; | ||
} | } | ||
Version du 2 mars 2014 à 16:41
.spoiler {
color: #000;
}
.spoiler:before {
content: "Spoiler";
color: #FFF;
margin-left: -16px;
margin-top: -16px;
float: left;
padding-left: 8px;
padding-right: 8px;
border-color: inherit;
border-right-style: solid;
border-bottom-style: solid;
border-width: 1px;
}
