|
64 | 64 | .top .right { display: flex; align-items: center; gap: 14px; } |
65 | 65 | .badge-flux { font-family: var(--mono); font-size: 11px; color: var(--ink-3); border: 1px solid var(--line); |
66 | 66 | padding: 4px 9px; border-radius: 20px; white-space: nowrap; } |
| 67 | + /* Official "Powered by Flux" lockup — two art variants swapped by theme. */ |
| 68 | + .pbf { display: inline-flex; align-items: center; line-height: 0; opacity: 0.92; } |
| 69 | + .pbf:hover { opacity: 1; } |
| 70 | + .pbf img { width: auto; display: none; } |
| 71 | + .pbf .pbf-on-light { display: inline; } |
| 72 | + @media (prefers-color-scheme: dark) { |
| 73 | + .pbf .pbf-on-light { display: none; } |
| 74 | + .pbf .pbf-on-dark { display: inline; } |
| 75 | + } |
| 76 | + :root[data-theme="light"] .pbf .pbf-on-light { display: inline; } |
| 77 | + :root[data-theme="light"] .pbf .pbf-on-dark { display: none; } |
| 78 | + :root[data-theme="dark"] .pbf .pbf-on-light { display: none; } |
| 79 | + :root[data-theme="dark"] .pbf .pbf-on-dark { display: inline; } |
67 | 80 | .theme-btn { background: transparent; border: 1px solid var(--line); color: var(--ink-2); border-radius: 20px; |
68 | 81 | width: 34px; height: 34px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; |
69 | 82 | font-size: 15px; line-height: 1; } |
|
244 | 257 | <a href="#apps">Get the app</a><a href="#trust">Privacy</a> |
245 | 258 | </nav> |
246 | 259 | <div class="right"> |
247 | | - <span class="badge-flux">Powered by RunOnFlux</span> |
| 260 | + <a class="pbf" href="https://runonflux.com" target="_blank" rel="noreferrer" aria-label="Powered by Flux — opens runonflux.com"> |
| 261 | + <img class="pbf-on-light" src="/powered_by_dark.svg" alt="Powered by Flux" height="16" /> |
| 262 | + <img class="pbf-on-dark" src="/powered_by_light.svg" alt="" height="16" aria-hidden="true" /> |
| 263 | + </a> |
248 | 264 | <button class="theme-btn" id="themeToggle" type="button" aria-label="Toggle light / dark theme" title="Toggle theme">◐</button> |
249 | 265 | </div> |
250 | 266 | </div></header> |
@@ -499,7 +515,7 @@ <h4>Learn</h4> |
499 | 515 | </div> |
500 | 516 | <div class="col"> |
501 | 517 | <h4>Network</h4> |
502 | | - <a href="https://runonflux.io">Powered by RunOnFlux</a> |
| 518 | + <a href="https://runonflux.com">Powered by Flux</a> |
503 | 519 | <a href="https://home.runonflux.io">Flux dashboard</a> |
504 | 520 | </div> |
505 | 521 | </div> |
|
0 commit comments