MediaWiki:Gadget-Shortdesc-helper-pagestyles-vector.css: Difference between revisions

From Eurovision Wiki
Jump to navigation Jump to search
en>Novem Linguae
add comment (https://github.com/wikimedia-gadgets/shortdesc-helper/pull/12)
 
m 1 revision imported
 
(No difference)

Latest revision as of 05:58, 19 March 2026

/* 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;
}