Main Page: Difference between revisions

From yangwa
No edit summary
Tag: Manual revert
No edit summary
Line 2: Line 2:


{{#if:{{#ifeq:{{USERID}}|0|0|1}}|
{{#if:{{#ifeq:{{USERID}}|0|0|1}}|
<!-- 未登录用户:显示欢迎页 + DNA 动画 + 淡化工具栏 -->
<!-- 👤 未登录用户界面:暗色主题 + DNA 动画 + 顶部移到底部 -->
<html>
<html>


   <style>
   <style>
     /* 淡化工具栏 + 隐藏 wiki logo */
     /* 🌙 暗色背景 */
     #mw-head-base, #mw-head, #mw-panel, #p-personal, #mw-page-base {
    body {
       opacity: 0.08;
      background-color: #121212;
      color: #f0f0f0;
    }
 
    /* 👥 顶部导航转到底部 + 淡化 */
     #mw-head, #p-personal, #mw-head-base {
      position: absolute !important;
      top: auto !important;
      bottom: 0;
      width: 100%;
       opacity: 0.1;
       pointer-events: none;
       pointer-events: none;
       transition: opacity 0.3s ease;
       transition: opacity 0.3s ease;
      z-index: 5;
     }
     }
    body:hover #mw-head-base,
 
     body:hover #mw-head,
     body:hover #mw-head,  
    body:hover #mw-panel,
     body:hover #p-personal {
     body:hover #p-personal {
       opacity: 0.3;
       opacity: 0.4;
       pointer-events: auto;
       pointer-events: auto;
     }
     }
    /* ❌ 隐藏 wiki logo */
     #p-logo {
     #p-logo {
       display: none !important;
       display: none !important;
     }
     }


     /* 🧬 DNA 漂浮动画 */
     /* 🧬 DNA 动画效果 */
     @keyframes floatDNA {
     @keyframes floatDNA {
       0%  { transform: translateY(0px); opacity: 0.6; }
       0%  { transform: translateY(0px); opacity: 0.5; }
       50%  { transform: translateY(-20px); opacity: 0.3; }
       50%  { transform: translateY(-20px); opacity: 0.2; }
       100% { transform: translateY(0px); opacity: 0.6; }
       100% { transform: translateY(0px); opacity: 0.5; }
     }
     }
     .floating-dna {
     .floating-dna {
       position: absolute;
       position: absolute;
       font-size: 28px;
       font-size: 28px;
       animation: floatDNA 5s ease-in-out infinite;
       animation: floatDNA 6s ease-in-out infinite;
       pointer-events: none;
       pointer-events: none;
       z-index: 0;
       z-index: 0;
      color: #ccc;
    }
    .dna1 { top: 12%; left: 10%; animation-delay: 0s; }
    .dna2 { top: 28%; left: 75%; animation-delay: 1.5s; }
    .dna3 { top: 65%; left: 45%; animation-delay: 3s; }
    /* 登录按钮效果 */
    .login-btn:hover {
      background-color: #0056d2;
      transform: scale(1.05);
     }
     }
    .dna1 { top: 15%; left: 12%; animation-delay: 0s; }
    .dna2 { top: 30%; left: 78%; animation-delay: 1s; }
    .dna3 { top: 65%; left: 45%; animation-delay: 2s; }
   </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 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 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;">


     <h1 style="font-size: 32px; margin-bottom: 16px;">Welcome to the Lab of Synthetic Biopharmaceutics</h1>
     <h1 style="font-size: 32px; margin-bottom: 16px; color: #ffffff;">Welcome to the Lab of Synthetic Biopharmaceutics</h1>


     <p style="font-size: 16px; color: #555; margin-bottom: 40px;">
     <p style="font-size: 16px; color: #ccc; margin-bottom: 40px;">
       Please log in to access Labwiki content.
       Please log in to access Labwiki content.
     </p>
     </p>


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


     <div style="margin-top: 60px; font-size: 12px; color: #999;">
     <div style="margin-top: 60px; font-size: 12px; color: #666;">
       © 2025 Yangwa Lab · <a href="https://beian.miit.gov.cn" target="_blank" style="color: #999; text-decoration: none;">蜀ICP备2025131392号</a>
       © 2025 Yangwa Lab · <a href="https://beian.miit.gov.cn" target="_blank" style="color: #888; text-decoration: none;">蜀ICP备2025131392号</a>
     </div>
     </div>


   </div>
   </div>
</html>
</html>


|
|
<!-- 登录后欢迎文字或直接跳转 dashboard 可自定 -->
<!-- 👨‍🔬 登录用户界面 -->
== 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 22:46, 11 April 2025


🧬
🧬
🧬

Welcome to the Lab of Synthetic Biopharmaceutics

Please log in to access Labwiki content.

© 2025 Yangwa Lab · 蜀ICP备2025131392号