Anonym

MediaWiki:Common.css: Forskelle mellem versioner

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


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