MediaWiki:Mobile.css:修订间差异
创建页面,内容为“→这里放置的CSS将应用于移动版网站: →黑幕的代碼?: .heimu, .heimu a, a .heimu, .heimu a.new { background-color: #252525; color: #252525; text-shadow: none; } .heimu:hover, .heimu:active, .heimu:hover .heimu, .heimu:active .heimu { color: white !important; } .heimu:hover a, a:hover .heimu, .heimu:active a, a:active .heimu { color: lightblue !important; } .heimu:hover .new, .heimu .new:hover, .new:hover .heimu,…” |
无编辑摘要 |
||
第1行: | 第1行: | ||
/* 这里放置的CSS将应用于移动版网站 */ | /* 这里放置的CSS将应用于移动版网站 */ | ||
/* 信息框的代碼? */ | |||
.infobox { | |||
background: #eee; | |||
border: 1px solid #aaa; | |||
float: right; | |||
margin: 0 0 1em 1em; | |||
padding: 1em; | |||
width: 300px; | |||
} | |||
.infobox-title { | |||
font-size: 2em; | |||
text-align: center; | |||
} | |||
.infobox-title p { | |||
margin-top: 2px; | |||
margin-bottom: 2px; | |||
} | |||
.infobox-image { | |||
text-align: center; | |||
} | |||
.infobox th { | |||
text-align: right; | |||
vertical-align: top; | |||
width: 120px; | |||
} | |||
.infobox td { | |||
vertical-align: top; | |||
} | |||