Main Page: Difference between revisions
No edit summary |
No edit summary Tag: Reverted |
||
Line 2: | Line 2: | ||
{{#if:{{#ifeq:{{USERID}}|0|0|1}}| | {{#if:{{#ifeq:{{USERID}}|0|0|1}}| | ||
<!-- | <!-- 未登录用户视图(暗色 + DNA) --> | ||
<html> | <html> | ||
<style> | <style> | ||
/* | /* 全页面背景和文本暗色 */ | ||
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 23: | Line 29: | ||
} | } | ||
/* 🧬 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.3; } | 50% { transform: translateY(-20px); opacity: 0.3; } | ||
100% { transform: translateY(0px); opacity: 0. | 100% { transform: translateY(0px); opacity: 0.5; } | ||
} | } | ||
.floating-dna { | .floating-dna { | ||
Line 35: | Line 41: | ||
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 元素 --> | ||
<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:42, 11 April 2025
🧬
🧬
🧬
Welcome to the Lab of Synthetic Biopharmaceutics
Please log in to access Labwiki content.
Log in
© 2025 Yangwa Lab · 蜀ICP备2025131392号