Files
zwus.pages.dev/index.html
2026-03-27 17:42:01 -07:00

192 lines
5.6 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<title>Zero Width Unicode Standard</title>
<link rel="preconnect" href="https://fonts.bunny.net">
<link href="https://fonts.bunny.net/css?family=inter:400,700,900" rel="stylesheet" />
<style>
:root {
--pad: 16px;
--content-max: 760px;
--grid-max: 340px;
}
* {
box-sizing: border-box;
-webkit-tap-highlight-color: transparent;
}
html, body {
margin: 0;
padding: 0;
width: 100%;
min-height: 100%;
background: #fff;
color: #000;
font-family: 'Inter', sans-serif;
overflow-x: hidden;
}
body {
-webkit-text-size-adjust: 100%;
}
.page {
min-height: 100vh;
min-height: 100svh;
min-height: 100dvh;
overflow-y: auto;
padding-top: max(48px, env(safe-area-inset-top));
padding-right: max(var(--pad), env(safe-area-inset-right));
padding-bottom: max(24px, env(safe-area-inset-bottom));
padding-left: max(var(--pad), env(safe-area-inset-left));
}
.content {
width: min(100%, var(--content-max));
margin-inline: auto; /* hard centering */
text-align: center;
}
h1 {
font-size: clamp(2rem, 8vw, 2.6rem);
font-weight: 900;
line-height: 1.1;
margin: 0 0 2.2rem;
padding: 0 1rem;
}
.grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 0.75rem;
width: min(100%, var(--grid-max));
margin: 0 auto 2.2rem; /* hard centering */
}
.grid a {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
text-decoration: none;
font-weight: 700;
font-size: 0.95rem;
padding: 0.85rem 1rem;
border-radius: 9999px;
transition: transform .1s ease, opacity .15s ease, background-color .15s ease, color .15s ease;
white-space: nowrap;
}
.grid a:active {
transform: scale(0.95);
}
.grid a img {
width: 20px;
height: 20px;
object-fit: contain;
flex: 0 0 20px;
}
.filled {
color: #fff;
background: #000;
}
.filled.rust {
background: #ce412b;
}
.filled .logo-invert {
filter: invert(1);
}
.outlined {
color: #000;
background: transparent;
border: 2px solid #000;
}
.outlined:hover {
background: #000;
color: #fff;
}
.divider {
grid-column: 1 / -1;
height: 1px;
background: #e0e0e0;
margin: 0.25rem 0;
}
.playground {
display: flex;
flex-direction: column;
align-items: center;
font-size: 0.95rem;
color: #666;
width: min(100%, var(--grid-max));
margin: 0 auto; /* hard centering */
}
.playground img {
width: 36px;
height: 36px;
margin-bottom: 0.6rem;
border-radius: 8px;
display: block;
}
.playground p {
margin: 0;
}
.playground a {
color: #000;
font-weight: 700;
text-decoration: underline;
text-underline-offset: 4px;
}
@media (max-width: 380px) {
:root { --grid-max: 290px; }
h1 { font-size: 2rem; }
.grid a { font-size: .8rem; padding: .7rem .6rem; }
}
</style>
</head>
<body>
<main class="page">
<section class="content">
<h1>Zero Width Unicode Standard</h1>
<div class="grid">
<a href="https://www.npmjs.com/package/zwus" target="_blank" rel="noopener noreferrer" class="filled">
<img src="assets/npm-logo-black.svg" alt="npm" class="logo-invert"> npm
</a>
<a href="https://crates.io/crates/zwus" target="_blank" rel="noopener noreferrer" class="filled rust">
<img src="assets/Cargo-Logo-Small.png" alt="Cargo"> crates.io
</a>
<div class="divider"></div>
<a href="https://addons.mozilla.org/en-US/firefox/addon/in0sight/" target="_blank" rel="noopener noreferrer" class="outlined">
<img src="assets/Firefox_logo,_2019.svg" alt="Firefox"> Firefox Add-on
</a>
<a href="https://chromewebstore.google.com/detail/acnmohbphjmnbaboacmecidopeplkhog" target="_blank" rel="noopener noreferrer" class="outlined">
<img src="assets/Google_Chrome_icon_(February_2022).svg.png" alt="Chrome"> Chrome Extension
</a>
</div>
<div class="playground">
<img src="https://raw.githubusercontent.com/planetrenox/inzerosight/main/icon_128.png" alt="inØsight logo">
<p>playground: <a href="https://inzerosight.pages.dev" target="_blank" rel="noopener noreferrer">inzerosight.pages.dev</a></p>
</div>
</section>
</main>
</body>
</html>