MediaWiki:Gadget-utcclock.css

From Old School Near-Reality Wiki
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
 1 /**
 2  * Explicitly set width of the UTC-clock list element, so that we can use a
 3  * hidden peer gadget to add space where the clock would go before it loads.
 4  */
 5 .skin-vector #utcdate {
 6 	width: 3.275em;
 7 	/* 
 8 	 * The default margin-left is 0.75em, but set it again here explicitly, so
 9 	 * we can be sure of the exact width.
10 	 */ 
11 	margin-left: 0.75em;
12 	/*
13 	 * Account for the larger font size adding 0.1em to height unless padding-top is adjusted by the same amount.
14 	 */
15 	 padding-top: 0.4em;
16 }