Anonym

MediaWiki:Common.css: Forskelle mellem versioner

Fra AarhusWiki
m
ingen redigeringsopsummering
mNo edit summary
Tag: Tilbagerullet
mNo edit summary
Tag: Tilbagerullet
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 */
  }
}
}


Linje 143: Linje 135:
}
}


/* Styles for the map container on mobile devices (max-width: 768px) */
/* Styles for the map container on smaller screens (up to 768px, including iPhones) */
@media (max-width: 768px) {
/* and iPad screens (up to 1024px) */
@media (max-width: 1024px) {
   .tright {
   .tright {
    display: flex;
    justify-content: center;
    max-width: 350px; /* Adjust the width to fit the screen on mobile and iPad devices */
    margin: 10px auto; /* Center the map horizontally with top and bottom margin */
     float: none; /* Remove the float */
     float: none; /* Remove the float */
    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 */
   }
   }
}
}