Main Page: Difference between revisions

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


{{#if:{{#ifeq:{{USERID}}|0|0|1}}|
{{#if:{{#ifeq:{{USERID}}|0|0|1}}|
<!-- 未登录用户视图(暗色 + DNA) -->
<!-- 未登录用户:显示欢迎页 + DNA 动画 + 淡化工具栏 -->
<html>
<html>


   <style>
   <style>
     /* 全页面背景和文本暗色 */
     /* 淡化工具栏 + 隐藏 wiki logo */
    body {
      background-color: #121212;
      color: #f0f0f0;
    }
 
    /* 顶部淡化 & 隐藏 logo */
     #mw-head-base, #mw-head, #mw-panel, #p-personal, #mw-page-base {
     #mw-head-base, #mw-head, #mw-panel, #p-personal, #mw-page-base {
       opacity: 0.08;
       opacity: 0.08;
Line 29: Line 23:
     }
     }


     /* 🧬 DNA 动画 */
     /* 🧬 DNA 漂浮动画 */
     @keyframes floatDNA {
     @keyframes floatDNA {
       0%  { transform: translateY(0px); opacity: 0.5; }
       0%  { transform: translateY(0px); opacity: 0.6; }
       50%  { transform: translateY(-20px); opacity: 0.3; }
       50%  { transform: translateY(-20px); opacity: 0.3; }
       100% { transform: translateY(0px); opacity: 0.5; }
       100% { transform: translateY(0px); opacity: 0.6; }
     }
     }
     .floating-dna {
     .floating-dna {
Line 41: Line 35:
       pointer-events: none;
       pointer-events: none;
       z-index: 0;
       z-index: 0;
      color: #ccc;
     }
     }
     .dna1 { top: 15%; left: 12%; animation-delay: 0s; }
     .dna1 { top: 15%; left: 12%; animation-delay: 0s; }
     .dna2 { top: 30%; left: 78%; animation-delay: 1s; }
     .dna2 { top: 30%; left: 78%; animation-delay: 1s; }
     .dna3 { top: 65%; left: 45%; animation-delay: 2s; }
     .dna3 { top: 65%; left: 45%; animation-delay: 2s; }
    /* 登录按钮 hover 效果 */
    .login-btn:hover {
      background-color: #0056d2;
      transform: scale(1.05);
    }
   </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; color: #ffffff;">Welcome to the Lab of Synthetic Biopharmaceutics</h1>
     <h1 style="font-size: 32px; margin-bottom: 16px;">Welcome to the Lab of Synthetic Biopharmaceutics</h1>


     <p style="font-size: 16px; color: #ccc; margin-bottom: 40px;">
     <p style="font-size: 16px; color: #555; 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"  
      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;">
       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: #666;">
     <div style="margin-top: 60px; font-size: 12px; color: #999;">
       © 2025 Yangwa Lab · <a href="https://beian.miit.gov.cn" target="_blank" style="color: #888; text-decoration: none;">蜀ICP备2025131392号</a>
       © 2025 Yangwa Lab · <a href="https://beian.miit.gov.cn" target="_blank" style="color: #999; 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:43, 11 April 2025


🧬
🧬
🧬

Welcome to the Lab of Synthetic Biopharmaceutics

Please log in to access Labwiki content.

Log in
© 2025 Yangwa Lab · 蜀ICP备2025131392号