diff --git a/index.html b/index.html index 01e1411..402c806 100644 --- a/index.html +++ b/index.html @@ -11,8 +11,10 @@
-

📊 数据可视化图表生成器

-

粘贴数据,生成精美图表或表格

+
+

📊 数据可视化图表生成器

+

粘贴数据,生成精美图表或表格

+
diff --git a/style.css b/style.css index a09d56e..dd31ddf 100644 --- a/style.css +++ b/style.css @@ -35,12 +35,22 @@ body { } .app-header { - text-align: center; - padding: 20px 0 30px; + display: flex; + align-items: center; + justify-content: space-between; + gap: 16px; + flex-wrap: wrap; + text-align: left; + padding: 6px 0 10px; +} + +.header-title { + min-width: 0; } .app-header h1 { - font-size: 2rem; + font-size: 1.35rem; + margin: 0; background: linear-gradient(135deg, var(--primary), #7c3aed); -webkit-background-clip: text; -webkit-text-fill-color: transparent; @@ -49,8 +59,8 @@ body { .subtitle { color: var(--text-light); - margin-top: 5px; - font-size: 0.95rem; + margin-top: 2px; + font-size: 0.8rem; } .main-content { @@ -65,7 +75,7 @@ body { display: flex; flex-direction: column; gap: 16px; - max-height: calc(100vh - 140px); + max-height: calc(100vh - 100px); overflow-y: auto; padding-right: 8px; } @@ -778,7 +788,8 @@ input[type="range"]::-moz-range-thumb { /* ===== 收藏功能 ===== */ .header-actions { - margin-top: 10px; + margin-top: 0; + flex-shrink: 0; } .btn-fav-outline {