Main Page: Difference between revisions
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
{{#if:{{#ifeq:{{USERID}}|0|0|1}}| | {{#if:{{#ifeq:{{USERID}}|0|0|1}}| | ||
<!-- | <!-- 未登录用户视图(暗色 + DNA + 顶栏到底部) --> | ||
<html> | <html> | ||
<style> | <style> | ||
/* | /* 🌑 暗色背景 */ | ||
body { | body { | ||
background-color: #121212; | background-color: #121212; | ||
color: # | color: #eeeeee; | ||
} | } | ||
/* | /* 📦 顶部栏固定到底部显示 */ | ||
#mw-head, #p-personal, #mw-head-base { | #mw-head, #p-personal, #mw-head-base, #mw-panel { | ||
position: | position: fixed !important; | ||
top: auto !important; | top: auto !important; | ||
bottom: 0; | bottom: 0 !important; | ||
width: 100%; | width: 100%; | ||
opacity: 0. | background-color: #121212; | ||
opacity: 0.15; | |||
pointer-events: none; | pointer-events: none; | ||
z-index: 1000; | |||
transition: opacity 0.3s ease; | transition: opacity 0.3s ease; | ||
} | } | ||
body:hover #mw-head, | body:hover #mw-head, | ||
body:hover #p-personal { | body:hover #p-personal, | ||
body:hover #mw-head-base { | |||
opacity: 0.4; | 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.5; } | 0% { transform: translateY(0px); opacity: 0.5; } | ||
Line 41: | Line 43: | ||
100% { transform: translateY(0px); opacity: 0.5; } | 100% { transform: translateY(0px); opacity: 0.5; } | ||
} | } | ||
.floating-dna { | .floating-dna { | ||
position: absolute; | position: absolute; | ||
Line 47: | Line 50: | ||
pointer-events: none; | pointer-events: none; | ||
z-index: 0; | z-index: 0; | ||
color: # | color: #bbb; | ||
} | } | ||
/* | .dna1 { top: 15%; left: 12%; animation-delay: 0s; } | ||
.dna2 { top: 35%; left: 78%; animation-delay: 1.5s; } | |||
.dna3 { top: 60%; left: 50%; animation-delay: 3s; } | |||
/* 登录按钮 hover 效果 */ | |||
.login-btn:hover { | .login-btn:hover { | ||
background-color: #0056d2; | background-color: #0056d2; | ||
Line 60: | Line 64: | ||
</style> | </style> | ||
<!-- 🧬 DNA | <!-- 🧬 DNA Icons --> | ||
<div class="floating-dna dna1">🧬</div> | <div class="floating-dna dna1">🧬</div> | ||
<div class="floating-dna dna2">🧬</div> | <div class="floating-dna dna2">🧬</div> | ||
Line 68: | Line 72: | ||
<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 | <h1 style="font-size: 32px; margin-bottom: 16px;">Welcome to the Lab of Synthetic Biopharmaceutics</h1> | ||
<p style="font-size: 16px; color: # | <p style="font-size: 16px; color: #bbb; margin-bottom: 40px;"> | ||
Please log in to access Labwiki content. | Please log in to access Labwiki content. | ||
</p> | </p> | ||
Line 89: | Line 93: | ||
| | | | ||
<!-- | <!-- 👤 登录后:正常 wiki 内容 --> | ||
== 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:48, 11 April 2025
🧬
🧬
🧬
Welcome to the Lab of Synthetic Biopharmaceutics
Please log in to access Labwiki content.
Log in
© 2025 Yangwa Lab · 蜀ICP备2025131392号