Main Page: Difference between revisions

From yangwa
No edit summary
No edit summary
Line 2: Line 2:


{{#if:{{#ifeq:{{USERID}}|0|0|1}}|
{{#if:{{#ifeq:{{USERID}}|0|0|1}}|
<!-- 🌐 未登录用户首页 -->
<html>
<html>
   <style>
   <style>
     /* 背景统一为白色 */
     /* 🧱 全局统一背景色为纯白 */
     body.skin-vector-2022.page-Main_Page,
     html, body,
     body.skin-vector-2022.page-Main_Page .mw-body,
    .mw-page-container,
     body.skin-vector-2022.page-Main_Page .vector-body,
     .mw-body,
     body.skin-vector-2022.page-Main_Page .vector-page,
     .mw-content-container,
     body.skin-vector-2022.page-Main_Page #content,
     .vector-body,
     body.skin-vector-2022.page-Main_Page .mw-content-container {
     .vector-page,
     #content {
       background-color: #ffffff !important;
       background-color: #ffffff !important;
       color: #000000 !important;
       color: #000000 !important;
      margin: 0;
      padding: 0;
     }
     }


     /* 主体居中布局 */
     /* 🧹 完全清除侧边栏占位 */
    body.skin-vector-2022.page-Main_Page #mw-panel,
    body.skin-vector-2022.page-Main_Page #mw-sidebar {
      display: none !important;
      width: 0 !important;
      padding: 0 !important;
      margin: 0 !important;
    }
 
    /* 🎯 居中内容容器(相对于整个视窗) */
     .homepage-wrapper {
     .homepage-wrapper {
       display: flex;
       position: fixed;
       flex-direction: column;
       top: 50%;
       justify-content: center;
       left: 50%;
       align-items: center;
       transform: translate(-50%, -50%);
       height: 90vh;
       text-align: center;
       font-family: 'Segoe UI', sans-serif;
       font-family: 'Segoe UI', sans-serif;
       text-align: center;
       z-index: 2;
      padding: 20px;
      position: relative;
     }
     }


Line 40: Line 49:
     }
     }


    /* 链接按钮(无按钮样式,仅文字) */
     .homepage-links a {
     .homepage-links a {
       font-size: 16px;
       font-size: 16px;
Line 52: Line 60:
     }
     }


     /* DNA 图标动画 */
     /* 🧬 浮动 DNA 动画 */
     @keyframes floatDNA {
     @keyframes floatDNA {
       0%  { transform: translateY(0px); opacity: 0.5; }
       0%  { transform: translateY(0px); opacity: 0.5; }
Line 71: Line 79:
     .dna3 { top: 75%; left: 50%; animation-delay: 3s; }
     .dna3 { top: 75%; left: 50%; animation-delay: 3s; }


     /* 页脚固定到底部 */
     /* 📎 固定备案信息在底部 */
     .footer {
     .footer {
       position: fixed;
       position: fixed;
Line 79: Line 87:
       font-size: 12px;
       font-size: 12px;
       color: #888;
       color: #888;
      z-index: 2;
     }
     }


Line 84: Line 93:
       color: #888;
       color: #888;
       text-decoration: none;
       text-decoration: none;
    }
    /* 移除左侧栏 */
    body.skin-vector-2022.page-Main_Page #mw-panel,
    body.skin-vector-2022.page-Main_Page #mw-sidebar {
      display: none !important;
     }
     }
   </style>
   </style>


   <!-- DNA 动效图标 -->
   <!-- 🧬 DNA 动图 -->
   <div class="floating-dna dna1">🧬</div>
   <div class="floating-dna dna1">🧬</div>
   <div class="floating-dna dna2">🧬</div>
   <div class="floating-dna dna2">🧬</div>
   <div class="floating-dna dna3">🧬</div>
   <div class="floating-dna dna3">🧬</div>


   <!-- 页面主体内容 -->
   <!-- 👋 居中正文 -->
   <div class="homepage-wrapper">
   <div class="homepage-wrapper">
     <h1>Welcome to the Lab of Synthetic BioPharmaceutics</h1>
     <h1>Welcome to the Lab of Synthetic BioPharmaceutics</h1>
Line 108: Line 111:
   </div>
   </div>


   <!-- 固定页脚备案 -->
   <!-- 📎 备案信息 -->
   <div class="footer">
   <div class="footer">
     © 2025 Yangwa Lab · <a href="https://beian.miit.gov.cn" target="_blank">蜀ICP备2025131392号</a>
     © 2025 Yangwa Lab ·  
    <a href="https://beian.miit.gov.cn" target="_blank">蜀ICP备2025131392号</a>
   </div>
   </div>
</html>
</html>


|
|
<!-- 👤 登录后视图 -->
== Welcome ==
== Welcome ==
You are now logged in. This is the main page content visible only to authenticated users.
You are now logged in. This is the main page content visible only to authenticated users.
}}
}}

Revision as of 02:30, 14 April 2025


🧬
🧬
🧬

Welcome to the Lab of Synthetic BioPharmaceutics

Please log in to access Labwiki content.