“MediaWiki:Common.css”的版本间的差异
来自UtaWiki
小 |
小 |
||
| 第9行: | 第9行: | ||
/* Infobox */ | /* Infobox */ | ||
| − | .infobox { | + | table.infobox { |
float: right; | float: right; | ||
clear: right; | clear: right; | ||
| 第18行: | 第18行: | ||
background-color: #f9f9f9; | background-color: #f9f9f9; | ||
text-align: left; | text-align: left; | ||
| + | border-radius: 3px; | ||
} | } | ||
| − | .infobox th { | + | table.infobox th, table.infobox td { |
| + | padding: 1px 0.5em; | ||
| + | } | ||
| + | table.infobox th { | ||
font-size: 117%; | font-size: 117%; | ||
text-align: center; | text-align: center; | ||
| + | border-radius: 3px; | ||
| + | background: #60A917; | ||
| + | color: #FFF; | ||
} | } | ||
| − | |||
| − | |||
| − | |||
| − | |||
/* 歌词排版 */ | /* 歌词排版 */ | ||
.lyric { | .lyric { | ||
2014年6月4日 (三) 22:27的版本
/* 此处的 CSS 将应用于所有的皮肤 */
html, body {
font-family: "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
html {
font-size: 1.2em;
}
/* Infobox */
table.infobox {
float: right;
clear: right;
font-size: 85%;
min-width: 15%;
margin: 0.3em 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;
}
table.infobox th {
font-size: 117%;
text-align: center;
border-radius: 3px;
background: #60A917;
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;
}