MediaWiki:Common.css:修订间差异

Admin留言 | 贡献
无编辑摘要
Admin留言 | 贡献
无编辑摘要
 
(未显示同一用户的1个中间版本)
第93行: 第93行:
     margin-bottom: 10px; /* 增加底部间距 */
     margin-bottom: 10px; /* 增加底部间距 */
}
}
.novel-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.novel-item {
.novel-item {
     margin-bottom: 5px;
     background-color: #f9f9f9;
     padding: 5px;
    border: 1px solid #ddd;
     border-bottom: 1px solid #ddd;
     padding: 10px;
    border-radius: 5px;
     width: calc(20% - 8px); /* Adjust the percentage for different column counts */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
}


.novel-item:hover {
.novel-item:hover {
     background-color: #f0f0f0;
     transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
 
.novel-item a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: bold;
}
 
.novel-item a:hover {
    color: #06c;
}
}