MediaWiki:Common.css : Différence entre versions
De Wiki levelKro
(13 révisions intermédiaires par le même utilisateur non affichées) | |||
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; | background: #eee; | ||
Ligne 4 : | Ligne 23 : | ||
float: right; | float: right; | ||
margin: 0 0 1em 1em; | margin: 0 0 1em 1em; | ||
− | padding: | + | padding: 0.3em; |
− | width: | + | width: 350px; |
+ | color:#000; | ||
+ | } | ||
+ | .infobox p { | ||
+ | display:none; | ||
} | } | ||
.infobox-title { | .infobox-title { | ||
− | font-size: 2em; | + | font-size: 1.2em; |
text-align: center; | text-align: center; | ||
+ | color:#000; | ||
} | } | ||
.infobox-image { | .infobox-image { | ||
Ligne 16 : | Ligne 40 : | ||
.infoxbox table { | .infoxbox table { | ||
width:100%; | width:100%; | ||
− | + | border-collapse: collapse; | |
} | } | ||
.infobox th { | .infobox th { | ||
Ligne 24 : | Ligne 48 : | ||
padding:0.3em; | padding:0.3em; | ||
background: #ccc; | background: #ccc; | ||
+ | line-height:1.2; | ||
+ | font-size: 1em; | ||
+ | border: 1px solid #eee; | ||
+ | color:#000; | ||
} | } | ||
.infobox td { | .infobox td { | ||
vertical-align: top; | vertical-align: top; | ||
+ | text-align:left; | ||
padding:0.3em; | 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; | ||
} | } |
Version actuelle datée du 24 janvier 2019 à 05:44
#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;
}