2025-08-04 22:16:26 +08:00
|
|
|
* {
|
|
|
|
|
margin: 0;
|
|
|
|
|
padding: 0;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
body {
|
2025-08-27 11:00:53 +08:00
|
|
|
font-family:
|
|
|
|
|
-apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu",
|
|
|
|
|
"Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
2025-08-04 22:16:26 +08:00
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
|
background-color: #f5f5f5;
|
|
|
|
|
color: #333;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#root {
|
|
|
|
|
height: 100vh;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
2025-08-10 19:13:45 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 仅在 macOS 下为顶部预留交通灯空间 */
|
|
|
|
|
/* 保持 mac 下与内容区域左对齐(不额外偏移) */
|
|
|
|
|
|
|
|
|
|
/* 在 macOS 下稍微增加 banner 高度,拉开与交通灯的垂直距离 */
|
|
|
|
|
body.is-mac .app-header {
|
|
|
|
|
padding-top: 1.4rem;
|
|
|
|
|
padding-bottom: 1.4rem;
|
|
|
|
|
}
|