Jump to content

MediaWiki:Gadget-Shortdesc-helper-pagestyles-vector.css

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
/* This is its own file/gadget because a CSS-only gadget like this is page blocking, but CSS in a JavaScript gadget is loaded later. Doing it this way avoids a flash of unstyled content where the short description jumps around. */

/* Fix content jump */
.skin-vector.ns-0 #mw-content-subtitle::after {
	content: '\200B';
}

.skin-vector.ns-0 .noarticletext {
	margin-top: -1.008em; /* 0.84 * 1.2em */
}

/* Fix layout for deleted mainspace pages */
.skin-vector.ns-0:not(.skin-vector-2022) #contentSub2 {
	margin-top: -1.2em;
}

.skin-vector.ns-0 .mw-warning-with-logexcerpt {
	margin-bottom: 1.2em;
}