Main Page: Difference between revisions

From yangwa
No edit summary
No edit summary
Line 2: Line 2:


{{#if:{{#ifeq:{{USERID}}|0|0|1}}|
{{#if:{{#ifeq:{{USERID}}|0|0|1}}|
<!-- 未登录用户视图(暗色 + DNA + 顶栏到底部 + 双按钮统一暗色) -->
<!-- 未登录用户视图(暗色 + DNA + 顶栏到底部 + 鼠标移入顶部显示 + 双按钮统一暗色) -->
<html>
<html>


Line 12: Line 12:
     }
     }


     /* 📦 顶部栏固定到底部显示 */
     /* 📦 顶部栏隐藏 + 鼠标悬停顶部显示 */
     #mw-head, #p-personal, #mw-head-base, #mw-panel {
     body.page-Main_Page #mw-head-base,
      position: fixed !important;
    body.page-Main_Page #p-personal,
      top: auto !important;
    body.page-Main_Page #mw-panel,
      bottom: 0 !important;
    body.page-Main_Page #mw-page-base,
      width: 100%;
    body.page-Main_Page #mw-head {
      background-color: #121212;
       opacity: 0;
       opacity: 0.15;
       pointer-events: none;
       pointer-events: none;
      z-index: 1000;
       transition: opacity 0.4s ease;
       transition: opacity 0.3s ease;
     }
     }


     body:hover #mw-head,
     body.page-Main_Page:hover #mw-head-base,
     body:hover #p-personal,
     body.page-Main_Page:hover #p-personal,
     body:hover #mw-head-base {
     body.page-Main_Page:hover #mw-panel,
       opacity: 0.4;
    body.page-Main_Page:hover #mw-page-base,
    body.page-Main_Page:hover #mw-head {
       opacity: 1;
       pointer-events: auto;
       pointer-events: auto;
    }
    /* 隐藏 Wiki Logo */
    #p-logo {
      display: none !important;
     }
     }


Line 62: Line 57:
       background-color: #495057 !important;
       background-color: #495057 !important;
       transform: scale(1.05);
       transform: scale(1.05);
    }
    /* 🧼 隐藏 Wiki logo */
    #p-logo {
      display: none !important;
     }
     }
   </style>
   </style>

Revision as of 00:59, 12 April 2025


🧬
🧬
🧬

Welcome to the Lab of Synthetic Biopharmaceutics

Please log in to access Labwiki content.

© 2025 Yangwa Lab · 蜀ICP备2025131392号