MediaWiki:Gadget-utcclock.css: Difference between revisions

From EverVoid Wiki
Jump to navigation Jump to search
 
(New updated for 1.39.6)
Line 10: Line 10:
*/  
*/  
margin-left: 0.75em;
margin-left: 0.75em;
text-align: center;
/*
* Account for the larger font size adding 0.1em to height unless padding-top is adjusted by the same amount.
*/
padding-top: 0.4em;
}
}

Revision as of 12:11, 28 December 2023

/**
 * 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: 50px;
	/* 
	 * 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;
	text-align: center;
	/*
	 * Account for the larger font size adding 0.1em to height unless padding-top is adjusted by the same amount.
	 */
	padding-top: 0.4em;
}