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}}| | ||
<!-- | <!-- 🌐 未登录用户首页 --> | ||
<html> | <html> | ||
<style> | <style> | ||
/* 背景统一为白色 */ | |||
body.skin-vector-2022.page-Main_Page, | |||
body.skin-vector-2022.page-Main_Page .mw-body, | |||
body.skin-vector-2022.page-Main_Page .vector-body, | |||
body.skin-vector-2022.page-Main_Page .vector-page, | |||
body.skin-vector-2022.page-Main_Page #content, | |||
. | body.skin-vector-2022.page-Main_Page .mw-content-container { | ||
background-color: #ffffff !important; | |||
color: #000000 !important; | |||
color: # | |||
} | } | ||
/* 主体居中布局 */ | |||
.homepage-wrapper { | |||
.homepage- | |||
display: flex; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
justify-content: center; | |||
align-items: center; | align-items: center; | ||
height: 90vh; | height: 90vh; | ||
font-family: 'Segoe UI', sans-serif; | |||
text-align: center; | text-align: center; | ||
padding: 20px; | padding: 20px; | ||
position: relative; | position: relative; | ||
} | } | ||
.homepage- | .homepage-wrapper h1 { | ||
font-size: 28px; | font-size: 28px; | ||
font-weight: bold; | |||
margin-bottom: 16px; | margin-bottom: 16px; | ||
} | } | ||
.homepage- | .homepage-wrapper p { | ||
font-size: 16px; | font-size: 16px; | ||
margin-bottom: 24px; | |||
margin-bottom: | |||
} | } | ||
. | /* 链接按钮(无按钮样式,仅文字) */ | ||
.homepage-links a { | |||
font-size: 16px; | |||
color: #007BFF; | |||
text-decoration: none; | |||
margin: 0 16px; | |||
} | |||
.homepage-links a:hover { | |||
text-decoration: underline; | |||
} | } | ||
/* DNA 图标动画 */ | |||
@keyframes floatDNA { | |||
0% { transform: translateY(0px); opacity: 0.5; } | |||
50% { transform: translateY(-20px); opacity: 0.2; } | |||
100% { transform: translateY(0px); opacity: 0.5; } | |||
} | } | ||
. | .floating-dna { | ||
position: absolute; | |||
font-size: 28px; | |||
animation: floatDNA 6s ease-in-out infinite; | |||
pointer-events: none; | |||
z-index: 0; | |||
} | } | ||
.dna1 { top: 15%; left: 12%; animation-delay: 0s; } | |||
.dna2 { top: 35%; left: 82%; animation-delay: 1.5s; } | |||
.dna3 { top: 75%; left: 50%; animation-delay: 3s; } | |||
/* 页脚固定到底部 */ | |||
.footer { | .footer { | ||
position: fixed; | |||
bottom: 12px; | |||
width: 100%; | |||
text-align: center; | |||
font-size: 12px; | font-size: 12px; | ||
color: # | color: #888; | ||
} | |||
.footer a { | |||
color: #888; | |||
text-decoration: none; | |||
} | |||
/* 移除左侧栏 */ | |||
body.skin-vector-2022.page-Main_Page #mw-panel, | |||
body.skin-vector-2022.page-Main_Page #mw-sidebar { | |||
display: none !important; | |||
} | } | ||
</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 class="homepage- | <div class="homepage-wrapper"> | ||
<h1>Welcome to the Lab of Synthetic BioPharmaceutics</h1> | <h1>Welcome to the Lab of Synthetic BioPharmaceutics</h1> | ||
<p>Please log in to access Labwiki content.</p> | <p>Please log in to access Labwiki content.</p> | ||
<div class=" | <div class="homepage-links"> | ||
<a href="/index.php?title=Special:UserLogin&returnto=Project:Dashboard | <a href="/index.php?title=Special:UserLogin&returnto=Project:Dashboard">Log in</a> | ||
<a href="/index.php?title=Project:GroupIntro | <a href="/index.php?title=Project:GroupIntro">Group Introduction</a> | ||
</div> | </div> | ||
</div> | |||
<!-- 固定页脚备案 --> | |||
<div class="footer"> | |||
© 2025 Yangwa Lab · <a href="https://beian.miit.gov.cn" target="_blank">蜀ICP备2025131392号</a> | |||
</div> | </div> | ||
</html> | </html> | ||
| | | | ||
<!-- 👤 登录后视图 --> | <!-- 👤 登录后视图 --> |
Revision as of 02:25, 14 April 2025
🧬
🧬
🧬
Welcome to the Lab of Synthetic BioPharmaceutics
Please log in to access Labwiki content.