« MediaWiki:Common.css » : différence entre les versions
Page créée avec « →Le CSS placé ici sera appliqué à tous les habillages. : →--- Style de l'Infobox --- : .infobox { float: right; clear: right; margin: 0 0 1em 1em; padding: 0.5em; border: 1px solid #a2a9b1; background-color: #f8f9fa; width: 300px; font-size: 90%; line-height: 1.5em; box-sizing: border-box; } .infobox-title { text-align: center; font-weight: bold; font-size: 110%; background-color: #eaecf0; padd... » |
Aucun résumé des modifications |
||
| Ligne 1 : | Ligne 1 : | ||
#p-personal li { | |||
margin-top: 1em; | |||
margin-bottom: 0.75em; | |||
} | |||
#pt-userpage { | |||
background: none !important; | |||
padding-left: 0px !important; | |||
} | |||
#pt-avatar { | |||
margin-top: 0.25em !important; | |||
margin-bottom: 0px !important; | |||
} | |||
#pt-avatar img { | |||
width: 2.5em; | |||
border-radius: 50%; | |||
} | |||
.infobox { | .infobox { | ||
background: #eee; | |||
border: 1px solid #aaa; | |||
float: right; | float: right; | ||
margin: 0 0 1em 1em; | margin: 0 0 1em 1em; | ||
padding: 0. | padding: 0.3em; | ||
width: 350px; | |||
color:#000; | |||
} | |||
.infobox p { | |||
display:none; | |||
} | } | ||
.infobox-title { | .infobox-title { | ||
font-size: 1.2em; | |||
text-align: center; | text-align: center; | ||
color:#000; | |||
} | } | ||
.infobox-image { | .infobox-image { | ||
text-align: center; | text-align: center; | ||
} | } | ||
.infoxbox table { | |||
.infobox- | width:100%; | ||
border-collapse: collapse; | |||
height: | } | ||
.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; | ||
width: 100%; | border: 1px solid #f00; | ||
margin:1em 1em; | |||
padding: 0.3em; | |||
width:calc( 100% - 2.1em); | |||
color:#000; | |||
display:block; | |||
} | } | ||
.warnbox-text { | |||
. | |||
vertical-align: top; | vertical-align: top; | ||
text-align:left; | |||
clear:both; | |||
line-height:1.2; | |||
font-size: 1em; | |||
} | } | ||
.warnbox-title { | |||
. | font-size: 1.2em; | ||
text-align: left; | 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; | |||
} | } | ||
Dernière version du 25 octobre 2026 à 17:10
#p-personal li {
margin-top: 1em;
margin-bottom: 0.75em;
}
#pt-userpage {
background: none !important;
padding-left: 0px !important;
}
#pt-avatar {
margin-top: 0.25em !important;
margin-bottom: 0px !important;
}
#pt-avatar img {
width: 2.5em;
border-radius: 50%;
}
.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;
}