79 lines
3.3 KiB
HTML
79 lines
3.3 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>Locked paste — Palette</title>
|
|
<link rel="stylesheet" href="../themes/tokens.css">
|
|
<style>
|
|
* { box-sizing: border-box; margin: 0; padding: 0; }
|
|
body {
|
|
font-family: var(--font-body);
|
|
background: var(--bg);
|
|
color: var(--fg);
|
|
line-height: 1.45;
|
|
-webkit-font-smoothing: antialiased;
|
|
min-height: 100vh;
|
|
font-size: 14px;
|
|
display: flex; flex-direction: column;
|
|
}
|
|
.topbar {
|
|
display: flex; align-items: center; gap: 20px;
|
|
padding: 0 20px; height: 52px;
|
|
background: var(--surface); border-bottom: 1px solid var(--border);
|
|
}
|
|
.logo { font-weight: 700; font-size: 16px; letter-spacing: -0.02em; text-decoration: none; color: var(--fg); }
|
|
.logo em { font-style: normal; color: var(--muted-fg); font-weight: 400; }
|
|
.topbar .spacer { flex: 1; }
|
|
|
|
.center { flex: 1; display: flex; align-items: center; justify-content: center; padding: 20px; }
|
|
.float {
|
|
background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
|
|
box-shadow: 0 2px 6px rgba(20,14,32,.25), 0 12px 32px rgba(20,14,32,.3);
|
|
overflow: hidden;
|
|
width: 400px; max-width: 100%;
|
|
}
|
|
.inner { padding: 28px; text-align: center; }
|
|
.lockring {
|
|
width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%;
|
|
background: var(--surface-2); display: flex; align-items: center; justify-content: center; font-size: 24px;
|
|
}
|
|
h1 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
|
|
.sub { font-size: 13px; color: var(--muted-fg); margin-bottom: 20px; }
|
|
.slug { font-family: var(--font-mono); font-size: 12px; background: var(--surface-2); padding: 2px 8px; border-radius: 6px; }
|
|
input[type="password"] {
|
|
width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: 9px;
|
|
background: var(--bg); color: var(--fg); font: inherit; font-size: 13.5px; outline: none; text-align: center;
|
|
letter-spacing: .12em;
|
|
}
|
|
input[type="password"]:focus { border-color: var(--accent); }
|
|
.btn {
|
|
width: 100%; margin-top: 12px; background: var(--accent); color: var(--bg); border: none; cursor: pointer;
|
|
padding: 10px; border-radius: 9px; font: inherit; font-size: 13.5px; font-weight: 600;
|
|
}
|
|
.btn:hover { filter: brightness(1.08); }
|
|
.err { display: none; margin-top: 12px; font-size: 12.5px; color: #ff8fa3; }
|
|
.foot { font-size: 12px; color: var(--muted-fg); padding: 14px; border-top: 1px solid var(--border); }
|
|
</style>
|
|
</head>
|
|
<body data-preset="midnight">
|
|
<div class="topbar">
|
|
<a class="logo" href="/history/index.html">Palette <em>/ v0</em></a>
|
|
<div class="spacer"></div>
|
|
</div>
|
|
<div class="center">
|
|
<div class="float">
|
|
<div class="inner">
|
|
<div class="lockring">🔒</div>
|
|
<h1>This paste is locked</h1>
|
|
<p class="sub">Enter the password to view <span class="slug">palette/9mQkLp</span></p>
|
|
<input type="password" placeholder="••••••••">
|
|
<button class="btn" onclick="document.querySelector('.err').style.display='block'">Unlock</button>
|
|
<p class="err">Wrong password. 2 attempts left before a 30s cooldown.</p>
|
|
</div>
|
|
<div class="foot">Expires in 6 days · created by an anonymous user</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|