今天是2024年12月25日 第52周 星期三
代人,时大变了。
我们生活在大地上,但我们的梦想超越天空。
MediaWiki:Gadget-UTCLiveClock-pagestyles.css
mw>Mr. Stradivarius2017年10月1日 (日) 11:06的版本 (use separate styles for Vector and Monobook)
注意:在保存之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。
- Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5或Ctrl-R(Mac为⌘-R)
- Google Chrome:按Ctrl-Shift-R(Mac为⌘-Shift-R)
- Internet Explorer:按住Ctrl的同时单击刷新,或按Ctrl-F5
- Opera:前往菜单 → 设置(Mac为Opera → Preferences),然后隐私和安全 → 清除浏览数据 → 缓存的图片和文件。
/** * This is loaded as a hidden peer gadget of UTCLiveClock. * Before UTCLiveClock has loaded, it adds space where the clock would go, * so that the personal toolbar does not "jump". */ /* * In Vector, by default the li elements in the p-personal bar have a font-size * of 0.75em. Duplicate that here so that we can be sure of the proper factor to * multiply the ul element's margin-right by. And just in case, override any * possible changes to the font size in Monobook too, although by default there * is no change in font size between the ul and li elements. */ .client-js > body.skin-vector #p-personal li { font-size: 0.75em; } .client-js > body.skin-monobook #p-personal li { font-size: 1em; } /* * Reserve space for the clock gadget after the end of the p-personal ul * element. */ .client-js > body.skin-vector #p-personal ul { /* * The clock width plus its left margin, multiplied by the relative font * size: (6em + 0.75em) * 0.75 */ margin-right: 5.0625em; } .client-js > body.skin-monobook #p-personal ul { /* * Clock width: 6.279em * Left margin: 1em * Space separator after "log out" link: 0.321em (found through trial and * error) * Total space: 6.279em + 1em + 0.321em */ margin-right: 7.6em; }