MediaWiki:Common.css : Différence entre versions
Sauter à la navigation
Sauter à la recherche
Ligne 36 : | Ligne 36 : | ||
.map-label{ | .map-label{ | ||
position: absolute; | position: absolute; | ||
+ | |||
+ | } | ||
+ | |||
+ | |||
+ | .map-label{ | ||
+ | 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; | ||
} | } |
Version du 3 août 2022 à 03:37
/* 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; } .map-label{ position: absolute; } .map-label{ 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; }