Anonym

MediaWiki:Common.css: Forskelle mellem versioner

Fra AarhusWiki
Fjerner version 84176 af Phillip Stadsarkivet (diskussion)
mNo edit summary
Tag: Tilbagerullet
(Fjerner version 84176 af Phillip Stadsarkivet (diskussion))
Tags: Manuel tilbagerulning Tilbagerullet
Linje 130: Linje 130:
}
}


/* Default styles for the map */
#display_map {
  max-width: 100%; /* Ensure the map does not exceed its container's width */
}
/* Styles for the map container on smaller screens (up to 768px, including iPhones) */
/* and iPad screens (up to 1024px) */
@media (max-width: 1024px) {
@media (max-width: 1024px) {
   .tright {
   .building_template {
     display: flex;
     float: none; /* Remove the float to center the infobox */
    justify-content: center;
     margin: 0 auto; /* Center the infobox horizontally */
    max-width: 350px; /* Adjust the width to fit the screen on mobile and iPad devices */
     width: 100%; /* Set the infobox to occupy the full width on small screens */
     margin: 10px auto; /* Center the map horizontally with top and bottom margin */
     float: none; /* Remove the float */
   }
   }
}
}