MediaWiki:Chameleon.css : Différence entre versions

De Bayoen ! (wiki)
Ligne 1 : Ligne 1 :
 
.spoiler {
 
.spoiler {
color: #d9edf7;
+
    color: #d9edf7;
 
}
 
}
  
 
.spoiler div {
 
.spoiler div {
visibility: hidden;
+
    visibility: hidden;
 
}
 
}
  
 
.spoiler:before {
 
.spoiler:before {
content: "SPOILER (cliquez sur cette section pour révéler le contenu)";
+
    content: "SPOILER (cliquez sur cette section pour révéler le contenu)";
color: #31708f;
+
    color: #31708f;
background-color: #FFF;
+
    background-color: #FFF;
margin-left: -16px;
+
    margin-left: -16px;
margin-top: -16px;
+
    margin-top: -16px;
float: left;
+
    float: left;
padding-left: 8px;
+
    padding-left: 8px;
padding-right: 8px;
+
    padding-right: 8px;
border-color: inherit;
+
    border-color: inherit;
border-right-style: solid;
+
    border-right-style: solid;
border-bottom-style: solid;
+
    border-bottom-style: solid;
border-width: 1px;
+
    border-width: 1px;
position: inherit;
+
    position: inherit;
font-weight: bold;
+
    font-weight: bold;
font-style: italic;
+
    font-style: italic;
font-variant: small-caps;
+
    font-variant: small-caps;
font-size: x-small;
+
    font-size: x-small;
 
}
 
}
  
 
.thumb {
 
.thumb {
border-style: solid;
+
    border-style: solid;
border-width: 1px 3px 1px 3px;
+
    border-width: 1px 3px 1px 3px;
padding: 8px;
+
    padding: 8px;
margin: 8px;
+
    margin: 8px;
background-color: #d9edf7;
+
    background-color: #d9edf7;
border-color: #5bc0de;
+
    border-color: #5bc0de;
color: #31708f;
+
    color: #31708f;
font-size: smaller;
+
    font-size: smaller;
text-align: center;
+
    text-align: center;
 
}
 
}
  
 
ul.gallery {
 
ul.gallery {
text-align: center;
+
    text-align: center;
 
}
 
}
  
 
.gallerytext > p {
 
.gallerytext > p {
text-align: center;
+
    text-align: center;
 
}
 
}
  
 
li.gallerybox div.thumb {
 
li.gallerybox div.thumb {
text-align: center;
+
    text-align: center;
border: 1px solid #5bc0de;
+
    border: 1px solid #5bc0de;
border-left-width: 3px;
+
    border-left-width: 3px;
border-right-width: 3px;
+
    border-right-width: 3px;
border-top-style: none;
+
    border-top-style: none;
border-bottom-style: none;
+
    border-bottom-style: none;
background-color: #d9edf7;
+
    background-color: #d9edf7;
margin: 2px;
+
    margin: 2px;
}
+
 
+
li.gallerybox div.gallerytext {
+
text-align: center;
+
border: 1px solid #5bc0de;
+
border-left-width: 3px;
+
border-right-width: 3px;
+
border-top-style: none;
+
border-bottom-style: none;
+
background-color: #d9edf7;
+
 
}
 
}

Version du 9 mars 2014 à 00:36

.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;
    font-size: x-small;
}

.thumb {
    border-style: solid;
    border-width: 1px 3px 1px 3px;
    padding: 8px;
    margin: 8px;
    background-color: #d9edf7;
    border-color: #5bc0de;
    color: #31708f;
    font-size: smaller;
    text-align: center;
}

ul.gallery {
    text-align: center;
}

.gallerytext > p {
    text-align: center;
}

li.gallerybox div.thumb {
    text-align: center;
    border: 1px solid #5bc0de;
    border-left-width: 3px;
    border-right-width: 3px;
    border-top-style: none;
    border-bottom-style: none;
    background-color: #d9edf7;
    margin: 2px;
}