This commit is contained in:
2025-07-14 16:23:25 +08:00
parent 3db7e42e71
commit 6927bdbc42
2 changed files with 7 additions and 4 deletions

View File

@@ -3,11 +3,13 @@
width: 100%; width: 100%;
} }
.header-PC #header { .header-PC #header {
margin: 0 auto; /* margin: 0 auto; */
height: 3.75rem; height: 3.75rem;
width: 1920px; max-width: var(--max-width); /* 与 body 同步 */
position: fixed; position: fixed;
top: 0; top: 0;
left: 50%; /* 先定位到视口中间 */
transform: translateX(-50%); /* 再向左回退自身宽度的一半 */
display: flex; display: flex;
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;

View File

@@ -43,8 +43,9 @@ body {
font-size: 1.2em; font-size: 1.2em;
font-weight: 400; font-weight: 400;
color: #333; color: #333;
max-width: 1920px !important; --max-width: 1920px;
margin:0 auto; max-width: var(--max-width);
margin: 0 auto;
} }
select, select,