forge
Explore
Log in

Don't you dare go Hollow

The restart bar is a pill at the bottom, and the offline title reads Server restarting

Browse files at this commit

2ba0cda9ccf5e430bca3f092f4a2a5142b10ed31Ahmet Kaan GümüşParent: 2b69914
  • fix
    • the restart bar is a pill at the bottom, and the offline title reads Server restarting
Show full message
🐛 fix: the restart bar is a pill at the bottom, and the offline title reads Server restarting
crates/forge-web/assets/offline.htmlmodified+2 -2
@@ -12,8 +12,8 @@
1212 <body>
1313 <main class="link-offline" role="status" aria-live="polite">
1414 <p class="link-offline-mark">Forge</p>
15-<p class="link-offline-text" lang="en">Server restarting&hellip; your page is kept</p>
16-<p class="link-offline-text" lang="tr">Sunucu yeniden başlıyor&hellip; sayfanız korunuyor</p>
15+<p class="link-offline-text" lang="en">Server restarting&hellip;</p>
16+<p class="link-offline-text" lang="tr">Sunucu yeniden başlıyor&hellip;</p>
1717 <p class="link-offline-sub" lang="en">This page loads again by itself when the server is back.</p>
1818 <p class="link-offline-sub" lang="tr">Sunucu geri gelince bu sayfa kendiliğinden yeniden yüklenir.</p>
1919 </main>
style/_link.scssmodified+10 -6
@@ -1,19 +1,23 @@
11 // The restart bar (shown while the server is down, nav.js) and the offline page (service worker).
22 // Colours come from the tokens, so light and dark follow the theme.
33
4+// A small pill at the bottom centre: it covers no part of the header or the page's top.
45 .link-bar {
56 position: fixed;
6- top: 0;
7- left: 0;
8- right: 0;
7+ bottom: 16px;
8+ left: 50%;
99 z-index: 1000;
1010 box-sizing: border-box;
11- padding: 8px 16px;
11+ transform: translateX(-50%);
12+ max-width: calc(100% - 32px);
13+ padding: 6px 14px;
14+ border: 1px solid var(--accent);
15+ border-radius: 999px;
1216 text-align: center;
13- font-size: 0.875rem;
17+ font-size: 0.8125rem;
18+ line-height: 1.4;
1419 color: var(--text);
1520 background: var(--accent-soft);
16- border-bottom: 1px solid var(--accent);
1721 overflow-wrap: anywhere;
1822 }
1923