Anonym

MediaWiki:Common.css: Forskelle mellem versioner

Fra AarhusWiki
ingen redigeringsopsummering
No edit summary
Tag: Tilbagerullet
No edit summary
Tag: Tilbagerullet
Linje 135: Linje 135:
     margin: 0 auto; /* Center the infobox horizontally */
     margin: 0 auto; /* Center the infobox horizontally */
     width: 100%; /* Set the infobox to occupy the full width on small screens */
     width: 100%; /* Set the infobox to occupy the full width on small screens */
  }
}
/* Default styles for the map */
div[class^="display_map"] {
  float: right; /* Float the map to the right on larger screens */
}
/* Styles for the map on mobile devices (max-width: 1024px) */
@media (max-width: 1024px) {
  div[class^="display_map"] {
    float: none; /* Remove the float to center the map */
    margin: 0 auto; /* Center the map horizontally */
   }
   }
}
}