« MediaWiki:Common.css » : différence entre les versions
De 21Wiki
Aucun résumé des modifications |
Aucun résumé des modifications |
||
Ligne 21 : | Ligne 21 : | ||
#t-specialpages{display:none !important;} | #t-specialpages{display:none !important;} | ||
#ca-talk { display:none!important; } | |||
.portable-infobox { | .portable-infobox { |
Version du 1 septembre 2021 à 20:22
/* Le CSS placé ici sera appliqué à tous les habillages. */
*{
font-family:helvetica,arial,sans-serif;
}
.mw-parser-output a.external, .link-httpsttp{
background: none !important;
padding: 0 !important;
}
li{
list-style-type: none;
}
.mw-wiki-logo.fallback{
content: '';
width: 11em;
height: 11em;
background-repeat: no-repeat;
background-position: center center;
background-size: contain;
}
#t-specialpages{display:none !important;}
#ca-talk { display:none!important; }
.portable-infobox {
background: initial;
clear: right;
float: right;
font-size: .85em;
margin: 0 0 15px 15px;
margin: 0 0 var(--pi-margin) var(--pi-margin);
width: 20rem;
border:solid 1px;
}
.portable-infobox p{
text-align: center;
line-height: 1.25;
padding: 12px 9px;
}
.portable-infobox .pi-data-value:not(:first-child){
padding-left: 10px;
display: flex;
justify-content: flex-end;
align-items: center;
flex-direction: row;
flex-wrap: wrap;
}
.portable-infobox .pi-item-spacing{
padding: 0;
}
.portable-infobox .pi-header + p{
font-weight: bold;
font-size: 1.1rem;
}
.portable-infobox .pi-data-value:not(:first-child) {
padding-left: 10px;
display: flex;
justify-content: flex-end;
align-items: center;
flex-direction: row;
flex-wrap: wrap;
width: 40%;
}
.pi-data-label.pi-secondary-font {
cursor: pointer;
display: flex;
flex-direction: row;
flex-grow: 1;
display: flex;
justify-content: center;
align-items: center;
}
.portable-infobox.pi-data-label p{
font-size: 0.95rem;
font-weight: 400;
}
.client-dark-mode .mw-wiki-logo{
display: block;
margin: 0.75em auto 0;
filter:invert(1) hue-rotate(180deg);
-webkit-filter:invert(1) hue-rotate(180deg)
}