首页:修订间差异
来自勿忘草与永远的少女
跳到导航跳到搜索
无编辑摘要 |
无编辑摘要 |
||
| 第1行: | 第1行: | ||
<div class="wiki-main"> | <div class="wiki-main"> | ||
<!-- 全站通知 --> | |||
<div class="notice" style="background:#f8f9fa; border-left:4px solid #36c; padding:10px 15px; margin:10px 0; font-size:14px;"> | <div class="notice" style="background:#f8f9fa; border-left:4px solid #36c; padding:10px 15px; margin:10px 0; font-size:14px;"> | ||
'''全站通知:''' 本站数据正在完善中,欢迎参与编辑贡献! | '''全站通知:''' 本站数据正在完善中,欢迎参与编辑贡献! | ||
</div> | </div> | ||
<div class=" | <!-- 横向导航卡片区域 --> | ||
<div class=" | <div class="nav-cards" style="display:grid; grid-template-columns:repeat(auto-fit, minmax(150px, 1fr)); gap:15px; margin:20px 0;"> | ||
<div class="nav-card" style="background:linear-gradient(135deg, #667eea 0%, #764ba2 100%); padding:20px; border-radius:12px; text-align:center; transition:transform 0.2s; cursor:pointer;" onmouseover="this.style.transform='translateY(-5px)'" onmouseout="this.style.transform='translateY(0)'"> | |||
<div style="font-size:32px; margin-bottom:10px;">📚</div> | |||
<a href="/首页" style="color:white; text-decoration:none; font-weight:bold; font-size:16px;">Wiki 首页</a> | |||
</div> | |||
<div class="nav-card" style="background:linear-gradient(135deg, #f093fb 0%, #f5576c 100%); padding:20px; border-radius:12px; text-align:center; transition:transform 0.2s; cursor:pointer;" onmouseover="this.style.transform='translateY(-5px)'" onmouseout="this.style.transform='translateY(0)'"> | |||
<div style="font-size:32px; margin-bottom:10px;">📖</div> | |||
<a href="/游戏攻略" style="color:white; text-decoration:none; font-weight:bold; font-size:16px;">游戏攻略</a> | |||
</div> | |||
<div class="nav-card" style="background:linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); padding:20px; border-radius:12px; text-align:center; transition:transform 0.2s; cursor:pointer;" onmouseover="this.style.transform='translateY(-5px)'" onmouseout="this.style.transform='translateY(0)'"> | |||
<div style="font-size:32px; margin-bottom:10px;">⚔️</div> | |||
<a href="/角色图鉴" style="color:white; text-decoration:none; font-weight:bold; font-size:16px;">角色图鉴</a> | |||
</div> | |||
<div class="nav-card" style="background:linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); padding:20px; border-radius:12px; text-align:center; transition:transform 0.2s; cursor:pointer;" onmouseover="this.style.transform='translateY(-5px)'" onmouseout="this.style.transform='translateY(0)'"> | |||
<div style="font-size:32px; margin-bottom:10px;">🗺️</div> | |||
<a href="/地图资料" style="color:white; text-decoration:none; font-weight:bold; font-size:16px;">地图资料</a> | |||
</div> | |||
<div class="nav-card" style="background:linear-gradient(135deg, #fa709a 0%, #fee140 100%); padding:20px; border-radius:12px; text-align:center; transition:transform 0.2s; cursor:pointer;" onmouseover="this.style.transform='translateY(-5px)'" onmouseout="this.style.transform='translateY(0)'"> | |||
<div style="font-size:32px; margin-bottom:10px;">📊</div> | |||
<a href="/数据统计" style="color:white; text-decoration:none; font-weight:bold; font-size:16px;">数据统计</a> | |||
</div> | |||
</div> | |||
== 最新内容 | <!-- 最新内容区域(已删除最后编辑者栏目) --> | ||
<div class="content-section" style="margin-top:30px;"> | |||
<h2 style="border-bottom:2px solid #36c; padding-bottom:8px;">最新内容</h2> | |||
<small>更新时间:{{CURRENTYEAR}}年{{CURRENTMONTH}}月{{CURRENTDAY2}}日</small> | |||
{| class="wikitable | {| class="wikitable" style="width:100%; margin-top:15px;" | ||
! | ! 页面标题 !! 最后更新 | ||
{{#dpl: | {{#dpl: | ||
| namespace = | | namespace = | ||
| 第20行: | 第47行: | ||
| count = 10 | | count = 10 | ||
| includepage = {#dpl.dpl} | | includepage = {#dpl.dpl} | ||
| format = |,| %PAGE% | | format = |,| [[%PAGE%]] || %DATE% \n|, | ||
}} | }} | ||
|} | |} | ||
</div> | |||
</div> | </div> | ||
<!-- 隐藏页面标题的 CSS --> | |||
* | <style> | ||
* | /* 隐藏页面主标题 */ | ||
.firstHeading, #firstHeading { | |||
display: none !important; | |||
} | |||
/* 调整内容区域的上边距,弥补标题隐藏后的空白 */ | |||
#content { | |||
padding-top: 0 !important; | |||
} | |||
/* 卡片悬停效果优化 */ | |||
.nav-card { | |||
box-shadow: 0 4px 6px rgba(0,0,0,0.1); | |||
} | |||
/* 响应式设计:小屏幕时卡片堆叠 */ | |||
@media (max-width: 768px) { | |||
.nav-cards { | |||
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); | |||
} | |||
.nav-card a { | |||
font-size: 14px !important; | |||
</ | } | ||
} | |||
</style> | |||
2026年3月27日 (五) 22:29的版本
全站通知: 本站数据正在完善中,欢迎参与编辑贡献!
<style> /* 隐藏页面主标题 */ .firstHeading, #firstHeading {
display: none !important;
}
/* 调整内容区域的上边距,弥补标题隐藏后的空白 */
- content {
padding-top: 0 !important;
}
/* 卡片悬停效果优化 */ .nav-card {
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
/* 响应式设计:小屏幕时卡片堆叠 */ @media (max-width: 768px) {
.nav-cards {
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}
.nav-card a {
font-size: 14px !important;
}
} </style>