Fix the Issue of HTML Data Blocks Overlapping with Other Content
Showing
1 changed file
with
45 additions
and
10 deletions
| @@ -2154,26 +2154,60 @@ body {{ | @@ -2154,26 +2154,60 @@ body {{ | ||
| 2154 | color: var(--secondary-color); | 2154 | color: var(--secondary-color); |
| 2155 | font-size: 0.95rem; | 2155 | font-size: 0.95rem; |
| 2156 | }} | 2156 | }} |
| 2157 | +.hero-section, | ||
| 2158 | +.hero-section-combined {{ | ||
| 2159 | + padding: 28px; | ||
| 2160 | + border-radius: 20px; | ||
| 2161 | + background: linear-gradient(135deg, rgba(0,123,255,0.1), rgba(23,162,184,0.08)); | ||
| 2162 | + border: 1px solid rgba(0,0,0,0.08); | ||
| 2163 | + margin-bottom: 32px; | ||
| 2164 | + box-shadow: 0 8px 20px var(--shadow-color); | ||
| 2165 | +}} | ||
| 2157 | .hero-section {{ | 2166 | .hero-section {{ |
| 2158 | display: flex; | 2167 | display: flex; |
| 2159 | flex-wrap: wrap; | 2168 | flex-wrap: wrap; |
| 2160 | gap: 24px; | 2169 | gap: 24px; |
| 2161 | - padding: 24px; | ||
| 2162 | - border-radius: 20px; | ||
| 2163 | - background: linear-gradient(135deg, rgba(0,123,255,0.1), rgba(23,162,184,0.1)); | ||
| 2164 | - border: 1px solid rgba(0,0,0,0.08); | ||
| 2165 | - margin-bottom: 32px; | 2170 | +}} |
| 2171 | +.hero-section-combined .hero-header {{ | ||
| 2172 | + margin-bottom: 14px; | ||
| 2173 | +}} | ||
| 2174 | +.hero-section-combined .hero-hint {{ | ||
| 2175 | + letter-spacing: 0.28em; | ||
| 2176 | + text-transform: uppercase; | ||
| 2177 | + color: var(--secondary-color); | ||
| 2178 | + font-size: 0.9rem; | ||
| 2179 | + margin: 0; | ||
| 2180 | +}} | ||
| 2181 | +.hero-section-combined .hero-title {{ | ||
| 2182 | + margin: 8px 0 4px; | ||
| 2183 | + font-size: 2.2rem; | ||
| 2184 | + line-height: 1.2; | ||
| 2185 | +}} | ||
| 2186 | +.hero-section-combined .hero-subtitle {{ | ||
| 2187 | + margin: 0; | ||
| 2188 | + color: var(--secondary-color); | ||
| 2189 | + font-weight: 600; | ||
| 2190 | +}} | ||
| 2191 | +.hero-body {{ | ||
| 2192 | + display: flex; | ||
| 2193 | + flex-wrap: wrap; | ||
| 2194 | + gap: 20px; | ||
| 2195 | + align-items: flex-start; | ||
| 2166 | }} | 2196 | }} |
| 2167 | .hero-content {{ | 2197 | .hero-content {{ |
| 2168 | flex: 2; | 2198 | flex: 2; |
| 2169 | - min-width: 260px; | 2199 | + min-width: 300px; |
| 2200 | + display: flex; | ||
| 2201 | + flex-direction: column; | ||
| 2202 | + gap: 12px; | ||
| 2170 | }} | 2203 | }} |
| 2171 | .hero-side {{ | 2204 | .hero-side {{ |
| 2172 | flex: 1; | 2205 | flex: 1; |
| 2173 | - min-width: 220px; | 2206 | + min-width: 240px; |
| 2174 | display: grid; | 2207 | display: grid; |
| 2175 | - grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); | 2208 | + grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); |
| 2176 | gap: 12px; | 2209 | gap: 12px; |
| 2210 | + margin-top: 8px; | ||
| 2177 | }} | 2211 | }} |
| 2178 | .hero-kpi {{ | 2212 | .hero-kpi {{ |
| 2179 | background: var(--card-bg); | 2213 | background: var(--card-bg); |
| @@ -2192,7 +2226,7 @@ body {{ | @@ -2192,7 +2226,7 @@ body {{ | ||
| 2192 | .hero-highlights {{ | 2226 | .hero-highlights {{ |
| 2193 | list-style: none; | 2227 | list-style: none; |
| 2194 | padding: 0; | 2228 | padding: 0; |
| 2195 | - margin: 16px 0; | 2229 | + margin: 8px 0 0; |
| 2196 | display: flex; | 2230 | display: flex; |
| 2197 | flex-wrap: wrap; | 2231 | flex-wrap: wrap; |
| 2198 | gap: 10px; | 2232 | gap: 10px; |
| @@ -2216,6 +2250,7 @@ body {{ | @@ -2216,6 +2250,7 @@ body {{ | ||
| 2216 | display: flex; | 2250 | display: flex; |
| 2217 | flex-wrap: wrap; | 2251 | flex-wrap: wrap; |
| 2218 | gap: 12px; | 2252 | gap: 12px; |
| 2253 | + margin-top: 4px; | ||
| 2219 | }} | 2254 | }} |
| 2220 | .ghost-btn {{ | 2255 | .ghost-btn {{ |
| 2221 | border: 1px solid var(--primary-color); | 2256 | border: 1px solid var(--primary-color); |
| @@ -2228,7 +2263,7 @@ body {{ | @@ -2228,7 +2263,7 @@ body {{ | ||
| 2228 | .hero-summary {{ | 2263 | .hero-summary {{ |
| 2229 | font-size: 1.05rem; | 2264 | font-size: 1.05rem; |
| 2230 | font-weight: 500; | 2265 | font-weight: 500; |
| 2231 | - margin-top: 0; | 2266 | + margin: 0; |
| 2232 | }} | 2267 | }} |
| 2233 | .llm-error-block {{ | 2268 | .llm-error-block {{ |
| 2234 | border: 1px dashed var(--secondary-color); | 2269 | border: 1px dashed var(--secondary-color); |
-
Please register or login to post a comment