MediaWiki:Common.css : Différence entre versions
Sauter à la navigation
Sauter à la recherche
| Ligne 32 : | Ligne 32 : | ||
position: relative; | position: relative; | ||
border:1px solid blue; | border:1px solid blue; | ||
| + | width: fit-content; | ||
| + | |||
} | } | ||
.map-label{ | .map-label{ | ||
position: absolute; | position: absolute; | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
background: rgba(255,255,255,0.2); | background: rgba(255,255,255,0.2); | ||
margin-left:10px; | margin-left:10px; | ||
Version du 3 août 2022 à 11:08
/* Le CSS placé ici sera appliqué à tous les habillages. */
/* Infoboxes */
.infobox {
background: #eee;
border: 1px solid #aaa;
float: right;
margin: 0 0 1em 1em;
padding: 1em;
width: 300px;
}
.infobox-title {
font-size: 1em;
text-align: center;
}
.infobox-image {
text-align: center;
}
.infobox th {
text-align: right;
vertical-align: top;
width: 120px;
}
.infobox td {
vertical-align: top;
}
/* MapLabel */
.map{
position: relative;
border:1px solid blue;
width: fit-content;
}
.map-label{
position: absolute;
background: rgba(255,255,255,0.2);
margin-left:10px;
margin-top:-10px;
}
.map-label:before{
content:'';
display: block;
position: absolute;
width:6px;
height: 6px;
top:5px;
left:-13px;
box-sizing: border-box;
border:1px solid white;
border-radius:50%;
background: red;
}