顶栏上方留白改为 1.5 倍标题高度,标题与导航间距改为 0.8 倍。
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+4
-2
@@ -21,6 +21,8 @@
|
|||||||
--hub-title-size: 1.75rem;
|
--hub-title-size: 1.75rem;
|
||||||
--hub-title-lh: 1.25;
|
--hub-title-lh: 1.25;
|
||||||
--hub-title-h: calc(var(--hub-title-size) * var(--hub-title-lh));
|
--hub-title-h: calc(var(--hub-title-size) * var(--hub-title-lh));
|
||||||
|
--hub-title-pad-top: calc(var(--hub-title-h) * 1.5);
|
||||||
|
--hub-title-nav-gap: calc(var(--hub-title-h) * 0.8);
|
||||||
--hub-title-gap: calc(var(--hub-title-h) * 1.1);
|
--hub-title-gap: calc(var(--hub-title-h) * 1.1);
|
||||||
}
|
}
|
||||||
* { box-sizing: border-box; }
|
* { box-sizing: border-box; }
|
||||||
@@ -54,8 +56,8 @@ a:hover { color: #7dd3fc; }
|
|||||||
|
|
||||||
.topbar-brand {
|
.topbar-brand {
|
||||||
display: block;
|
display: block;
|
||||||
margin: 0 auto var(--hub-title-gap);
|
margin: 0 auto var(--hub-title-nav-gap);
|
||||||
padding-top: var(--hub-title-gap);
|
padding-top: var(--hub-title-pad-top);
|
||||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
||||||
font-size: var(--hub-title-size);
|
font-size: var(--hub-title-size);
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
|
|||||||
+1
-1
@@ -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 %}加密货币|OKX 期权中控{% endblock %}</title>
|
<title>{% block title %}加密货币|OKX 期权中控{% endblock %}</title>
|
||||||
<link rel="stylesheet" href="{{ url_for('static', filename='hub.css') }}?v=29">
|
<link rel="stylesheet" href="{{ url_for('static', filename='hub.css') }}?v=30">
|
||||||
</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') %}
|
||||||
|
|||||||
Reference in New Issue
Block a user