MediaWiki

Common.css:修订间差异

来自卡厄思梦境WIKI

律Rhyme留言 | 贡献
无编辑摘要
律Rhyme留言 | 贡献
无编辑摘要
第11行: 第11行:
}
}


/* 标签切换样式 */
/* 标签切换样式 */
/* 标签切换样式 */
.main-line-wrap {
.main-line-wrap {
第30行: 第29行:
     display: flex;
     display: flex;
     flex-wrap: wrap;
     flex-wrap: wrap;
     gap: 8px;
     gap: 6px;
}
}


第43行: 第42行:
     padding: 0;
     padding: 0;
     cursor: pointer;
     cursor: pointer;
     transition: all 0.3s ease;
     transition: all 0.2s ease;
     border-radius: 6px;
     border-radius: 4px;
     background-color: #f8f9fa;
     background-color: #f5f5f5;
     border: 1px solid #dee2e6;
     border: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
}


.czn-list-style:hover {
.czn-list-style:hover {
     background-color: #e9ecef;
     background-color: #e8e8e8;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
}


第60行: 第56行:
     color: white;
     color: white;
     border-color: #007bff;
     border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0,123,255,0.3);
}
}


第66行: 第61行:
     background-color: #0056b3;
     background-color: #0056b3;
     border-color: #0056b3;
     border-color: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0,123,255,0.4);
}
}


.tab-panel {
.tab-panel {
     display: block;
     display: block;
     padding: 12px 20px;
     padding: 8px 16px;
     color: #333;
     color: #333;
     text-decoration: none;
     text-decoration: none;
     font-weight: 500;
     font-weight: normal;
     transition: color 0.3s ease;
     transition: color 0.2s ease;
    border-radius: 6px;
     white-space: nowrap;
     white-space: nowrap;
     min-width: 80px;
     min-width: 60px;
     text-align: center;
     text-align: center;
    font-size: 14px;
}
}


第88行: 第81行:


.resp-tabs-container {
.resp-tabs-container {
     padding: 20px 0;
     padding: 0;
     background: transparent;
     background: transparent;
     margin-top: 15px;
     margin-top: 8px;
}
}


.resp-tab-content {
.resp-tab-content {
     display: none;
     display: none;
     animation: fadeIn 0.3s ease-in-out;
     animation: fadeIn 0.2s ease-in-out;
     background: #fff;
     background: transparent;
     padding: 20px;
     padding: 0;
     border-radius: 8px;
     border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
}


第110行: 第102行:
     from {  
     from {  
         opacity: 0;
         opacity: 0;
        transform: translateY(10px);
     }
     }
     to {  
     to {  
         opacity: 1;
         opacity: 1;
        transform: translateY(0);
     }
     }
}
}
第122行: 第112行:
     .resp-tabs-list {
     .resp-tabs-list {
         flex-direction: column;
         flex-direction: column;
         gap: 6px;
         gap: 4px;
     }
     }
      
      
第130行: 第120行:
      
      
     .tab-panel {
     .tab-panel {
         padding: 10px 15px;
         padding: 6px 12px;
         min-width: auto;
         min-width: auto;
        font-size: 13px;
     }
     }
      
      
     .resp-tabs-container {
     .resp-tabs-container {
        padding: 15px 0;
         margin-top: 6px;
         margin-top: 10px;
    }
   
    .resp-tab-content {
        padding: 15px;
     }
     }
}
}


/* 额外的按钮样式变体 */
/* 可选的颜色主题 - 极简版 */
.czn-list-style.style-rounded {
.czn-list-style.theme-gray.active {
     border-radius: 25px;
    background-color: #6c757d;
     border-color: #6c757d;
}
}


.czn-list-style.style-square {
.czn-list-style.theme-gray.active:hover {
     border-radius: 2px;
    background-color: #545b62;
     border-color: #545b62;
}
}


.czn-list-style.style-large .tab-panel {
.czn-list-style.theme-dark.active {
     padding: 15px 25px;
     background-color: #343a40;
     font-size: 16px;
     border-color: #343a40;
}
}


.czn-list-style.style-small .tab-panel {
.czn-list-style.theme-dark.active:hover {
     padding: 8px 15px;
     background-color: #23272b;
     font-size: 14px;
     border-color: #23272b;
}
}


