打开/关闭菜单
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

Template:HomePage/styles.css

模板页面
Jhq223留言 | 贡献2025年10月14日 (二) 18:37的版本 (Jhq223将页面Template:HomePage/styles.css的内容模型从“wikitext”更改为“CSS”)
body.page-Main_Page #content, body.page-首页 #content {
    background: none;
    border: none;
    box-shadow: none;
}


.home-grid-container {
    max-width: 1400px;
    margin: 20px auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px; 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.home-card {
    background-color: #2c3a47; 
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #4a5a6a;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
}


.home-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2);
    border-color: #3498db;
}


.home-card .card-label {
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    color: #9ab;
    margin-bottom: 5px;
}

.home-card .card-header {
    font-size: 22px;
    font-weight: bold;
    color: #ffffff;
    margin: 0 0 15px 0;
}

.home-card .card-header a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.home-card .card-header a:hover {
    color: #3498db;
}

.home-card .card-content {
    flex-grow: 1; 
    font-size: 14px;
    line-height: 1.6;
}


.col-span-2 { grid-column: span 2; }
.col-span-3 { grid-column: span 3; }
.col-span-4 { grid-column: span 4; }
.col-span-6 { grid-column: span 6; }
.row-span-2 { grid-row: span 2; }



.home-search-card {
    background-color: #34495e;
    padding: 30px 20px;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.home-search-card .search-title {
    font-size: 32px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    margin: 0 0 10px 0;
}

.home-search-card .inputbox {
    width: 90%;
    max-width: 600px;
    margin: 0 auto;
}

.home-search-card .inputbox-input {
    padding: 12px 15px;
    font-size: 16px;
    border: 2px solid #3498db;
    border-radius: 6px 0 0 6px;
    outline: none;
    color: #333; 
}

.home-search-card .inputbox-button {
    padding: 12px 20px;
    font-size: 16px;
    background-color: #3498db;
    color: white;
    font-weight: bold;
    border: 2px solid #3498db;
    border-left: none;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.home-search-card .inputbox-button:hover {
    background-color: #2980b9;
}

.card-button-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
}

.card-button {
    display: block;
    background-color: #3e5060;
    color: #e0e0e0;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.card-button:hover {
    background-color: #3498db;
    color: #ffffff;
}


.birthday-character-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.character-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #3e5060;
    padding: 8px;
    border-radius: 6px;
    min-width: 180px;
    flex-grow: 1; 
}

.character-item img {
    border-radius: 50%;
    border: 2px solid #3498db;
    background-color: #2c3a47;
}

.character-item span {
    font-size: 14px;
    line-height: 1.3;
}

.character-item a {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
}

.character-item small {
    color: #9ab;
    font-size: 12px;
}


.official-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.official-link-button {
    display: block;
    background-color: #3e5060;
    color: #e0e0e0;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.2s ease;
    font-weight: bold;
}

.official-link-button:hover {
    background-color: #3498db;
    color: #ffffff;
}


@media (max-width: 900px) {
    .home-grid-container {
        grid-template-columns: repeat(3, 1fr);
    }
}


@media (max-width: 600px) {
    .home-grid-container {
        grid-template-columns: 1fr;
    }

    .home-card {
        grid-column: span 1 !important;
        grid-row: auto !important;
    }
}
我们为您提供服务需要使用Cookie。使用我们的服务即表示您同意我们使用Cookie。