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

武外梗百科:首页:修订间差异

武外梗百科 爱国好学自强图新的百科全书
无编辑摘要
无编辑摘要
 
(未显示3个用户的73个中间版本)
第1行: 第1行:
<style>
<div class="hp-wrapper-final">
/* ---- 卡片样式 ---- */
.mw-card {
  display: block;
  padding: 20px 22px;
  border-radius: 18px;
  background: #fff;
  margin: 0 0 20px 0;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  text-decoration: none !important;
  color: #111 !important;
  transition: box-shadow .25s, transform .25s;
}


.mw-card:hover {
<div class="hp-banner">
  transform: translateY(-4px);
    <div class="hp-banner-info">
  box-shadow: 0 10px 26px rgba(0,0,0,0.10);
        <h1 class="hp-banner-title">武外梗百科</h1>
}
        <div class="hp-banner-subtitle">爱国好学自强图新的百科全书</div>
        <div class="hp-banner-stats"> '''{{NUMBEROFARTICLES}}''' 篇条目 • '''{{NUMBEROFUSERS}}''' 位用户 • '''{{NUMBEROFEDITS}}''' 次编辑</div>
    </div>
    <div class="hp-banner-nav">
        <div class="hp-nav-box">
[[Special:Random|试试手气]] <span class="sep">•</span> [[:Category:Featured|典范条目]] <br />
[[武外梗百科:指引|新手教程]] <span class="sep">•</span> [[Project:站务|关于本站]]
        </div>
    </div>
</div>


.mw-card h2 {
<div class="hp-news-bar">
  margin: 0 0 6px 0;
    <div class="hp-news-tag">公告</div>
  font-size: 1.35rem;
    <div class="hp-news-content">{{Project:动态}}</div>
  font-weight: 600;
</div>
}


.mw-card p {
<div class="homepage-container" style="display: grid; grid-template-columns: 2.2fr 1fr; gap: 25px; margin-top: 25px; align-items: flex-start;">
  margin: 0;
  opacity: 0.72;
}


/* ---- 单独页面布局 ---- */
    <div class="homepage-left" style="display: flex; flex-direction: column; gap: 25px;">
.mw-main-grid {
       
  display: flex;
        <div style="background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 25px; box-shadow: 0 4px 15px rgba(26, 58, 108, 0.08);">
  gap: 30px;
            <h2 style="border: none !important; margin: 0 0 20px 0 !important; font-size: 1.5em; color: #1a3a6c;">最 近 更 改</h2>
  margin-top: 30px;
            <div style="display: grid; grid-template-columns: 1fr 1fr; gap: 15px;">
}
            {{#ask: [[:+]] | sort=Modification date | limit=4 | order=descending| format=template | template=PageCard | link=none }}
            </div>
        </div>


.mw-left {
        <div style="background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 25px; box-shadow: 0 4px 15px rgba(26, 58, 108, 0.08);">
  flex: 2;
            <h2 style="border: none !important; margin: 0 0 20px 0 !important; font-size: 1.5em; color: #1a3a6c;">最 新 条 目</h2>
}
            {{#ask: [[:+]] | sort=Creation date | order=descending | limit=5 | format=template | template=PageCard | link=none }}
        </div>
    </div>


.mw-right {
    <div class="homepage-right" style="display: flex; flex-direction: column; gap: 25px;">
  flex: 1.2;
       
}
        <div style="background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 20px; box-shadow: 0 4px 15px rgba(26, 58, 108, 0.08); text-align: center;">
            <div id="wiki-wordcount" style="margin: 0 !important;">
                <div class="stat-label" style="font-size: 1em !important; color: #718096 !important;">全站累计字数</div>
                <div id="wiki-wordcount-number" style="font-size: 2.5rem !important; min-width: auto !important; margin: 10px 0;">0</div>
            </div>
        </div>


.mw-section h2 {
        <div style="background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 20px; box-shadow: 0 4px 15px rgba(26, 58, 108, 0.08);">
  font-size: 1.2rem;
            <h2 style="border: none !important; margin: 0 0 12px 0 !important; font-size: 1.2em; color: #1a3a6c;">关于本站</h2>
  margin: 0 0 10px 0;
            <div style="font-size: 0.9em; line-height: 1.6; color: #4a5568;">{{武外梗百科:关于}}</div>
}
        </div>
</style>


<!-- Hero Section -->
        <div style="background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 20px; box-shadow: 0 4px 15px rgba(26, 58, 108, 0.08);">
<div class="mw-hero">
            <h2 style="border: none !important; margin: 0 0 15px 0 !important; font-size: 1.2em; color: #1a3a6c;">搜索分类</h2>
  <div class="mw-hero-title">WFLS Wiki</div>
            <div class="hp-cat-grid">
  <div class="mw-hero-sub">记录属于我们的校园、故与文化。</div>
                <div class="hp-cat-item hp-c-1">[[:Category:老师|👨‍🏫<br/>备受喜爱的老师]]</div>
                <div class="hp-cat-item hp-c-2">[[:Category:学生|🧑‍🎓<br/>诡计多端的同学]]</div>
                <div class="hp-cat-item hp-c-3">[[:Category:事件|📅<br/>校园记]]</div>
                <div class="hp-cat-item hp-c-4">[[:Category:社团|🏫<br/>学校社团介绍]]</div>
            </div>
</div>
</div>
        <div style="background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 20px; box-shadow: 0 4px 15px rgba(26, 58, 108, 0.08);">
    <h2 style="border: none !important; margin: 0 0 15px 0 !important; font-size: 1.2em; color: #1a3a6c; display: flex; align-items: center;">
        <span style="margin-right: 8px;"></span> 明星编辑
    </h2>
   
    <div class="hp-scores-wrapper">
        {{Special:ContributionScores/5/all/notools,nosort}}
    </div>


<div class="mw-main-grid">
    <div style="margin-top: 15px; text-align: center; border-top: 1px solid #edf2f7; padding-top: 10px;">
 
<span style="font-size: 0.85em;">[[Special:ContributionScores|查看完整贡献榜单 →]]</span>
<!-- Left Column -->
    </div>
<div class="mw-left">
 
<a class="mw-card" href="/wiki/分类:事件">
  <h2>学校大事件</h2>
  <p>记录学校的重要事件。</p>
</a>
 
<a class="mw-card" href="/wiki/分类:人物">
  <h2>人物档案</h2>
  <p>老师与同学的百科式资料。</p>
</a>
 
<a class="mw-card" href="/wiki/分类:">
  <h2>梗文化</h2>
  <p>校园传奇梗的收藏地。</p>
</a>
 
<a class="mw-card" href="/wiki/Special:Random">
  <h2>随机页面</h2>
  <p>试试手气?</p>
</a>
 
</div>
</div>
    </div>


<!-- Right Column -->
     </div>
<div class="mw-right">
 
  <div class="mw-section">
    <h2>🔄 最近更改</h2>
    {{Special:RecentChanges/limit=8}}
  </div>
 
  <div class="mw-section">
     <h2>🆕 最新创建</h2>
    {{Special:NewPages/limit=8}}
  </div>
 
</div>
</div>
</div>
</div>