|
3 | 3 | image: '/images/about/ai-innovation-banner-2.png' |
4 | 4 | --- |
5 | 5 |
|
| 6 | +<style> |
| 7 | +/* Light mode - black banner */ |
| 8 | +.neurips-banner { |
| 9 | + background: #1a1a1a; |
| 10 | + padding: 14px 20px; |
| 11 | + text-align: center; |
| 12 | + position: relative; |
| 13 | + overflow: hidden; |
| 14 | +} |
| 15 | + |
| 16 | +.neurips-banner::before { |
| 17 | + content: ''; |
| 18 | + position: absolute; |
| 19 | + top: 0; |
| 20 | + left: 0; |
| 21 | + right: 0; |
| 22 | + bottom: 0; |
| 23 | + background: linear-gradient(90deg, |
| 24 | + transparent 0%, |
| 25 | + rgba(255, 255, 255, 0.05) 25%, |
| 26 | + rgba(255, 255, 255, 0.1) 50%, |
| 27 | + rgba(255, 255, 255, 0.05) 75%, |
| 28 | + transparent 100%); |
| 29 | + animation: shimmer 3s ease-in-out infinite; |
| 30 | +} |
| 31 | + |
| 32 | +@keyframes shimmer { |
| 33 | + 0%, 100% { transform: translateX(-100%); } |
| 34 | + 50% { transform: translateX(100%); } |
| 35 | +} |
| 36 | + |
| 37 | +.neurips-banner a { |
| 38 | + display: inline-flex; |
| 39 | + align-items: center; |
| 40 | + gap: 12px; |
| 41 | + color: #fff; |
| 42 | + text-decoration: none; |
| 43 | + font-weight: 600; |
| 44 | + font-size: 1.1em; |
| 45 | + letter-spacing: 0.5px; |
| 46 | + position: relative; |
| 47 | + z-index: 1; |
| 48 | + transition: transform 0.2s ease; |
| 49 | +} |
| 50 | + |
| 51 | +.neurips-banner a:hover { |
| 52 | + transform: scale(1.02); |
| 53 | +} |
| 54 | + |
| 55 | +.neurips-banner .banner-text { |
| 56 | + color: #fff; |
| 57 | +} |
| 58 | + |
| 59 | +.neurips-banner .banner-arrow { |
| 60 | + color: #fff; |
| 61 | + font-size: 1.2em; |
| 62 | + animation: bounce-right 1s ease-in-out infinite; |
| 63 | +} |
| 64 | + |
| 65 | +@keyframes bounce-right { |
| 66 | + 0%, 100% { transform: translateX(0); } |
| 67 | + 50% { transform: translateX(5px); } |
| 68 | +} |
| 69 | + |
| 70 | +.neurips-banner .banner-logo { |
| 71 | + height: 28px; |
| 72 | + width: auto; |
| 73 | + vertical-align: middle; |
| 74 | + filter: brightness(0) invert(1); /* Make logo white in light mode */ |
| 75 | +} |
| 76 | + |
| 77 | +/* Dark mode - white banner */ |
| 78 | +:root[dark] .neurips-banner { |
| 79 | + background: #ffffff; |
| 80 | +} |
| 81 | + |
| 82 | +:root[dark] .neurips-banner::before { |
| 83 | + background: linear-gradient(90deg, |
| 84 | + transparent 0%, |
| 85 | + rgba(0, 0, 0, 0.03) 25%, |
| 86 | + rgba(0, 0, 0, 0.05) 50%, |
| 87 | + rgba(0, 0, 0, 0.03) 75%, |
| 88 | + transparent 100%); |
| 89 | +} |
| 90 | + |
| 91 | +:root[dark] .neurips-banner a { |
| 92 | + color: #1a1a1a; |
| 93 | +} |
| 94 | + |
| 95 | +:root[dark] .neurips-banner .banner-text { |
| 96 | + color: #1a1a1a; |
| 97 | +} |
| 98 | + |
| 99 | +:root[dark] .neurips-banner .banner-arrow { |
| 100 | + color: #1a1a1a; |
| 101 | +} |
| 102 | + |
| 103 | +:root[dark] .neurips-banner .banner-logo { |
| 104 | + filter: none; /* Show original logo colors in dark mode */ |
| 105 | +} |
| 106 | +</style> |
| 107 | + |
| 108 | +<div class="neurips-banner"> |
| 109 | + <a href="/neurips/"> |
| 110 | + <span class="banner-text">AI Innovation @ NeurIPS 2025!</span> |
| 111 | + <span class="banner-arrow">→</span> |
| 112 | + </a> |
| 113 | +</div> |
| 114 | + |
6 | 115 | {% include section-hero.html %} |
7 | 116 |
|
8 | 117 | {% include section-portfolio.html %} |
|
0 commit comments