好多梨留言 | 贡献
无编辑摘要
好多梨留言 | 贡献
无编辑摘要
第15行: 第15行:
}
}
#p-navigation .mw-portlet-body ul span:nth-last-of-type(2) {
#p-navigation .mw-portlet-body ul span:nth-last-of-type(2) {
display: none;
}
/* 目录相关 */
#toc {
display: none;
display: none;
}
}

2025年12月22日 (一) 15:48的版本

/* 这里放置的CSS将应用于所有皮肤 */
.gallery-details-tabs {
	display: flex;
    flex-wrap: wrap;
    gap: 8px;
}


/* 导航栏 */
#p-navigation {
	display: none;
}
#p-navigation .mw-portlet-body ul li:nth-last-of-type(2) {
	display: none;
}
#p-navigation .mw-portlet-body ul span:nth-last-of-type(2) {
	display: none;
}


/* 目录相关 */
#toc {
	display: none;
}



/* 筛选相关 */
/* 筛选器容器 */
.mw-filter-container {
    background: #f8f9fa;
    border: 1px solid #a2a9b1;
    border-radius: 4px;
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* 筛选器头部 */
.mw-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    border-bottom: 1px solid #eaecf0;
    padding-bottom: 12px;
}

.mw-filter-header h3 {
    margin: 0;
    font-size: 18px;
    color: #202122;
    font-weight: bold;
}

.mw-filter-actions {
    display: flex;
    gap: 8px;
}

.mw-filter-action {
    padding: 6px 16px;
    background: #3366cc;
    color: white;
    border-radius: 2px;
    cursor: pointer;
    font-size: 14px;
    user-select: none;
    transition: background-color 0.2s;
    border: none;
    outline: none;
}

.mw-filter-action.mw-filter-reset {
    background: #72777d;
}

.mw-filter-action:hover {
    background: #2a4b8d;
}

.mw-filter-action.mw-filter-reset:hover {
    background: #54595d;
}

.mw-filter-action:focus {
    box-shadow: 0 0 0 2px rgba(51,102,204,0.3);
}

/* 筛选组 */
.mw-filter-group {
    margin-bottom: 20px;
    background: white;
    border: 1px solid #c8ccd1;
    border-radius: 4px;
    padding: 12px;
    position: relative;
}

.mw-filter-group h4 {
    margin: 0 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 16px;
    color: #54595d;
    padding-right: 60px;
}

.mw-filter-group-clear {
    position: absolute;
    right: 12px;
    top: 12px;
    color: #36c;
    font-size: 12px;
    cursor: pointer;
    padding: 2px 8px;
    border-radius: 2px;
    user-select: none;
}

.mw-filter-group-clear:hover {
    background: #eaf3ff;
}

/* 筛选项 */
.mw-filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mw-filter-option {
    padding: 6px 12px;
    background: #f0f0f0;
    border: 1px solid #c8ccd1;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    user-select: none;
    transition: all 0.2s;
    outline: none;
}

.mw-filter-option:hover {
    background: #e0e0e0;
    border-color: #a2a9b1;
}

.mw-filter-option:focus {
    box-shadow: 0 0 0 2px rgba(42,75,141,0.3);
    border-color: #2a4b8d;
}

.mw-filter-option.mw-filter-selected {
    background: #2a4b8d;
    color: white;
    border-color: #2a4b8d;
}

.mw-filter-option.mw-filter-option-all {
    background: #eaf3ff;
    border-color: #36c;
    color: #36c;
}

.mw-filter-option.mw-filter-option-all.mw-filter-selected {
    background: #36c;
    color: white;
}

.mw-filter-option-label {
    display: inline-block;
}

/* 活动筛选标签 */
.mw-active-filters {
    margin-top: 16px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #eaecf0;
    display: none;
}

.mw-active-filters-label {
    display: block;
    font-weight: 600;
    color: #54595d;
    margin-bottom: 8px;
    font-size: 14px;
}

.mw-active-filters-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mw-active-filter-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: #eaf3ff;
    border: 1px solid #36c;
    border-radius: 16px;
    font-size: 13px;
    max-width: 300px;
}

.mw-active-filter-text {
    margin-right: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mw-active-filter-remove {
    color: #36c;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    padding: 0 2px;
    border-radius: 2px;
    flex-shrink: 0;
    user-select: none;
    outline: none;
}

.mw-active-filter-remove:hover {
    background: #36c;
    color: white;
}

.mw-active-filter-remove:focus {
    box-shadow: 0 0 0 2px rgba(51,102,204,0.3);
}

/* 筛选统计 */
.mw-filter-stats {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eaecf0;
    color: #54595d;
    font-size: 14px;
    display: none;
}

/* 被筛选元素的样式 */
.mw-filtered-out {
    display: none !important;
}

.mw-filtered-in {
    animation: mwFilterFadeIn 0.3s;
}

@keyframes mwFilterFadeIn {
    from { opacity: 0.5; }
    to { opacity: 1; }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .mw-filter-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .mw-filter-actions {
        align-self: stretch;
    }
    
    .mw-filter-action {
        flex: 1;
        text-align: center;
    }
    
    .mw-filter-group h4 {
        padding-right: 0;
    }
    
    .mw-filter-group-clear {
        position: static;
        display: inline-block;
        margin-left: 8px;
    }
}