25 lines
660 B
CSS
25 lines
660 B
CSS
|
@media (min-width: 768px) {
|
||
|
header {
|
||
|
background: none; /* 去掉头部背景色 */
|
||
|
box-shadow: none; /* 去掉头部阴影 */
|
||
|
height: auto; /* 自动高度适应搜索框 */
|
||
|
padding: 0; /* 去掉多余的内边距 */
|
||
|
top: 10px;
|
||
|
}
|
||
|
|
||
|
#fullscreen-button {
|
||
|
display: flex; /* 小屏幕隐藏头部全屏按钮 */
|
||
|
}
|
||
|
|
||
|
#sidebar-fullscreen-button {
|
||
|
display: none; /* 小屏幕显示侧边栏全屏按钮 */
|
||
|
}
|
||
|
|
||
|
#search-input {
|
||
|
margin: 0 auto; /* 搜索框居中显示 */
|
||
|
}
|
||
|
|
||
|
header .toggle-menu {
|
||
|
display: none; /* 在小屏幕时显示菜单按钮 */
|
||
|
}
|
||
|
}
|