/* 不同颜色主题 */
.czn-list-style.theme-light.active {
.czn-list-style.theme-green.active {
     background-color: #f8f9fa;
     background-color: #28a745;
     border-color: #f8f9fa;
     border-color: #28a745;
     color: #333;
     box-shadow: 0 4px 12px rgba(40,167,69,0.3);
}
}


.czn-list-style.theme-green.active:hover {
.czn-list-style.theme-light.active .tab-panel {
    background-color: #218838;
     color: #333;
    border-color: #218838;
}
 
.czn-list-style.theme-red.active {
    background-color: #dc3545;
    border-color: #dc3545;
    box-shadow: 0 4px 12px rgba(220,53,69,0.3);
}
 
.czn-list-style.theme-red.active:hover {
    background-color: #c82333;
    border-color: #c82333;
}
 
.czn-list-style.theme-orange.active {
     background-color: #fd7e14;
    border-color: #fd7e14;
    box-shadow: 0 4px 12px rgba(253,126,20,0.3);
}
 
.czn-list-style.theme-orange.active:hover {
    background-color: #e8650e;
    border-color: #e8650e;
}
 
.czn-list-style.theme-purple.active {
    background-color: #6f42c1;
    border-color: #6f42c1;
    box-shadow: 0 4px 12px rgba(111,66,193,0.3);
}
}


.czn-list-style.theme-purple.active:hover {
.czn-list-style.theme-light.active:hover {
     background-color: #5a32a3;
     background-color: #e2e6ea;
     border-color: #5a32a3;
     border-color: #e2e6ea;
}
}

2025年9月21日 (日) 18:38的版本

/* 这里放置的CSS将应用于所有皮肤 */

/* 隐藏通知图标 */
#echo-notifications {
	display:none;
}

/* 隐藏底部图标 */
#footer-right-icons {
	display:none;
}

/* 标签切换样式 */
.main-line-wrap {
    margin: 10px 0;
    font-family: Arial, sans-serif;
}

.resp-tabs {
    background: transparent;
}

.resp-tabs-list {
    list-style: none;
    margin: 0;
    padding: 0;
    background: transparent;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.resp-tabs-list::after {
    content: "";
    display: table;
    clear: both;
}

.czn-list-style {
    margin: 0;
    padding: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 4px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
}

.czn-list-style:hover {
    background-color: #e8e8e8;
}

.czn-list-style.active {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.czn-list-style.active:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.tab-panel {
    display: block;
    padding: 8px 16px;
    color: #333;
    text-decoration: none;
    font-weight: normal;
    transition: color 0.2s ease;
    white-space: nowrap;
    min-width: 60px;
    text-align: center;
    font-size: 14px;
}

.czn-list-style.active .tab-panel {
    color: white;
}

.resp-tabs-container {
    padding: 0;
    background: transparent;
    margin-top: 8px;
}

.resp-tab-content {
    display: none;
    animation: fadeIn 0.2s ease-in-out;
    background: transparent;
    padding: 0;
    border: none;
}

.resp-tab-content[style*="display:block"],
.resp-tab-content[style*="display: block"] {
    display: block !important;
}

@keyframes fadeIn {
    from { 
        opacity: 0;
    }
    to { 
        opacity: 1;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .resp-tabs-list {
        flex-direction: column;
        gap: 4px;
    }
    
    .czn-list-style {
        width: 100%;
    }
    
    .tab-panel {
        padding: 6px 12px;
        min-width: auto;
        font-size: 13px;
    }
    
    .resp-tabs-container {
        margin-top: 6px;
    }
}

/* 可选的颜色主题 - 极简版 */
.czn-list-style.theme-gray.active {
    background-color: #6c757d;
    border-color: #6c757d;
}

.czn-list-style.theme-gray.active:hover {
    background-color: #545b62;
    border-color: #545b62;
}

.czn-list-style.theme-dark.active {
    background-color: #343a40;
    border-color: #343a40;
}

.czn-list-style.theme-dark.active:hover {
    background-color: #23272b;
    border-color: #23272b;
}

.czn-list-style.theme-light.active {
    background-color: #f8f9fa;
    border-color: #f8f9fa;
    color: #333;
}

.czn-list-style.theme-light.active .tab-panel {
    color: #333;
}

.czn-list-style.theme-light.active:hover {
    background-color: #e2e6ea;
    border-color: #e2e6ea;
}