MediaWiki:Common.css
来自UtaWiki
注意:保存之后,你必须清除浏览器缓存才能看到做出的更改。
- 火狐(Firefox)/Safari:按住“Shift”,同时单击“刷新”,或按“Ctrl-F5”或“Ctrl-R”(Mac为“⌘-R”)
- Google Chrome:按“Ctrl-Shift-R”(Mac为“⌘-Shift-R”)
- Internet Explorer:按住“Ctrl”,同时单击“刷新”,或按“Ctrl-F5”
- Opera:在“工具→首选项”中清除缓存
/* 此处的 CSS 将应用于所有的皮肤 */ @media screen { /* media screen start */ /* font adjust */ html, body { font-family: "Hiragino Sans GB", "Microsoft YaHei", sans-serif; } html { font-size: 1.2em; } pre, code, tt, kbd, samp, .mw-code { font-family: "Courier New",monospace,Courier; } /* table padding adjust */ table.wikitable > tr > th, table.wikitable > tr > td, table.wikitable > * > tr > th, table.wikitable > * > tr > td { padding: 1px 0.5em; } /* lang=ja 日文字体 */ [lang=ja] { font-family: "Hiragino KakuGothic", "Meiryo", "MS PGothic", sans-serif; } /* Infobox */ table.infobox { float: right; clear: right; font-size: 85%; min-width: 15%; max-width: 20%; margin: 0.2em 0 0.5em 1em; border: 1px solid #aaa; background-color: #f9f9f9; text-align: left; border-radius: 3px; } table.infobox th, table.infobox td { padding: 1px 0.5em; vertical-align: text-top; } table.infobox td:first-child { min-width: 4em; } table.infobox th { font-size: 117%; text-align: center; border-radius: 3px; } table.infobox-song th { background: #60A917; color: #FFF; } table.infobox-artist th { background: #1BA1E2; color: #FFF; } table.infobox-album th { background: #F0A30A; color: #FFF; } /* 歌词排版 */ .lyric { float: left; margin: 0 2em 2em 0; } .poem { float: left; padding: 0.6em 1em 0.5em; background: #EEE; border-radius: 3px; } .poem+h2, .lyric+h2 { clear: both; } #mw-content-text > h2 { margin-top: 1.5em; } } /* media screen end */ /** * Styling for links generated by [[MediaWiki:Edittools]] * @source www.mediawiki.org/wiki/Extension:CharInsert#Styling * @updated 2012-02-29 */ .mw-charinsert-buttons { margin-top: 10px; border: 1px solid #aaaaaa; padding: 1px; text-align: center; font-size: 110%; } .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; }