打开/关闭菜单
60
73
29
1.1K
武外梗百科
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

MediaWiki:Common.css:修订间差异

MediaWiki界面页面
无编辑摘要
无编辑摘要
第392行: 第392行:
     box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
     box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
     filter: brightness(0.95);
     filter: brightness(0.95);
}
/* 隐藏 ContributionScores 的标题(如果有) */
.contributionscores-title {
    display: none !important;
}
/* 隐藏表头行(Rank / User / Score 等) */
.contributionscores .header,
.contributionscores tr th,
.contributionscores thead {
    display: none !important;
}
/* 去掉所有边框和背景,让它看起来像纯列表 */
.contributionscores,
.contributionscores table,
.contributionscores tbody,
.contributionscores tr,
.contributionscores td {
    border: none !important;
    background: none !important;
    padding: 4px 0 !important;  /* 缩小间距,更紧凑 */
    margin: 0 !important;
}
/* 只保留用户名和分数列的内容,模拟“用户名: 分数”格式 */
.contributionscores tr {
    display: block !important;  /* 每行变块级,像列表 */
    margin-bottom: 6px !important;
}
.contributionscores td:first-child {  /* 隐藏 Rank 列(如果还剩) */
    display: none !important;
}
.contributionscores td:nth-child(2) {  /* 用户名列:加粗或样式 */
    font-weight: bold;
    color: #1a3a6c;
    display: inline !important;
}
.contributionscores td:nth-child(3) {  /* 分数列 */
    display: inline !important;
    color: #718096;
    margin-left: 8px !important;
}
/* 去掉奇偶行背景(.odd / .even) */
.contributionscores .odd,
.contributionscores .even {
    background: none !important;
}
}