Jump to content

MediaWiki:Gadget-UTCLiveClock.css: Difference between revisions

From pool
Content deleted Content added
m 1 revision imported
Caleb Cooper changed the content model of the page MediaWiki:Gadget-UTCLiveClock.css from "CSS" to "Sanitized CSS"
 
(No difference)

Latest revision as of 11:25, 1 March 2021

/**
 * Explicitly set width of the UTC-clock list element, so that we can use a
 * hidden peer gadget to add space where the clock would go before it loads.
 */
.skin-vector #utcdate {
	width: 6em;
	/* 
	 * The default margin-left is 0.75em, but set it again here explicitly, so
	 * we can be sure of the exact width.
	 */ 
	margin-left: 0.75em;
}

.skin-monobook #utcdate {
	width: 6.279em;
	display: inline-block; /* We need this for the width property to work */
	/* 
	 * The default margin-left is 1em, but set it again here explicitly, so
	 * we can be sure of the exact width.
	 */ 
	margin-left: 1em;
}