mirror of
https://github.com/multipleof4/stain.otf.git
synced 2026-01-13 16:17:55 +00:00
61 lines
2.8 KiB
HTML
61 lines
2.8 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<title>stain</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<style>
|
|
:root { --bg: #111; --fg: #fafafa; --muted: #666; --ui: system-ui, -apple-system, sans-serif; }
|
|
body {
|
|
margin: 0; padding: 2rem;
|
|
background: var(--bg); color: var(--fg);
|
|
font-family: var(--ui);
|
|
display: flex; flex-direction: column; align-items: center; justify-content: center;
|
|
min-height: 100vh;
|
|
}
|
|
@font-face { font-family: "Stain"; src: url("./dist/Stain.otf") format("opentype"); font-display: block; }
|
|
.stain-font { font-family: "Stain"; }
|
|
.container { max-width: 800px; width: 100%; display: flex; flex-direction: column; justify-content: space-between; min-height: 60vh; }
|
|
.entry { border-left: 1px solid #333; padding-left: 2rem; }
|
|
h1 { font-size: clamp(5rem, 18vw, 10rem); line-height: 0.75; margin: 0 0 1rem -0.5rem; font-weight: normal; letter-spacing: -0.02em; }
|
|
.pos { font-size: 1.5rem; color: var(--muted); margin-bottom: 3rem; display: block; }
|
|
.def-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem; }
|
|
.def-item { font-size: clamp(1.5rem, 4vw, 2.25rem); line-height: 1.1; color: #ccc; }
|
|
.footer { margin-top: auto; padding-top: 4rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 2rem; }
|
|
.meta { font-size: 0.8rem; line-height: 1.6; color: var(--muted); max-width: 400px; }
|
|
.meta a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
|
|
.meta a:hover { color: var(--fg); }
|
|
.btn {
|
|
display: inline-block; background: var(--fg); color: var(--bg); text-decoration: none;
|
|
padding: 0.8rem 1.5rem; border-radius: 99px; font-weight: bold; text-transform: uppercase;
|
|
font-size: 0.75rem; letter-spacing: 0.1em; transition: transform 0.1s;
|
|
}
|
|
.btn:hover { transform: scale(1.05); }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<div class="entry">
|
|
<h1 class="stain-font">stain</h1>
|
|
<span class="stain-font pos">noun</span>
|
|
<ul class="def-list">
|
|
<li class="def-item stain-font">
|
|
a colored patch or dirty mark that is difficult to remove.
|
|
</li>
|
|
<li class="def-item stain-font">
|
|
a mark of disgrace associated with a particular circumstance quality or person.
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<footer class="footer">
|
|
<div class="meta">
|
|
Designed 100% programmatically.<br/>
|
|
Open Source & Public Domain.<br/>
|
|
<a href="https://github.com/multipleof4/stain.otf">multipleof4/stain.otf</a>
|
|
</div>
|
|
<a href="./dist/Stain.otf" class="btn" download>Download .OTF</a>
|
|
</footer>
|
|
</div>
|
|
</body>
|
|
</html>
|