MediaWiki:Common.css: Difference between revisions

From Kanthaus wiki
I swear that min-width and max-width will confuse me til the end
...
Line 2: Line 2:


.infoboxOuter {
.infoboxOuter {
   width: 100%;
   width: 200px;
}
}


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

Revision as of 18:44, 21 November 2024

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

.infoboxOuter {
  width: 200px;
}

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