MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
Mahnsoo.Choi (talk | contribs) No edit summary |
Mahnsoo.Choi (talk | contribs) No edit summary |
||
| Line 20: | Line 20: | ||
.responsive-image img { | .responsive-image img { | ||
max-width: 100%; | max-width: 100%; | ||
height:auto; | height: auto; | ||
} | } | ||
Revision as of 11:06, 22 June 2019
/* CSS placed here will be applied to all skins */
/* Hide the Main_page title */
body.page-Main_Page.action-view h1.firstHeading,
body.page-Main_Page.action-submit h1.firstHeading {
display: none;
}
body.page-Quantum_Control_Lab.action-view h1.firstHeading,
body.page-Quantum_Control_Lab.action-submit h1.firstHeading {
display: none;
}
/* To hide the navigation bar on scroll down (page-slide-up).
* See also the corresponding part in Common.js */
.navbar {
transition: top 0.5s;
}
/* Responsive image */
.responsive-image img {
max-width: 100%;
height: auto;
}