MediaWiki:Common.css
52166tangao(讨论 | 贡献)2015年8月4日 (二) 17:54的版本
注意:在保存之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。
- 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),然后隐私和安全 → 清除浏览数据 → 缓存的图片和文件。
/* 放置于这里的CSS将应用于所有皮肤 */ /* 隐藏Main Page首页标题*/ body.page-首页 h1.firstHeading { display:none; } /* 首行缩进 */ p {text-indent: 2em;} /** * Styling for links generated by [[MediaWiki:Edittools]] * @source www.mediawiki.org/wiki/Extension:CharInsert#Styling * @updated 2012-02-29 */ .mw-charinsert-buttons { margin-top: 8px; border: 1px solid #aaaaaa; padding: 1px; font-size: 100%; } .mw-charinsert-buttons a { color: black; background-color: #cde !important; font-weight: bold; font-size: .9em; text-decoration: none; border: thin #069 outset; padding: 0 .1em .1em; } .mw-charinsert-buttons a:hover, .mw-charinsert-buttons a:active { background-color: #bcd; border-style: inset; } .client-js .mw-edittools-section { display: inline; } .client-js .mw-edittools-section input[type="button"] { font-size: 0.9em; padding-left: 1px; padding-right: 1px; margin-left: 1px; } /* info类模板 */ .infoBox { margin: 0 auto; } .infoBoxTitle { margin: 3px auto; padding: 0; text-align: center; font-weight: 700; } .infoBoxIcon { display: table-cell; padding: 2px 0 2px .5em; vertical-align: middle; } .infoBoxText { display: table-cell; padding: .25em .5em .25em 1.3em; width: 100%; vertical-align: middle; } .infoBoxContent { border: 1px solid #ddd; border-left-width: 0; background: #fbfbfb; } .infoBoxBelow { margin: 0 auto; padding: 0; text-align: center; } /*首页样式*/ .tcm_index { color: #7d818c; font-size: 14px; } .tcm_row { overflow: auto; } user agent stylesheetdiv { display: block; } .tcm_col_l { float: left; width: 100%; margin-left: -327px; } .tcm_box { margin-left: 327px; margin-bottom: 10px; border: 1px solid #d4d5da; border-radius: 4px; background: #fff; box-shadow: 1px 3px 2px #efefef; } .tcm_box_headline { overflow: auto; }