Anonym

MediaWiki:Common.css: Forskelle mellem versioner

Fra AarhusWiki
m
ingen redigeringsopsummering
mNo edit summary
Tag: Tilbagerullet
mNo edit summary
Tag: Tilbagerullet
Linje 140: Linje 140:
/* Default styles for the map */
/* Default styles for the map */
#display_map {
#display_map {
  float: right; /* Float the map to the right on larger screens */
  margin-top: 10px; /* Add some top margin to create spacing before the map */
   max-width: 100%; /* Ensure the map does not exceed its container's width */
   max-width: 100%; /* Ensure the map does not exceed its container's width */
}
}


/* Styles for the map on mobile devices (max-width: 768px) */
/* Styles for the map container on mobile devices (max-width: 768px) */
@media (max-width: 768px) {
@media (max-width: 768px) {
   #display_map {
   .tright {
     float: none; /* Remove the float */
     float: none; /* Remove the float */
     margin: 10px auto; /* Center the map horizontally with top and bottom margin */
     margin: 10px auto; /* Center the map horizontally with top and bottom margin */
    max-width: 350px; /* Adjust the width to fit the screen on mobile devices */
   }
   }
}
}