MediaWiki:Common.css: Difference between revisions

From neuromatch
No edit summary
No edit summary
Line 10: Line 10:
/* Make the sidebar not be giant at the top of the page when window narrow */
/* Make the sidebar not be giant at the top of the page when window narrow */


@media screen and (max-width: 1000px) {
@media screen and (max-width: 999px) {
   .mw-sidebar {
   .mw-sidebar {
   max-height: 9em;
   max-height: 9em;

Revision as of 02:12, 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: 999px) {
  .mw-sidebar {
  max-height: 9em;
  overflow: scroll;
  box-shadow: 3px 4px 5px #000;
  border: 1px solid black;
  }
}