This commit is contained in:
@@ -316,6 +316,7 @@ header:hover {
|
|||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ============================================
|
/* ============================================
|
||||||
移动端侧边栏
|
移动端侧边栏
|
||||||
============================================ */
|
============================================ */
|
||||||
@@ -420,7 +421,14 @@ header:hover {
|
|||||||
/* ============================================
|
/* ============================================
|
||||||
Mobile Menu Toggle Button
|
Mobile Menu Toggle Button
|
||||||
============================================ */
|
============================================ */
|
||||||
|
/* 桌面端隐藏汉堡菜单 */
|
||||||
.mobile-menu-toggle {
|
.mobile-menu-toggle {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 移动端显示并设置样式 */
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
.mobile-menu-toggle {
|
||||||
display: flex !important;
|
display: flex !important;
|
||||||
gap: 0;
|
gap: 0;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
@@ -433,11 +441,11 @@ header:hover {
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
background: none;
|
background: none;
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mobile-menu-toggle .mobile-menu-icon {
|
.mobile-menu-toggle .mobile-menu-icon {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
display: block;
|
display: block;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user