MediaWiki:Common.css: Difference between revisions
(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 |
||
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: 1000px) { | |||
.vector-sidebar-container { | |||
max-height: 7em; | |||
overflow: scroll; | |||
box-shadow: 3px 4px 5px #000; | |||
border: 1px solid black; | |||
} | |||
} | } |
Revision as of 23:49, 24 December 2023
/* 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: 1000px) {
.vector-sidebar-container {
max-height: 7em;
overflow: scroll;
box-shadow: 3px 4px 5px #000;
border: 1px solid black;
}
}