Anonym

MediaWiki:Common.css: Forskelle mellem versioner

Fra AarhusWiki
ingen redigeringsopsummering
No edit summary
Tag: Tilbagerullet
No edit summary
Tag: Manuel tilbagerulning
Linje 130: Linje 130:
}
}


/* Default styles for the map */
@media (max-width: 1024px) {
#display_map {
   .building_template {
  max-width: 100%; /* Ensure the map does not exceed its container's width */
     float: none; /* Remove the float to center the infobox */
}
     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 {
     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 */
  }
}
 
/* Styles for the map container on larger screens (769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .tright {
     max-width: 600px; /* Adjust the width for iPad screens */
    margin: 10px auto; /* Center the map horizontally with top and bottom margin */
   }
   }
}
}