MediaWiki:Common.css:修订间差异
MediaWiki界面页面
更多操作
无编辑摘要 |
无编辑摘要 |
||
| 第394行: | 第394行: | ||
} | } | ||
/* --- | /* --- 明星编辑板块精简版 --- */ | ||
/* 1. | /* 1. 彻底去除表头、插件标题和皮肤自带的溢出导航按钮 */ | ||
.hp-scores-wrapper .contributionscores-title, | .hp-scores-wrapper .contributionscores-title, | ||
.hp-scores-wrapper .citizen-overflow-nav, | .hp-scores-wrapper .citizen-overflow-nav, | ||
| 第403行: | 第403行: | ||
} | } | ||
/* 2. | /* 2. 重置容器:去除边框、背景、阴影和强制溢出限制 */ | ||
.hp-scores-wrapper .contributionscores-wrapper, | .hp-scores-wrapper .contributionscores-wrapper, | ||
.hp-scores-wrapper .citizen-overflow-wrapper, | .hp-scores-wrapper .citizen-overflow-wrapper, | ||
| 第413行: | 第413行: | ||
margin: 0 !important; | margin: 0 !important; | ||
padding: 0 !important; | padding: 0 !important; | ||
box-shadow: none !important; | |||
overflow: visible !important; | overflow: visible !important; | ||
} | } | ||
/* 3. | /* 3. 行布局重构:取消背景和动画 */ | ||
.hp-scores-wrapper table.contributionscores tbody { | .hp-scores-wrapper table.contributionscores tbody { | ||
display: | display: block !important; | ||
} | } | ||
| 第427行: | 第425行: | ||
display: flex !important; | display: flex !important; | ||
align-items: center; | align-items: center; | ||
padding: | padding: 8px 0 !important; | ||
background: | background: transparent !important; /* 取消背景 */ | ||
border | border: none !important; /* 取消边框 */ | ||
border: 1px solid #edf2f7 !important; | border-bottom: 1px solid #edf2f7 !important; /* 仅保留分割线 */ | ||
transition: | transition: none !important; /* 取消动画 */ | ||
} | } | ||
.hp-scores-wrapper table.contributionscores tr: | .hp-scores-wrapper table.contributionscores tr:last-child { | ||
border-bottom: none !important; | |||
border- | |||
} | } | ||
/* 4. | /* 4. 排名数字样式:保留小圆圈,便于对齐 */ | ||
.hp-scores-wrapper table.contributionscores td:nth-child(1) { | .hp-scores-wrapper table.contributionscores td:nth-child(1) { | ||
width: | width: 24px; | ||
height: | height: 24px; | ||
min-width: | min-width: 24px; | ||
display: flex !important; | display: flex !important; | ||
align-items: center; | align-items: center; | ||
justify-content: center; | justify-content: center; | ||
border-radius: 50%; | border-radius: 50%; | ||
background: # | background: #edf2f7; | ||
color: | color: #4a5568 !important; | ||
font-size: 0.8em; | |||
font-weight: bold; | font-weight: bold; | ||
margin-right: 12px; | |||
margin-right: | |||
padding: 0 !important; | padding: 0 !important; | ||
border: none !important; | |||
text-align: center !important; | |||
} | } | ||
/* 5. 用户名:恢复原生样式 */ | |||
/* 5. | |||
.hp-scores-wrapper table.contributionscores td:nth-child(5) { | .hp-scores-wrapper table.contributionscores td:nth-child(5) { | ||
flex: 1; | flex: 1; | ||
padding: 0 !important; | padding: 0 !important; | ||
background: transparent !important; | |||
border: none !important; | |||
text-align: left !important; | |||
} | } | ||
/* 6. 编辑次数:显示在右侧 */ | |||
/* 6. | |||
.hp-scores-wrapper table.contributionscores td:nth-child(4) { | .hp-scores-wrapper table.contributionscores td:nth-child(4) { | ||
font-size: 0.85em; | |||
font-size: 0. | color: #a0aec0; | ||
color: # | |||
padding: 0 !important; | padding: 0 !important; | ||
background: transparent !important; | |||
border: none !important; | |||
} | } | ||
.hp-scores-wrapper table.contributionscores td:nth-child(4):: | .hp-scores-wrapper table.contributionscores td:nth-child(4)::after { | ||
content: " | content: " 次编辑"; | ||
} | } | ||