MediaWiki:Chameleon.css : Différence entre versions
De Bayoen ! (wiki)
| Ligne 1 : | Ligne 1 : | ||
.spoiler { | .spoiler { | ||
color: #d9edf7; | color: #d9edf7; | ||
| + | } | ||
| + | |||
| + | .spoiler div { | ||
| + | visibility: hidden; | ||
} | } | ||
| Ligne 15 : | Ligne 19 : | ||
border-right-style: solid; | border-right-style: solid; | ||
border-bottom-style: solid; | border-bottom-style: solid; | ||
| + | border-width: 1px; | ||
| + | position: inherit; | ||
| + | font-weight: bold; | ||
| + | font-style: italic; | ||
| + | font-variant: small-caps; | ||
| + | } | ||
| + | |||
| + | .spoiler:after { | ||
| + | content: "SPOILER (cliquez sur cette section pour révéler le contenu)"; | ||
| + | color: #31708f; | ||
| + | background-color: #FFF; | ||
| + | margin-right: -16px; | ||
| + | margin-bottom: -16px; | ||
| + | float: left; | ||
| + | padding-left: 8px; | ||
| + | padding-right: 8px; | ||
| + | border-color: inherit; | ||
| + | border-left-style: solid; | ||
| + | border-top-style: solid; | ||
border-width: 1px; | border-width: 1px; | ||
position: inherit; | position: inherit; | ||
Version du 2 mars 2014 à 17:24
.spoiler {
color: #d9edf7;
}
.spoiler div {
visibility: hidden;
}
.spoiler:before {
content: "SPOILER (cliquez sur cette section pour révéler le contenu)";
color: #31708f;
background-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;
position: inherit;
font-weight: bold;
font-style: italic;
font-variant: small-caps;
}
.spoiler:after {
content: "SPOILER (cliquez sur cette section pour révéler le contenu)";
color: #31708f;
background-color: #FFF;
margin-right: -16px;
margin-bottom: -16px;
float: left;
padding-left: 8px;
padding-right: 8px;
border-color: inherit;
border-left-style: solid;
border-top-style: solid;
border-width: 1px;
position: inherit;
font-weight: bold;
font-style: italic;
font-variant: small-caps;
}
