Primeira versao
This commit is contained in:
+91
@@ -0,0 +1,91 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>Waiting for focus…</title>
|
||||
<style>
|
||||
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
||||
|
||||
:root {
|
||||
--bg: #0d0d0f;
|
||||
--accent: #7fff6e;
|
||||
--muted: #6b6b7a;
|
||||
--text: #e8e8ec;
|
||||
}
|
||||
|
||||
body {
|
||||
background: var(--bg);
|
||||
color: var(--text);
|
||||
font-family: 'JetBrains Mono', 'Courier New', monospace;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 100vh;
|
||||
gap: 24px;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.ring {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
border: 2.5px solid transparent;
|
||||
border-top-color: var(--accent);
|
||||
border-right-color: var(--accent);
|
||||
border-radius: 50%;
|
||||
animation: spin 0.9s linear infinite;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
to { transform: rotate(360deg); }
|
||||
}
|
||||
|
||||
.label {
|
||||
font-size: 11px;
|
||||
letter-spacing: 0.12em;
|
||||
text-transform: uppercase;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.label span {
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
.dest {
|
||||
font-size: 11px;
|
||||
color: var(--muted);
|
||||
max-width: 480px;
|
||||
text-align: center;
|
||||
word-break: break-all;
|
||||
padding: 8px 16px;
|
||||
border: 1px solid #2a2a32;
|
||||
border-radius: 6px;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.go-now {
|
||||
font-size: 11px;
|
||||
color: var(--muted);
|
||||
border: none;
|
||||
background: none;
|
||||
cursor: pointer;
|
||||
text-decoration: underline;
|
||||
text-underline-offset: 3px;
|
||||
letter-spacing: 0.04em;
|
||||
font-family: inherit;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.go-now:hover { color: var(--accent); }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="ring"></div>
|
||||
<p class="label">Waiting for <span>focus</span> to load</p>
|
||||
<p class="dest" id="dest"></p>
|
||||
<button class="go-now" id="goNow">Load now →</button>
|
||||
|
||||
<script src="loader.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user