宠物形象商城|宠物衣橱
<style>/* 基础样式:默认全白背景,仅hover变色 */
.forum-post {
color: #333;
font-size: 14px;
line-height: 1.8;
padding: 15px;
border-radius: 8px;
margin: 0 auto;
background-color: #ffffff;
}
.post-title {
font-size: 28px;
color: #fff;
margin: 0 0 25px 0;
padding: 18px 20px;
border-bottom: none;
font-weight: 800;
text-align: center;
letter-spacing: 2px;
background: #c86428;
border-radius: 10px;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
box-shadow: 0 4px 8px rgba(200, 100, 40, 0.2);
position: relative;
}
.post-title::before, .post-title::after {
content: "★";
color: #fff8e8;
margin: 0 12px;
font-size: 20px;
opacity: 0.8;
}
.section-title {
font-size: 18px;
color: #c86428;
margin: 25px 0 15px 0;
font-weight: 700;
padding: 8px 0 8px 12px;
border-left: 4px solid #c86428;
background-color: #ffffff;
}
/* 核心表格样式 */
.info-table {
width: 100%;
border-collapse: separate;
border-spacing: 0;
margin: 10px 0;
border-radius: 6px;
overflow: hidden;
box-shadow: 0 1px 3px rgba(0,0,0,0.05);
background-color: #ffffff;
}
.info-table th, .info-table td {
padding: 10px 12px;
border: 1px solid #f0e6d8;
vertical-align: middle;
font-size: 14px;
background-color: #ffffff;
transition: background-color 0.2s ease;
}
.info-table th {
color: #fff;
font-weight: 600;
text-align: center;
background-color: #c86428;
}
.info-table tr:hover td {
background-color: #f7f1e5;
}
/* 子表格样式(数据表格) */
.sub-table {
width: 100%;
border-collapse: collapse;
margin: 12px 0;
background: #fff;
}
.sub-table th, .sub-table td {
border: 1px solid #f0e6d8;
padding: 10px;
text-align: center;
font-size: 14px;
}
.sub-table th {
background-color: #c86428;
color: #fff;
font-weight: 600;
}
/* 内容块 */
.content-text {
margin: 12px 0;
line-height: 1.9;
padding: 15px;
border-radius: 6px;
border: 1px solid #f0e6d8;
transition: background-color 0.2s ease;
background-color: #ffffff;
}
.content-text:hover {
background-color: #f7f1e5;
}
.system-list {
margin: 0;
padding-left: 20px;
list-style-type: disc;
}
.system-list li {
margin: 8px 0;
line-height: 1.9;
}
.red-text {
color: #ff0000;
font-weight: bold;
}
.subtitle {
font-size: 15px;
font-weight: bold;
color: #000;
margin: 12px 0 6px;
}
/* 分割线 */
.divider {
border: 0;
height: 1px;
background: #f0e6d8;
margin: 15px 0;
}
/* 移动端适配 */
@media (max-width: 768px) {
.post-title {
font-size: 22px;
padding: 12px 15px;
letter-spacing: 1px;
}
.section-title {
font-size: 16px;
}
.info-table th, .info-table td,
.sub-table th, .sub-table td {
padding: 6px;
font-size: 12px;
}
}
</style>
<div class="forum-post">
<!-- 标题 -->
<h1 class="post-title">宠物形象系统</h1>
<!-- 系统基础信息 -->
<h2 class="section-title">系统基础信息</h2>
<table class="info-table">
<tbody>
<tr>
<th style="width: 12%;">系统简介</th>
<td style="width: 28%; text-align: left;">宠物拥有多个形象、切换自如</td>
<!-- 图片区域已加宽到 60% -->
<td rowspan="3" style="width: 60%; text-align:center;">
<div style="text-align:center; margin:8px 0; color:#999"></div>
</td>
</tr>
<tr>
<th>Npc位置</th>
<td style="text-align: left;">--</td>
</tr>
<tr>
<th>呼出方式</th>
<td style="text-align: left;">宠物状态栏 </td>
</tr>
</tbody>
</table>
<!-- 详细介绍 -->
<h2 class="section-title">详细介绍</h2>
<div class="content-text">
<ol class="system-list" style="list-style-type: decimal; padding-left: 25px;">
<li>打开宠物状态栏后点击 </li>
<li>点击</li>
<li>可在宠物形象商城内选择动作来查看宠物施法动作</li>
</ol>
</div>
</div>
页:
[1]