Main Page: Difference between revisions

From yangwa
No edit summary
No edit summary
 
(63 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{#if:{{#ifeq:{{USERID}}|0|0|1}}| <!-- 如果是游客 -->
<noinclude>{{DISPLAYTITLE:Welcome}}</noinclude>
<div style="text-align:center; margin-top: 200px;">
 
'''Please [{{fullurl:Special:UserLogin|returnto=Main Page}} log in] to continue.'''
{{#if:{{#ifeq:{{USERID}}|0|0|1}}|
</div>
<!-- 未登录用户首页视图 -->
<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;
    }
 
    .homepage-wrapper h1 {
      font-size: 32px;
      font-weight: bold;
      margin-bottom: 16px;
    }
 
    .homepage-wrapper p {
      font-size: 16px;
      margin-bottom: 20px;
    }
 
    .homepage-links a {
      font-size: 16px;
      color: #007BFF !important;
      text-decoration: none;
      margin: 0 16px;
    }
 
    .homepage-links a:hover {
      text-decoration: underline;
    }
 
    /* 🧬 DNA 图标动画,全屏漂浮 */
    @keyframes floatDNA {
      0%  { transform: translateY(0px); opacity: 0.5; }
      50%  { transform: translateY(-40px); opacity: 0.2; }
      100% { transform: translateY(0px); opacity: 0.5; }
    }
 
    .floating-dna {
      position: fixed;
      font-size: 28px;
      pointer-events: none;
      z-index: 5;
      animation: floatDNA 6s ease-in-out infinite;
      color: #aaa;
      mix-blend-mode: multiply;
    }
 
    .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;
    }
 
    .custom-footer a {
      color: #888;
      text-decoration: none;
    }
  </style>
 
  <!-- 🧬 DNA Icons -->
  <div class="floating-dna dna1">🧬</div>
  <div class="floating-dna dna2">🧬</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>
 
  <!-- 📌 固定页脚信息 -->
  <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>
</html>
 
|
|
<!-- 登录用户看到的内容 -->
<!-- 登录后视图 -->
欢迎回来!这是登录后的首页内容,可以自定义你想展示的模块、导航等。
<html>
  <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、基因电路与药物递送系统,推动精准药物与未来药剂学的发展。