« MediaWiki:Common.css » : différence entre les versions
De Site 97 | Wiki
Contenu ajouté Contenu supprimé
(Modification de l'arrière plan des bandeaux) |
(Ajout d'une classe de style pour les rapports) |
||
Ligne 6 : | Ligne 6 : | ||
text-shadow: 0 0 15px #000; |
text-shadow: 0 0 15px #000; |
||
} |
} |
||
. |
.rapport { |
||
border:1px dashed #999; |
border: 1px dashed #999; |
||
padding: 0 1em; |
|||
background-color: rgba(255,255,255,0.1); |
|||
padding:0 1em; |
|||
margin: |
margin: 0; |
||
color: unset; |
|||
font-style: unset; |
|||
margin-block-end: 1em; |
|||
margin-inline-start:40px; |
|||
margin-inline-end:40px; |
|||
} |
} |
||
Version du 30 juin 2023 à 14:11
.Redacted::selection {
text-shadow: 0 0 3px #000;
}
.Redacted {
color: transparent;
text-shadow: 0 0 15px #000;
}
.rapport {
border: 1px dashed #999;
padding: 0 1em;
background-color: rgba(255,255,255,0.1);
margin: 0;
color: unset;
font-style: unset;
}
.mw-footer-container {
padding-top: 0;
}
.toc {
clear: right;
float: right;
margin-bottom: 0;
margin-top: 0;
margin-left: 1em;
}
.bandeau-article,
.bandeau-discussion,
.bandeau-simple,
.bandeau-systeme,
.bandeau-section {
border-style: solid;
overflow: hidden;
position: relative;
}
.bandeau-article {
border-width: 1px 1px 1px 10px;
font-size: 0.9em;
line-height: 1.25em;
padding: 0.5em 1em;
margin: 0.8em 10%;
}
.bandeau-systeme {
clear: both;
border-width: 2px;
padding: 0.5em 1em;
margin: 0.8em 3%;
}
.bandeau-simple {
clear: both;
border-width: 1px;
padding: 0.5em 1em;
margin: 0.8em auto;
}
.bandeau-discussion {
border-width: 1px;
border-radius: 10px;
padding: 0.2em 0.5em;
margin: 0.8em 7%;
}
@media (max-width: 981px) {
.bandeau-discussion {
margin: 0.8em 4%;
}
}
div.bandeau-section {
display: block;
font-size: 0.95em;
border-width: 1px;
padding: 0.5em;
margin: 1em 0;
}
.bandeau-centrer {
display: table;
width: 100%;
text-align: center;
}
.bandeau-cell {
display: table-cell;
vertical-align: middle;
}
.bandeau-cell > p:first-child {
margin-top: 0;
}
.bandeau-cell > p:last-child {
margin-bottom: 0;
}
.bandeau-niveau-grave {
border-color: rgb(170,0,68);
background-color: rgba(170,0,68,0.1);
}
.bandeau-niveau-modere {
border-color: rgb(255,136,34);
background-color: rgba(255,136,34,0.1);
}
.bandeau-niveau-ebauche,
.bandeau-niveau-information {
border-color: #77ccff;
background-color: #fbfbfb;
}
.bandeau-simple.bandeau-niveau-information,
.bandeau-discussion.bandeau-niveau-information {
border-color: #a7d7f9;
background-color: #f5faff;
}
.bandeau-niveau-detail,
.bandeau-section.bandeau-niveau-information {
border-color: #e7e7e7;
background-color: #fdfdfd;
}
.bandeau-niveau-neutre {
border-color: #aaa;
background: rgba(255,255,255,0.1);
}
.bandeau-icone {
vertical-align: middle;
text-align: center;
width: 45px;
padding-right: 1em;
}
.homonymie .bandeau-icone,
.bandeau-section .bandeau-icone {
width: auto;
padding-right: 0.5em;
}
.bandeau-titre {
font-size: 1.1em;
line-height: 1.4em;
}
.bandeau-texte {
font-size: 0.9em;
line-height: 1.2em;
}
.infobox {
border: 1px solid #a2a9b1;
border-spacing: 3px;
background: var(--color-surface-0);
margin: 0.5em 0 0.5em 1em;
padding: 0.2em;
float: right;
clear: right;
font-size: 88%;
line-height: 1.5em;
width: 22em;
}
.infobox-header,
.infobox-label,
.infobox-above,
.infobox-full-data,
.infobox-data,
.infobox-below,
.infobox-subheader,
.infobox-image,
.infobox-navbar,
/* Remove element selector when every .infobox thing is using the standard module/templates */
.infobox th,
.infobox td {
vertical-align: top;
}
.infobox-label,
.infobox-data,
/* Remove element selector when every .infobox thing is using the standard module/templates */
.infobox th,
.infobox td {
/* @noflip */
text-align: left;
}
/* Remove .infobox when element selectors above are removed */
.infobox .infobox-above,
.infobox .infobox-title,
/* Remove element selector when every .infobox thing is using the standard module/templates */
.infobox caption {
font-size: 125%;
font-weight: bold;
text-align: center;
}
.infobox-title,
/* Remove element selector when every .infobox thing is using the standard module/templates */
.infobox caption {
padding: 0.2em;
}
/* Remove .infobox when element selectors above are removed */
.infobox .infobox-header,
.infobox .infobox-subheader,
.infobox .infobox-image,
.infobox .infobox-full-data,
.infobox .infobox-below {
text-align: center;
}
/* Remove .infobox when element selectors above are removed */
.infobox .infobox-navbar {
/* @noflip */
text-align: right;
}
table.infobox {
background-color: initial !important;
}