打开主菜单
首页
随机
登录
设置
关于Akarin
免责声明
Akarin
搜索
查看“MediaWiki:Gadget-UTCLiveClock-pagestyles.css”的源代码
←
MediaWiki:Gadget-UTCLiveClock-pagestyles.css
因为以下原因,您没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
此页提供此wiki软件的界面文字,并受到保护以防止滥用。如欲修改所有wiki的翻译,请访问
translatewiki.net
上的MediaWiki本地化项目。
您无权编辑此CSS页面,因为编辑此页面可能会影响所有访问者。
您可以查看和复制此页面的源代码。
/** * 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; }
返回至
MediaWiki:Gadget-UTCLiveClock-pagestyles.css
。