MediaWiki:Common.css:修订间差异
无编辑摘要 |
无编辑摘要 |
||
第49行: | 第49行: | ||
color: #666; | color: #666; | ||
text-align: right; | text-align: right; | ||
} | |||
/* 模板topnotice所用的css */ | |||
.top-notice { | |||
background: #fff3d4; | |||
border: 1px solid #f0c36d; | |||
padding: 1em; | |||
margin: 1em 0; | |||
text-align: center; | |||
border-radius: 4px; | |||
} | |||
@media (max-width: 768px) { | |||
.top-notice { font-size: 0.9em; } | |||
} | } |
2025年4月13日 (日) 22:32的版本
/* 这里放置的CSS将应用于所有皮肤 */
/* 放置新的css之后请务必用注释标明该段css代码作用于什么以及何处。 */
/* 用于隐藏文字模板、模块 */
.spoiler {
border: 1px solid #ccc;
padding: 10px;
margin: 10px 0;
}
.spoiler-header {
font-weight: bold;
cursor: pointer;
color: #0645ad;
}
.spoiler-header:hover {
text-decoration: underline;
}
.spoiler-content {
margin-top: 10px;
padding: 10px;
background-color: #f9f9f9;
border: 1px solid #ddd;
}
/* 用于 模板:Documentation */
/* Documentation 模板样式 */
.template-documentation {
border: 1px solid #aaa;
background-color: #f9f9f9;
padding: 10px;
margin-top: 10px;
}
.template-documentation-header {
font-size: 1.2em;
font-weight: bold;
margin-bottom: 10px;
}
.template-documentation-content {
margin-bottom: 10px;
}
.template-documentation-footer {
font-size: 0.9em;
color: #666;
text-align: right;
}
/* 模板topnotice所用的css */
.top-notice {
background: #fff3d4;
border: 1px solid #f0c36d;
padding: 1em;
margin: 1em 0;
text-align: center;
border-radius: 4px;
}
@media (max-width: 768px) {
.top-notice { font-size: 0.9em; }
}