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

Template:角色信息/styles.css

模板页面
Jhq223留言 | 贡献2025年10月14日 (二) 20:28的版本 (创建页面,内容为“Main Container:​ .char-infobox-container { display: flex; flex-wrap: wrap; gap: 16px; background: #f7f9fc; border: 1px solid #c8d7e3; border-radius: 8px; padding: 16px; margin: 1em auto; max-width: 1000px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); } Left Column:​ .char-infobox-left { flex: 1; min-width: 300px; 保证左栏在小屏幕上不会太窄:​ max-width: 350px; } .char-header .title { fo…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
/* Main Container */
.char-infobox-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    background: #f7f9fc;
    border: 1px solid #c8d7e3;
    border-radius: 8px;
    padding: 16px;
    margin: 1em auto;
    max-width: 1000px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Left Column */
.char-infobox-left {
    flex: 1;
    min-width: 300px; /* 保证左栏在小屏幕上不会太窄 */
    max-width: 350px;
}
.char-header .title {
    font-size: 1.1em;
    color: #546e7a;
}
.char-header .name {
    font-size: 2em;
    font-weight: bold;
    color: #263238;
    margin-bottom: 10px;
}
.char-main-art {
    width: 100%;
    margin-bottom: 16px;
}
.char-main-art img {
    border-radius: 6px;
    border: 1px solid #c8d7e3;
}

/* Right Column */
.char-infobox-right {
    flex: 2;
    min-width: 400px; /* 保证右栏内容不会被过度压缩 */
}

/* General Section Styling */
.char-section {
    background: #ffffff;
    border: 1px solid #ddeeff;
    border-radius: 6px;
    margin-bottom: 16px;
    overflow: hidden; /* 保证子元素圆角 */
}
.char-section-title {
    font-size: 1.3em;
    font-weight: 600;
    color: #1e3a54;
    padding: 10px 15px;
    background: linear-gradient(to right, #eaf2ff, #f9fbff);
    border-bottom: 1px solid #ddeeff;
}
.char-section-content {
    padding: 15px;
    line-height: 1.6;
}
.char-section-content p:first-child { margin-top: 0; }
.char-section-content p:last-child { margin-bottom: 0; }

/* Tables */
.char-data-table {
    width: 100%;
    border-collapse: collapse;
}
.char-data-table th, .char-data-table td {
    padding: 8px 10px;
    text-align: left;
    border-bottom: 1px solid #eef3f7;
}
.char-data-table th {
    background-color: #f7f9fc;
    font-weight: 600;
    color: #37474f;
    width: 30%;
}
.char-data-table tr:last-child th, .char-data-table tr:last-child td {
    border-bottom: none;
}
.char-stats-table td { text-align: center; }
.char-stats-table th { text-align: center; font-weight: normal; }


/* Custom Tabber Styling */
.char-section .tabber-container .tabber-tabs {
    border-bottom: 2px solid #a7d7f9;
    padding-left: 10px;
}
.char-section .tabber-container .tabber-tabs li a {
    background-color: transparent !important;
    border: none !important;
    font-weight: 600;
    color: #546e7a !important;
    padding: 8px 14px !important;
    border-radius: 6px 6px 0 0 !important;
    transition: all 0.2s ease;
}
.char-section .tabber-container .tabber-tabs li.tabber-tab-selected a {
    background-color: #a7d7f9 !important;
    color: #fff !important;
}
.char-section .tabber-container .tabber-content {
    padding: 15px;
    border-top: none;
}

/* Equipment Box */
.char-equip-box {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}
.char-equip-icon {
    flex-shrink: 0;
}
.char-equip-details {
    flex-grow: 1;
}
.char-equip-name {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 10px;
}
.char-equip-stats {
    font-size: 0.9em;
    line-height: 1.7;
    background: #f7f9fc;
    padding: 10px;
    border-radius: 4px;
}
.char-equip-stats strong {
    color: #2b6a9c;
}

/* Skill Content */
.char-skill-content {
    line-height: 1.6;
}
.char-skill-content .level {
    font-weight: bold;
    color: #333;
    padding: 4px 8px;
    background-color: #f0f4f8;
    border-radius: 4px;
    display: inline-block;
    margin-top: 8px;
    margin-bottom: 4px;
}
.char-skill-content .cost {
    float: right;
    font-size: 0.9em;
    background-color: #546e7a;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
}
我们为您提供服务需要使用Cookie。使用我们的服务即表示您同意我们使用Cookie。