中控顶栏上方增加留白,导航字号加大。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-10-04 18:05:55 +08:00
parent 4c9f91f65b
commit 10515ad1b1
2 changed files with 15 additions and 11 deletions
+14 -10
View File
@@ -54,9 +54,9 @@ a:hover { color: #7dd3fc; }
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
gap: 10px; gap: 14px;
min-height: 96px; min-height: 118px;
padding: 18px 88px 16px; padding: 36px 88px 20px;
border-bottom: 1px solid var(--line); border-bottom: 1px solid var(--line);
background: rgba(8, 14, 26, 0.75); background: rgba(8, 14, 26, 0.75);
backdrop-filter: blur(12px); backdrop-filter: blur(12px);
@@ -77,13 +77,14 @@ a:hover { color: #7dd3fc; }
display: flex; display: flex;
justify-content: center; justify-content: center;
flex-wrap: wrap; flex-wrap: wrap;
gap: 4px 22px; gap: 6px 28px;
} }
.topbar-nav a { .topbar-nav a {
color: var(--muted); color: var(--muted);
font-weight: 500; font-size: 1.08rem;
letter-spacing: 0.06em; font-weight: 600;
padding: 2px 0; letter-spacing: 0.08em;
padding: 4px 0;
} }
.topbar-nav a.active { .topbar-nav a.active {
color: var(--accent); color: var(--accent);
@@ -91,7 +92,7 @@ a:hover { color: #7dd3fc; }
} }
.topbar-logout { .topbar-logout {
position: absolute; position: absolute;
top: 16px; top: 22px;
right: 22px; right: 22px;
color: var(--muted); color: var(--muted);
font-size: 0.82rem; font-size: 0.82rem;
@@ -103,8 +104,11 @@ a:hover { color: #7dd3fc; }
@media (max-width: 720px) { @media (max-width: 720px) {
.topbar { .topbar {
min-height: 0; min-height: 0;
padding: 14px 16px 12px; padding: 24px 16px 14px;
gap: 8px; gap: 10px;
}
.topbar-nav a {
font-size: 0.98rem;
} }
.topbar-brand { .topbar-brand {
letter-spacing: 0.22em; letter-spacing: 0.22em;
+1 -1
View File
@@ -4,7 +4,7 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<title>{% block title %}期权中控{% endblock %}</title> <title>{% block title %}期权中控{% endblock %}</title>
<link rel="stylesheet" href="{{ url_for('static', filename='hub.css') }}?v=18"> <link rel="stylesheet" href="{{ url_for('static', filename='hub.css') }}?v=19">
</head> </head>
<body class="{% if request.path.startswith('/login') %}page-login{% elif request.path.startswith('/desk') %}page-desk{% elif request.path.startswith('/stats') %}page-stats{% elif request.path.startswith('/instances') %}page-instances{% elif request.path == '/' %}page-dashboard{% endif %}"> <body class="{% if request.path.startswith('/login') %}page-login{% elif request.path.startswith('/desk') %}page-desk{% elif request.path.startswith('/stats') %}page-stats{% elif request.path.startswith('/instances') %}page-instances{% elif request.path == '/' %}page-dashboard{% endif %}">
{% if session.get('logged_in') %} {% if session.get('logged_in') %}