Main Page: Difference between revisions

From yangwa
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>{{DISPLAYTITLE:Welcome}}</noinclude>
<noinclude>{{DISPLAYTITLE:Welcome}}</noinclude>
{{#if:{{#ifeq:{{USERID}}|0|0|1}}|
{{#if:{{#ifeq:{{USERID}}|0|0|1}}|
<!-- 未登录用户:显示欢迎页 + DNA 动画 + 淡化工具栏 -->
<html>
<html>


   <style>
   <style>
     /* 顶部工具栏淡化(仅未登录) */
     /* 淡化工具栏 + 隐藏 wiki 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 10: Line 12:
       transition: opacity 0.3s ease;
       transition: opacity 0.3s ease;
     }
     }
     body:hover #mw-head-base,
     body:hover #mw-head-base,
     body:hover #mw-head,
     body:hover #mw-head,
Line 18: Line 19:
       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.6; }
Line 30: Line 29:
       100% { transform: translateY(0px); opacity: 0.6; }
       100% { transform: translateY(0px); opacity: 0.6; }
     }
     }
     .floating-dna {
     .floating-dna {
       position: absolute;
       position: absolute;
       font-size: 32px;
       font-size: 28px;
      opacity: 0.5;
       animation: floatDNA 5s ease-in-out infinite;
       animation: floatDNA 6s ease-in-out infinite;
       pointer-events: none;
       pointer-events: none;
      z-index: 0;
     }
     }
 
     .dna1 { top: 15%; left: 12%; animation-delay: 0s; }
     .dna1 { top: 12%; left: 10%; animation-delay: 0s; }
     .dna2 { top: 30%; left: 78%; animation-delay: 1s; }
     .dna2 { top: 30%; left: 80%; animation-delay: 1.5s; }
     .dna3 { top: 65%; left: 45%; animation-delay: 2s; }
     .dna3 { top: 65%; left: 45%; animation-delay: 3s; }
   </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;">


Line 68: Line 65:


   </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:41, 11 April 2025


🧬
🧬
🧬

Welcome to the Lab of Synthetic Biopharmaceutics

Please log in to access Labwiki content.

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