mirror of
https://github.com/nubenetes/awesome-kubernetes.git
synced 2026-08-25 07:57:25 +00:00
fix: align Intelligence Digest hero card height with the other 4
The four logo hero cards use a 100px <img>; the Intelligence Digest card uses an emoji <div class=hero-badge-icon> that was only ~32px tall, so it rendered shorter. Give .hero-badge-icon a 100px flex-centered box (and matching 12px bottom margin) so all five cards are the same height. Cache-bust bumped to ?v=2.9.7. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
7c467ea752
commit
891f4b8dbd
Vendored
+8
-2
@@ -363,9 +363,15 @@ a {
|
||||
}
|
||||
|
||||
.hero-badge-icon {
|
||||
font-size: 2rem;
|
||||
/* Match the 100px logo <img> box on the other hero cards so the
|
||||
emoji-based Intelligence Digest card is the same height. */
|
||||
height: 100px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 3.5rem;
|
||||
line-height: 1;
|
||||
margin-bottom: 4px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.hero-badge-title {
|
||||
|
||||
+1
-1
@@ -99,7 +99,7 @@ extra:
|
||||
extra_css:
|
||||
- https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap
|
||||
- static/extra.css
|
||||
- static/v2_elite.css?v=2.9.2
|
||||
- static/v2_elite.css?v=2.9.7
|
||||
|
||||
extra_javascript:
|
||||
- static/v2_filter.js
|
||||
|
||||
Reference in New Issue
Block a user