导航栏优化

This commit is contained in:
user123456
2025-06-12 15:23:35 +08:00
parent 99a53087b1
commit 3f97a71df4
2 changed files with 12 additions and 12 deletions

View File

@@ -76,7 +76,7 @@
}
body {
font-family: 'Misans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
background-color: var(--background);
color: var(--foreground);
line-height: 1.5;
@@ -170,7 +170,7 @@
}
/* 主要内容区域 */
.main-content {
.main {
flex: 1;
padding: 2rem 1rem;
}
@@ -653,7 +653,7 @@
</div>
</nav>
<div class="main-content">
<main class="main">
<div class="container">
<h1>Docker镜像搜索</h1>
@@ -1230,6 +1230,6 @@
localStorage.setItem('theme', isDark ? 'dark' : 'light');
});
</script>
</div> <!-- 关闭 main-content -->
</main> <!-- 关闭 main -->
</body>
</html>