|
18 | 18 | display: flex; |
19 | 19 | align-items: center; |
20 | 20 | gap: var(--ifm-spacing-2xl); |
21 | | - padding: var(--ifm-spacing-3xl) 0; |
| 21 | + padding: var(--ifm-spacing-xl) 0 var(--ifm-spacing-3xl); |
22 | 22 | } |
23 | 23 |
|
24 | 24 | .hero_text { |
|
100 | 100 | } |
101 | 101 |
|
102 | 102 | .banner_text_overlay { |
103 | | - margin-top: 50px; |
| 103 | + margin-top: calc(var(--ifm-navbar-height) + 96px); |
104 | 104 | margin-left: auto; |
105 | 105 | margin-right: auto; |
106 | 106 | text-align: center; |
107 | 107 | color: white; |
108 | | - /* or whatever contrasts with your SVG */ |
109 | 108 | font-size: 2rem; |
110 | 109 | font-family: var(--ifm-font-family-kode-mono); |
111 | 110 | } |
|
131 | 130 | } |
132 | 131 |
|
133 | 132 | :global(.link-to-button).link_to_notebook_link { |
134 | | - display: flex; |
| 133 | + display: inline-flex; |
135 | 134 | align-items: center; |
136 | 135 | justify-content: center; |
137 | | - background: linear-gradient(135deg, |
138 | | - var(--ifm-color-accent-indigo), |
139 | | - var(--ifm-color-accent-dark)); |
140 | | - color: white; |
141 | | - width: 358px; |
| 136 | + background: var(--ifm-color-accent-yellow); |
| 137 | + color: var(--ifm-color-primary-p2); |
| 138 | + width: auto; |
| 139 | + padding: 14px 40px; |
142 | 140 | font-weight: 700; |
143 | 141 | font-family: var(--ifm-font-family-roboto); |
144 | | - font-weight: 600; |
145 | | - font-size: 24px; |
| 142 | + font-size: 18px; |
| 143 | + letter-spacing: 0.5px; |
| 144 | + border-radius: 35px; |
| 145 | + animation: notebookLinkGlow 2.5s ease-in-out infinite; |
| 146 | + transition: transform 0.15s ease, box-shadow 0.15s ease; |
| 147 | +} |
| 148 | + |
| 149 | +:global(.link-to-button).link_to_notebook_link:hover { |
| 150 | + transform: scale(1.05); |
| 151 | + animation: none; |
| 152 | + box-shadow: 0 0 32px rgba(252, 241, 43, 0.85); |
| 153 | +} |
| 154 | + |
| 155 | +@keyframes notebookLinkGlow { |
| 156 | + 0%, 100% { |
| 157 | + box-shadow: 0 0 10px rgba(252, 241, 43, 0.3), 0 0 24px rgba(252, 241, 43, 0.12); |
| 158 | + } |
| 159 | + 50% { |
| 160 | + box-shadow: 0 0 22px rgba(252, 241, 43, 0.7), 0 0 48px rgba(252, 241, 43, 0.3); |
| 161 | + } |
146 | 162 | } |
147 | 163 |
|
148 | 164 |
|
|
0 commit comments