MediaWiki:Common.css: Difference between revisions

From Kanthaus wiki
move more relevant css from roombox to here
add infoboxImage class
Line 10: Line 10:
@media (max-width: 500px) {
@media (max-width: 500px) {
   .infoboxOuter {
   .infoboxOuter {
     width: 100%;;
     width: 100%;
   }
   }
}
.infoboxImage {
  height: auto;
  width: 100%;
  aspect-ration: 1;
}
}

Revision as of 18:58, 21 November 2024

/* CSS placed here will be applied to all skins */

.infoboxOuter {
  width: 200px;
  box-sizing: border-box;
  float: right;
  margin: 0.5rem;
}

@media (max-width: 500px) {
  .infoboxOuter {
    width: 100%;
  }
}

.infoboxImage {
  height: auto;
  width: 100%;
  aspect-ration: 1;
}