MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Line 349: Line 349:




#map-lightbox iframe {
/* Lightbox background overlay */
#map-lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(2px);
}
 
/* Map container */
#map-lightbox > div {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90%;
  max-width: 1000px;
  height: 80%;
  transform: translate(-50%, -50%);
  background: #111;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(0,0,0,0.6);
}
 
/* Close button */
#close-map-lightbox {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #fff;
  border: none;
  padding: 5px 10px;
  font-weight: bold;
  font-size: 1.2em;
  color: #000;
   border-radius: 4px;
   border-radius: 4px;
  cursor: pointer;
  z-index: 10001;
}
}
#map-lightbox button {
 
   cursor: pointer;
#close-map-lightbox:hover {
  font-size: 1.2em;
   background: #ddd;
}
}