Main Page: Difference between revisions
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 动画 + 顶部移到底部 --> | ||
<html> | <html> | ||
<style> | <style> | ||
/* | /* 🌙 暗色背景 */ | ||
#mw-head | body { | ||
opacity: 0. | 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 | body:hover #mw-head, | ||
body:hover #p-personal { | body:hover #p-personal { | ||
opacity: 0. | 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. | 0% { transform: translateY(0px); opacity: 0.5; } | ||
50% { transform: translateY(-20px); opacity: 0. | 50% { transform: translateY(-20px); opacity: 0.2; } | ||
100% { transform: translateY(0px); opacity: 0. | 100% { transform: translateY(0px); opacity: 0.5; } | ||
} | } | ||
.floating-dna { | .floating-dna { | ||
position: absolute; | position: absolute; | ||
font-size: 28px; | font-size: 28px; | ||
animation: floatDNA | 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); | |||
} | } | ||
</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: # | <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: # | <div style="margin-top: 60px; font-size: 12px; color: #666;"> | ||
© 2025 Yangwa Lab · <a href="https://beian.miit.gov.cn" target="_blank" style="color: # | © 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> | ||
| | | | ||
<!-- | <!-- 👨🔬 登录用户界面 --> | ||
== 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.
Log in
© 2025 Yangwa Lab · 蜀ICP备2025131392号