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

MediaWiki:Common.css:修订间差异

MediaWiki界面页面
无编辑摘要
无编辑摘要
 
第394行: 第394行:
}
}


/* --- 明星编辑板块精简版 --- */
/* --- 明星編輯板塊精確美化 --- */


/* 1. 彻底去除表头、插件标题和皮肤自带的溢出导航按钮 */
/* 1. 強力隱藏表頭行(等級/分數/頁面數量/修改次數/用戶名稱) */
.hp-scores-wrapper table.contributionscores tr.header,
.hp-scores-wrapper table.contributionscores th,
.hp-scores-wrapper .contributionscores-title,
.hp-scores-wrapper .contributionscores-title,
.hp-scores-wrapper .citizen-overflow-nav,
.hp-scores-wrapper .citizen-overflow-nav {
.hp-scores-wrapper .header {
     display: none !important;
     display: none !important;
}
}


/* 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行: 第414行:
     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: block !important;
     display: block !important;
第425行: 第425行:
     display: flex !important;
     display: flex !important;
     align-items: center;
     align-items: center;
     padding: 8px 0 !important;
     padding: 10px 0 !important;
     background: transparent !important; /* 取消背景 */
     background: transparent !important; /* 無背景 */
     border: none !important; /* 取消边框 */
     border: none !important;
     border-bottom: 1px solid #edf2f7 !important; /* 仅保留分割线 */
     border-bottom: 1px solid #edf2f7 !important; /* 僅保留下邊框分割線 */
     transition: none !important; /* 取消动画 */
     transition: none !important; /* 無懸停動畫 */
}
}


第436行: 第436行:
}
}


/* 4. 排名数字样式:保留小圆圈,便于对齐 */
/* 4. 排名數字美化(圓圈標籤) */
.hp-scores-wrapper table.contributionscores td:nth-child(1) {
.hp-scores-wrapper table.contributionscores td:nth-child(1) {
     width: 24px;
     width: 24px;
第447行: 第447行:
     background: #edf2f7;
     background: #edf2f7;
     color: #4a5568 !important;
     color: #4a5568 !important;
     font-size: 0.8em;
     font-size: 0.85em;
     font-weight: bold;
     font-weight: bold;
     margin-right: 12px;
     margin-right: 15px;
     padding: 0 !important;
     padding: 0 !important;
     border: none !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;
第464行: 第463行:
}
}


/* 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.8em;
     color: #a0aec0;
     color: #a0aec0;
     padding: 0 !important;
     padding: 0 !important;
第474行: 第473行:


.hp-scores-wrapper table.contributionscores td:nth-child(4)::after {
.hp-scores-wrapper table.contributionscores td:nth-child(4)::after {
     content: " 次编辑";
     content: " 次編輯";
}
}


/* 7. 隐藏不需要的列 (分数和页面数) */
/* 7. 隱藏不必要的數據列(分數與頁面數) */
.hp-scores-wrapper table.contributionscores td:nth-child(2),
.hp-scores-wrapper table.contributionscores td:nth-child(2),
.hp-scores-wrapper table.contributionscores td:nth-child(3) {
.hp-scores-wrapper table.contributionscores td:nth-child(3) {
     display: none !important;
     display: none !important;
}
}