Main Page: Difference between revisions

From yangwa
No edit summary
No edit summary
 
(22 intermediate revisions by 5 users not shown)
Line 2: Line 2:


{{#if:{{#ifeq:{{USERID}}|0|0|1}}|
{{#if:{{#ifeq:{{USERID}}|0|0|1}}|
<!-- 未登录用户视图:浅色背景 + 居中内容 + DNA 动画 + 按钮 -->
<!-- 未登录用户首页视图 -->
<html>
<html>
   <style>
   <style>
     /* 中心容器布局 */
     /* === 页面通用样式 === */
    html, body,
    .mw-page-container,
    .mw-page-container-inner,
    .vector-body,
    .vector-page,
    .mw-content-container,
    .mw-body,
    #content,
    .vector-header {
      background-color: #ffffff !important;
      color: #000000 !important;
      margin: 0;
      padding: 0;
      box-shadow: none !important;
    }
 
    /* 🧹 移除顶部和边栏元素 */
    body.skin-vector-2022.page-Main_Page #mw-panel,
    body.skin-vector-2022.page-Main_Page #mw-sidebar,
    body.page-Main_Page .vector-header-container,
    body.page-Main_Page .vector-page-toolbar-container,
    body.page-Main_Page .firstHeading,
    body.page-Main_Page #p-logo,
    body.page-Main_Page .mw-indicators,
    .printfooter,
    .mw-footer,
    #toc {
      display: none !important;
    }
 
    /* 🎯 居中内容区域 */
     .homepage-wrapper {
     .homepage-wrapper {
       min-height: 90vh;
       position: fixed;
       display: flex;
       top: 50%;
       flex-direction: column;
       left: 50%;
       justify-content: center;
       transform: translate(-50%, -50%);
      align-items: center;
       text-align: center;
       text-align: center;
       font-family: 'Segoe UI', sans-serif;
       font-family: 'Segoe UI', sans-serif;
       position: relative;
       z-index: 20;
       z-index: 1;
       max-width: 960px;
     }
     }


     .homepage-container h1 {
     .homepage-wrapper h1 {
       font-size: 28px;
       font-size: 32px;
      font-weight: bold;
       margin-bottom: 16px;
       margin-bottom: 16px;
      color: #000000;
     }
     }


     .homepage-container p {
     .homepage-wrapper p {
       font-size: 16px;
       font-size: 16px;
      color: #333333;
       margin-bottom: 20px;
       margin-bottom: 40px;
     }
     }


     .button-group {
     .homepage-links a {
       display: flex;
       font-size: 16px;
      gap: 20px;
       color: #007BFF !important;
      justify-content: center;
      flex-wrap: wrap;
       margin-bottom: 40px;
    }
 
    .login-btn, .intro-btn {
      background-color: #333;
      color: white;
      padding: 12px 24px;
      border-radius: 8px;
       text-decoration: none;
       text-decoration: none;
       font-size: 16px;
       margin: 0 16px;
      transition: all 0.3s ease;
     }
     }


     .login-btn:hover, .intro-btn:hover {
     .homepage-links a:hover {
       background-color: #555;
       text-decoration: underline;
     }
     }


    .footer {
     /* 🧬 DNA 图标动画,全屏漂浮 */
      font-size: 12px;
      color: #888;
      text-align: center;
      margin-top: 40px;
    }
 
     /* DNA 动画 */
     @keyframes floatDNA {
     @keyframes floatDNA {
       0% { transform: translateY(0); opacity: 0.4; }
       0%   { transform: translateY(0px); opacity: 0.5; }
       50% { transform: translateY(-20px); opacity: 0.2; }
       50% { transform: translateY(-40px); opacity: 0.2; }
       100% { transform: translateY(0); opacity: 0.4; }
       100% { transform: translateY(0px); opacity: 0.5; }
     }
     }


     .floating-dna {
     .floating-dna {
      position: fixed;
       font-size: 28px;
       font-size: 28px;
       position: absolute;
       pointer-events: none;
      z-index: 5;
       animation: floatDNA 6s ease-in-out infinite;
       animation: floatDNA 6s ease-in-out infinite;
       pointer-events: none;
       color: #aaa;
       z-index: 0;
      mix-blend-mode: multiply;
       opacity: 0.3;
    }
 
    .dna1 { top: 20%; left: 12%; animation-delay: 0s; }
    .dna2 { top: 50%; left: 80%; animation-delay: 2s; }
    .dna3 { top: 75%; left: 45%; animation-delay: 4s; }
    .dna4 { top: 35%; left: 60%; animation-delay: 1s; }
    .dna5 { top: 60%; left: 25%; animation-delay: 3s; }
 
    /* 📌 页脚信息固定底部 */
    .custom-footer {
      position: fixed;
      bottom: 8px;
      left: 0;
      width: 100%;
      text-align: center;
      font-size: 12px;
      color: #888;
       z-index: 15;
      background: #fff;
       padding-bottom: 8px;
     }
     }


     .dna1 { top: 20%; left: 10%; animation-delay: 0s; }
     .custom-footer a {
    .dna2 { top: 40%; left: 85%; animation-delay: 1.5s; }
      color: #888;
     .dna3 { top: 75%; left: 50%; animation-delay: 3s; }
      text-decoration: none;
     }
   </style>
   </style>


   <!-- DNA Icons -->
   <!-- 🧬 DNA Icons -->
   <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="floating-dna dna4">🧬</div>
  <div class="floating-dna dna5">🧬</div>


   <!-- Main Welcome Content -->
   <!-- 🎯 主内容 -->
   <div class="homepage-wrapper">
   <div class="homepage-wrapper">
     <div class="homepage-container">
     <h1>Welcome to SynBio Pharmaceutical Lab</h1>
       <h1>Welcome to the Lab of Synthetic BioPharmaceutics</h1>
    <p style="font-size: 18px; color: #333; margin-bottom: 24px;">
       <p>Please log in to access Labwiki content.</p>
       We engineer programmable therapeutic systems at the intersection of synthetic biology and nucleic acid nanotechnology.
    </p>
    <p style="font-size: 15px; color: #555;">
       合成生物药物实验室专注于可编程治疗策略的构建,融合 DNA/RNA origami、基因电路与药物递送系统,推动精准药物与未来药剂学的发展。
    </p>
    <div class="homepage-links">
      <a href="/index.php?title=Special:UserLogin&returnto=Project:Dashboard" >Log in 成员登录</a>


       <div class="button-group">
       <a href="/index.php?title=Group_Introduction" >Group Introduction 实验室介绍</a>
        <a href="/index.php?title=Special:UserLogin&returnto=Project:Dashboard" class="login-btn">Log in</a>
    </div>
        <a href="/index.php?title=Project:GroupIntro" class="intro-btn">Group Introduction</a>
  </div>
      </div>


      <div class="footer">
  <!-- 📌 固定页脚信息 -->
        © 2025 Yangwa Lab · <a href="https://beian.miit.gov.cn" target="_blank" style="color:#666; text-decoration:none;">蜀ICP备2025131392号</a>
  <div class="custom-footer">
       </div>
    <div style="margin-bottom: 4px;">
      <a href="https://beian.miit.gov.cn" target="_blank">蜀ICP备2025131392号</a>
    </div>
    <div style="margin-bottom: 4px;">
      This page was last edited on 14 April 2025, at 02:35.
    </div>
    <div>
      <a href="/index.php?title=Privacy_policy">Privacy policy</a>
      &nbsp; <a href="/index.php?title=About_yangwa">About yangwa</a>
       &nbsp; <a href="/index.php?title=Disclaimers">Disclaimers</a>
      &nbsp; Powered by MediaWiki
     </div>
     </div>
   </div>
   </div>
Line 104: Line 154:


|
|
<!-- 👤 登录后视图 -->
<!-- 登录后视图 -->
== Welcome ==
<html>
You are now logged in. This is the main page content visible only to authenticated users.
  <style>
    .mw-content-container, .mw-body, #content, .firstHeading, #toc {
      display: none !important;
    }
  </style>
</html>
}}
}}

Latest revision as of 13:15, 30 April 2025


🧬
🧬
🧬
🧬
🧬

Welcome to SynBio Pharmaceutical Lab

We engineer programmable therapeutic systems at the intersection of synthetic biology and nucleic acid nanotechnology.

合成生物药物实验室专注于可编程治疗策略的构建,融合 DNA/RNA origami、基因电路与药物递送系统,推动精准药物与未来药剂学的发展。