「MediaWiki:Common.css」:修訂間差異

出自The Ysmir Collective

增加 901 位元組 、​ 2025年1月20日 (星期一)
無編輯摘要
無編輯摘要
Pie留言 | 貢獻
無編輯摘要
行 162: 行 162:
    color: #1C4587; /* Darker blue for hover state */
    color: #1C4587; /* Darker blue for hover state */
    text-decoration: underline; /* Keep underline removed on hover */
    text-decoration: underline; /* Keep underline removed on hover */
}
/* quest table */
/* quest-table 自定义样式 */
.quest-table {
   width: 100%;
   border-collapse: collapse;
   border: 1px solid #555; /* 深灰色的边框 */
}
.quest-table th, .quest-table td {
   border: 1px solid #555; /* 单元格的深灰色边框 */
   padding: 8px;
   text-align: left; /* 默认左对齐 */
   vertical-align: middle; /* 垂直居中 */
}
.quest-table th {
   background-color: #f2f2f2; /* 表头背景颜色 */
   font-weight: bold;
}
.quest-table tr:nth-child(odd) td {
   background-color: #f9f9f9; /* 奇数行背景颜色 */
}
.quest-table tr:nth-child(even) td {
   background-color: #ffffff; /* 偶数行背景颜色 */
}
.quest-table td {
   width: auto; /* 自动调整宽度 */
   word-wrap: break-word; /* 防止内容超出单元格 */
}
.quest-table td b {
   display: block;
   text-align: center; /* 粗体文字单独居中 */
}
}
2,025

次編輯