Jump to content

MediaWiki:Common.css: Difference between revisions

From WikiGenius
Shovon (talk | contribs)
No edit summary
Tag: Reverted
Shovon (talk | contribs)
Tags: Replaced Manual revert
 
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
/* Make infobox responsive */
.infobox {
  max-width: 100% !important;
  width: 270px;
  float: right;
  margin: 0 0 1em 1em;
  word-wrap: break-word;
  overflow-wrap: break-word;
  box-sizing: border-box;
}
/* Force images inside infobox to scale */
.infobox img {
  max-width: 100% !important;
  height: auto !important;
  display: block;
}
/* Make header flexible */
.infobox th {
  white-space: normal !important;
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-align: center;
}
/* Center infobox on mobile */
@media screen and (max-width: 600px) {
  .infobox {
    float: none !important;
    margin: 0 auto;
  }
}

Latest revision as of 21:11, 9 October 2025

/* CSS placed here will be applied to all skins */
Cookies help us deliver our services. By using our services, you agree to our use of cookies.