MediaWiki:Common.css : Différence entre versions
De Wiki levelKro
Ligne 71 : | Ligne 71 : | ||
border: 1px solid #f00; | border: 1px solid #f00; | ||
margin:-1em 0 0.5em 2em; | margin:-1em 0 0.5em 2em; | ||
+ | } | ||
+ | span.flash { | ||
+ | display:inline-block; | ||
+ | border:1px solid #666; | ||
+ | background:#ccc; | ||
+ | color:#000; | ||
+ | padding:0.2em; | ||
+ | margin:-2em 0; | ||
} | } |
Version du 24 janvier 2019 à 03:09
.infobox {
background: #eee;
border: 1px solid #aaa;
float: right;
margin: 0 0 1em 1em;
padding: 0.3em;
width: 350px;
color:#000;
}
.infobox p {
display:none;
}
.infobox-title {
font-size: 1.2em;
text-align: center;
color:#000;
}
.infobox-image {
text-align: center;
}
.infoxbox table {
width:100%;
border-collapse: collapse;
}
.infobox th {
text-align: right;
vertical-align: top;
width: 120px;
padding:0.3em;
background: #ccc;
line-height:1.2;
font-size: 1em;
border: 1px solid #eee;
color:#000;
}
.infobox td {
vertical-align: top;
text-align:left;
padding:0.3em;
line-height:1.2;
font-size: 1em;
border: 1px solid #eee;
color:#000;
}
.warnbox {
background: #fd9;
border: 1px solid #f00;
margin:1em 1em;
padding: 0.3em;
width:calc( 100% - 2.1em);
color:#000;
display:block;
}
.warnbox-text {
vertical-align: top;
text-align:left;
clear:both;
line-height:1.2;
font-size: 1em;
}
.warnbox-title {
font-size: 1.2em;
line-height:1;
font-weight:bold;
text-align: center;
padding:0.2em;
display:inline-block;
float:left;
color:#000;
background: #fff;
border: 1px solid #f00;
margin:-1em 0 0.5em 2em;
}
span.flash {
display:inline-block;
border:1px solid #666;
background:#ccc;
color:#000;
padding:0.2em;
margin:-2em 0;
}