MediaWiki:Common.css: Difference between revisions

From neuromatch
(Created page with "→‎CSS placed here will be applied to all skins: .img-responsive { display: block; max-width:100%; height: auto !important; width: auto !important; }")
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 6: Line 6:
   height: auto !important;
   height: auto !important;
   width: auto !important;
   width: auto !important;
}
/* Make the sidebar not be giant at the top of the page when window narrow */
@media screen and (max-width: 720px) {
  .mw-sidebar {
  max-height: 9em;
  overflow: scroll;
  box-shadow: 3px 4px 5px #000;
  border: 1px solid black;
  }
}
}

Latest revision as of 02:13, 24 January 2024

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

.img-responsive {
  display: block;
  max-width:100%;
  height: auto !important;
  width: auto !important;
}

/* Make the sidebar not be giant at the top of the page when window narrow */

@media screen and (max-width: 720px) {
  .mw-sidebar {
  max-height: 9em;
  overflow: scroll;
  box-shadow: 3px 4px 5px #000;
  border: 1px solid black;
  }
}