Main Page: Difference between revisions

From yangwa
No edit summary
No edit summary
 
(43 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>
    /* === 页面通用样式 === */
    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 {
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      text-align: center;
      font-family: 'Segoe UI', sans-serif;
      z-index: 20;
      max-width: 960px;
    }


  <style>
     .homepage-wrapper h1 {
     /* 🌑 暗色背景 */
      font-size: 32px;
    body {
       font-weight: bold;
       background-color: #121212;
       margin-bottom: 16px;
       color: #eeeeee;
     }
     }


     /* 📦 顶部栏固定到底部显示 */
     .homepage-wrapper p {
    #mw-head, #p-personal, #mw-head-base, #mw-panel {
       font-size: 16px;
       position: fixed !important;
       margin-bottom: 20px;
      top: auto !important;
      bottom: 0 !important;
      width: 100%;
      background-color: #121212;
      opacity: 0.15;
       pointer-events: none;
      z-index: 1000;
      transition: opacity 0.3s ease;
     }
     }


     body:hover #mw-head,
     .homepage-links a {
    body:hover #p-personal,
      font-size: 16px;
    body:hover #mw-head-base {
      color: #007BFF !important;
       opacity: 0.4;
       text-decoration: none;
       pointer-events: auto;
       margin: 0 16px;
     }
     }


     /* 隐藏 Wiki Logo */
     .homepage-links a:hover {
    #p-logo {
       text-decoration: underline;
       display: none !important;
     }
     }


     /* 🧬 DNA 动画 */
     /* 🧬 DNA 图标动画,全屏漂浮 */
     @keyframes floatDNA {
     @keyframes floatDNA {
       0%  { transform: translateY(0px); opacity: 0.5; }
       0%  { transform: translateY(0px); opacity: 0.5; }
       50%  { transform: translateY(-20px); opacity: 0.2; }
       50%  { transform: translateY(-40px); opacity: 0.2; }
       100% { transform: translateY(0px); opacity: 0.5; }
       100% { transform: translateY(0px); opacity: 0.5; }
     }
     }


     .floating-dna {
     .floating-dna {
       position: absolute;
       position: fixed;
       font-size: 28px;
       font-size: 28px;
      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;
      color: #bbb;
     }
     }


     .dna1 { top: 15%; left: 12%; animation-delay: 0s; }
     .dna1 { top: 20%; left: 12%; animation-delay: 0s; }
     .dna2 { top: 35%; left: 78%; animation-delay: 1.5s; }
     .dna2 { top: 50%; left: 80%; animation-delay: 2s; }
     .dna3 { top: 60%; left: 50%; animation-delay: 3s; }
    .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;
    }


    /* 登录按钮 hover 效果 */
     .custom-footer a {
     .login-btn:hover {
       color: #888;
       background-color: #0056d2;
       text-decoration: none;
       transform: scale(1.05);
     }
     }
   </style>
   </style>
Line 68: Line 117:
   <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 style="display:flex; flex-direction:column; align-items:center; justify-content:center; height:90vh; font-family:'Segoe UI',sans-serif; text-align:center; padding: 20px; position:relative; z-index:2;">
   <div class="homepage-wrapper">
 
    <h1>Welcome to SynBio Pharmaceutical Lab</h1>
     <h1 style="font-size: 32px; margin-bottom: 16px;">Welcome to the Lab of Synthetic Biopharmaceutics</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 style="font-size: 16px; color: #bbb; margin-bottom: 40px;">
    </p>
       Please log in to access Labwiki content.
     <p style="font-size: 15px; color: #555;">
       合成生物药物实验室专注于可编程治疗策略的构建,融合 DNA/RNA origami、基因电路与药物递送系统,推动精准药物与未来药剂学的发展。
     </p>
     </p>
    <div class="homepage-links">
      <a href="/index.php?title=Special:UserLogin&returnto=Project:Dashboard" >Log in 成员登录</a>


    <a href="/index.php?title=Special:UserLogin&returnto=Project:Dashboard"  
      <a href="/index.php?title=Group_Introduction" >Group Introduction 实验室介绍</a>
      class="login-btn"
    </div>
      style="padding: 12px 32px; background-color:#007BFF; color:white; border-radius:8px; text-decoration:none; font-size:16px; transition: all 0.3s ease;">
  </div>
      Log in
    </a>


     <div style="margin-top: 60px; font-size: 12px; color: #666;">
  <!-- 📌 固定页脚信息 -->
       © 2025 Yangwa Lab · <a href="https://beian.miit.gov.cn" target="_blank" style="color: #888; text-decoration: none;">蜀ICP备2025131392号</a>
  <div class="custom-footer">
     <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>
</html>
</html>


|
|
<!-- 👤 登录后:正常 wiki 内容 -->
<!-- 登录后视图 -->
== 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、基因电路与药物递送系统,推动精准药物与未来药剂学的发展。