MediaWiki:Common.css: Forskelle mellem versioner

ingen redigeringsopsummering
mNo edit summary
Tag: Tilbagerullet
No edit summary
 
(31 mellemliggende versioner af 2 andre brugere ikke vist)
Linje 128: Linje 128:
#content h1.firstHeading {
#content h1.firstHeading {
     border-bottom: 5px solid #455372 !important;
     border-bottom: 5px solid #455372 !important;
}
@media (max-width: 1024px) {
  .building_template {
    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 */
  }
}
/* Default styles for the 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 */
}
/* Styles for the map on mobile devices (max-width: 768px) */
@media (max-width: 768px) {
  #display_map {
    float: none; /* Remove the float */
    margin: 10px auto; /* Center the map horizontally with top and bottom margin */
  }
}
}