Main Page: Difference between revisions

From yangwa
No edit summary
No edit summary
 
(21 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>
     @keyframes floatDNA {
     /* === 页面通用样式 === */
       0%  { transform: translateY(0); }
    html, body,
       50%  { transform: translateY(-20px); }
    .mw-page-container,
       100% { transform: translateY(0); }
    .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;
     }
     }


     .floating-dna {
     /* 🧹 移除顶部和边栏元素 */
      font-size: 28px;
    body.skin-vector-2022.page-Main_Page #mw-panel,
      position: absolute;
    body.skin-vector-2022.page-Main_Page #mw-sidebar,
      animation: floatDNA 6s ease-in-out infinite;
    body.page-Main_Page .vector-header-container,
      opacity: 0.3;
    body.page-Main_Page .vector-page-toolbar-container,
      pointer-events: none;
    body.page-Main_Page .firstHeading,
       color: #ccc;
    body.page-Main_Page #p-logo,
    body.page-Main_Page .mw-indicators,
    .printfooter,
    .mw-footer,
    #toc {
       display: none !important;
     }
     }


     .dna1 { top: 20%; left: 10%; }
     /* 🎯 居中内容区域 */
     .dna2 { top: 40%; left: 85%; }
     .homepage-wrapper {
    .dna3 { top: 70%; left: 50%; }
      position: fixed;
 
      top: 50%;
    .homepage-container {
      left: 50%;
       display: flex;
       transform: translate(-50%, -50%);
      flex-direction: column;
      align-items: center;
      justify-content: center;
      height: 90vh;
       text-align: center;
       text-align: center;
       font-family: 'Segoe UI', sans-serif;
       font-family: 'Segoe UI', sans-serif;
       padding: 20px;
       z-index: 20;
       position: relative;
       max-width: 960px;
      z-index: 2;
     }
     }


     .homepage-container h1 {
     .homepage-wrapper h1 {
       font-size: 28px;
       font-size: 32px;
      font-weight: bold;
       margin-bottom: 16px;
       margin-bottom: 16px;
      color: #000;
      border-bottom: 1px solid #ccc;
      padding-bottom: 8px;
     }
     }


     .homepage-container p {
     .homepage-wrapper p {
      font-size: 16px;
      margin-bottom: 20px;
    }
 
    .homepage-links a {
       font-size: 16px;
       font-size: 16px;
       color: #333;
       color: #007BFF !important;
       margin-bottom: 32px;
      text-decoration: none;
       margin: 0 16px;
     }
     }


     .button-group {
     .homepage-links a:hover {
       display: flex;
       text-decoration: underline;
      gap: 20px;
      justify-content: center;
      flex-wrap: wrap;
     }
     }


     .login-btn, .intro-btn {
     /* 🧬 DNA 图标动画,全屏漂浮 */
       background-color: #333;
    @keyframes floatDNA {
      color: white;
       0%  { transform: translateY(0px); opacity: 0.5; }
       padding: 12px 24px;
       50%  { transform: translateY(-40px); opacity: 0.2; }
      border-radius: 8px;
       100% { transform: translateY(0px); opacity: 0.5; }
      text-decoration: none;
       font-size: 16px;
      transition: all 0.3s ease;
     }
     }


     .login-btn:hover, .intro-btn:hover {
     .floating-dna {
       background-color: #555;
      position: fixed;
      font-size: 28px;
      pointer-events: none;
      z-index: 5;
       animation: floatDNA 6s ease-in-out infinite;
      color: #aaa;
      mix-blend-mode: multiply;
     }
     }


     .footer {
     .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;
       font-size: 12px;
       color: #999;
       color: #888;
       margin-top: 60px;
       z-index: 15;
      background: #fff;
      padding-bottom: 8px;
    }
 
    .custom-footer a {
      color: #888;
      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>
  <!-- 🎯 主内容 -->
  <div class="homepage-wrapper">
    <h1>Welcome to SynBio Pharmaceutical Lab</h1>
    <p style="font-size: 18px; color: #333; margin-bottom: 24px;">
      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>
      <a href="/index.php?title=Group_Introduction" >Group Introduction 实验室介绍</a>
    </div>
  </div>


   <!-- Main content -->
   <!-- 📌 固定页脚信息 -->
   <div class="homepage-container">
   <div class="custom-footer">
    <h1>Welcome to the Lab of Synthetic BioPharmaceutics</h1>
     <div style="margin-bottom: 4px;">
    <p>Please log in to access Labwiki content.</p>
       <a href="https://beian.miit.gov.cn" target="_blank">蜀ICP备2025131392号</a>
     <div class="button-group">
       <a href="/index.php?title=Special:UserLogin&returnto=Project:Dashboard" class="login-btn">Log in</a>
      <a href="/index.php?title=Project:GroupIntro" class="intro-btn">Group Introduction</a>
     </div>
     </div>
     <div class="footer">
     <div style="margin-bottom: 4px;">
       © 2025 Yangwa Lab · <a href="https://beian.miit.gov.cn" target="_blank" style="color: #999; text-decoration: none;">蜀ICP备2025131392号</a>
       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>
</html>
</html>
|
|
<!-- 👤 登录后视图 -->
<!-- 登录后视图 -->
== 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、基因电路与药物递送系统,推动精准药物与未来药剂学的发展。