“MediaWiki:Common.css”的版本间的差异
来自UtaWiki
小 |
小 |
||
第152行: | 第152行: | ||
border: none; | border: none; | ||
border-radius: 6px; | border-radius: 6px; | ||
− | background: #f6f6f6; | + | background: -webkit-linear-gradient(left, #f6f6f6 , transparent); |
+ | background: -o-linear-gradient(right, #f6f6f6, transparent); | ||
+ | background: -moz-linear-gradient(right, #f6f6f6, transparent); | ||
+ | background: linear-gradient(to right, #f6f6f6 , transparent); | ||
font-size: 120%; | font-size: 120%; | ||
padding: .25em .5em; | padding: .25em .5em; |
2014年6月16日 (一) 00:45的版本
/* 此处的 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; } /* lang=ja 日文字体 */ [lang=ja] { font-family: "Hiragino Kaku Gothic Pro", "Meiryo", "MS PGothic", sans-serif; } /* blockquote */ blockquote { background: url('/images/8/8c/Quotation.png') left top no-repeat; min-height: 3em; margin: 1em 0; padding: 0 4em; } /* table padding adjust */ table.wikitable > tr > th, table.wikitable > tr > td, table.wikitable > * > tr > th, table.wikitable > * > tr > td { padding: 1px 0.5em; } /* TOC */ #toc, .toc { font-size: 85%; border-radius: 3px; padding: 2px 7px; } /* Infobox */ table.infobox { float: right; clear: right; font-size: 85%; min-width: 10em; max-width: 20em; 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; } /* 歌词排版 */ div.lyric { float: left; margin: 0 2em 0 0; } .poem { padding: 0.6em 1em 0.5em; background: #EEE; border-radius: 3px; } div.lyrics::after, div#uw-header-info::after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; } #mw-content-text > h2 { margin-top: 1.5em; } } /* media screen end */ /* 隐藏首页元素 */ body.page-首页 #deleteconfirm, body.page-首页 #t-cite, body.page-首页 #footer-info-lastmod, body.action-view.page-首页 #siteSub, body.action-view.page-首页 #contentSub, body.action-view.page-首页 h1.firstHeading, body.action-view.page-首页 #toc { display: none !important; } /* 首页样式 */ div#uw-header { border: 1px solid #a7d7f9; border-radius: 8px; font-size: 85%; padding: 1em 2em; display: flex; align-items: flex-end; } div#uw-header-title { flex: 5; } div#uw-header-title > h1 { border: none; margin: 0; } div#uw-header p { margin: 0; } div#uw-header b { font-size: 120%; } div#uw-header-info { } div#uw-content { display: flex; margin: 2em 0 0 0; } div#uw-left { flex: 2; margin-right: 2em; } div#uw-right { flex: 1; border: 1px solid #ddd; border-radius: 8px; padding: .75em; } div.uw-left-block > h2, div.uw-right-block > h2 { border: none; border-radius: 6px; background: -webkit-linear-gradient(left, #f6f6f6 , transparent); background: -o-linear-gradient(right, #f6f6f6, transparent); background: -moz-linear-gradient(right, #f6f6f6, transparent); background: linear-gradient(to right, #f6f6f6 , transparent); font-size: 120%; padding: .25em .5em; } /* ref don't make line-height larger */ sup.reference { line-height: 100%; } /* clear fix */ .clearfix { clear: both; } /** * 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; }