Anonym

MediaWiki:Common.css: Forskelle mellem versioner

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


/* Styles for the map on mobile devices (max-width: 1024px) */
/* Styles for the map on mobile devices (max-width: 768px) */
@media (max-width: 1024px) {
@media (max-width: 768px) {
   #display_map {
   #display_map {
     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 */
    width: 350px; /* Adjust the width to 350 pixels on mobile devices */
    display: flex;
    justify-content: center;
   }
   }
}
}