Difference between revisions of MediaWiki:Gadget-UTCLiveClock.css
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
*/ | */ | ||
.skin-vector #utcdate { | .skin-vector #utcdate { | ||
width: | width: 6em; | ||
/* | /* | ||
* The default margin-left is 0.75em, but set it again here explicitly, so | * The default margin-left is 0.75em, but set it again here explicitly, so | ||
* we can be sure of the exact width. | * we can be sure of the exact width. | ||
*/ | */ | ||
margin-left: | margin-left: 0.75em; | ||
} | } | ||
Revision as of 10:51, 22 May 2020
/** * 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; }