mirror of
https://github.com/inzerosight/zwus.pages.dev.git
synced 2026-04-07 05:02:16 +00:00
187 lines
5.4 KiB
HTML
187 lines
5.4 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>
|
|
* {
|
|
box-sizing: border-box;
|
|
-webkit-tap-highlight-color: transparent;
|
|
}
|
|
|
|
html, body {
|
|
margin: 0;
|
|
padding: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
background-color: #ffffff;
|
|
color: #000000;
|
|
font-family: 'Inter', sans-serif;
|
|
}
|
|
|
|
body {
|
|
display: grid;
|
|
place-items: center; /* true vertical + horizontal centering */
|
|
text-align: center;
|
|
-webkit-text-size-adjust: 100%;
|
|
padding: 12px;
|
|
padding-top: max(12px, env(safe-area-inset-top));
|
|
padding-bottom: max(12px, env(safe-area-inset-bottom));
|
|
}
|
|
|
|
.page {
|
|
width: min(100%, 760px);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 2.5rem;
|
|
font-weight: 900;
|
|
line-height: 1.1;
|
|
margin: 0 0 2.5rem 0;
|
|
padding: 0 1rem;
|
|
max-width: 600px;
|
|
}
|
|
|
|
.grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 0.75rem;
|
|
width: min(100%, 380px); /* slightly wider so outlined btn text fits */
|
|
margin-bottom: 2.5rem;
|
|
}
|
|
|
|
.grid a {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.5rem;
|
|
min-width: 0;
|
|
text-decoration: none;
|
|
font-weight: 700;
|
|
font-size: clamp(0.86rem, 3.2vw, 0.95rem);
|
|
padding: 0.85rem 0.8rem;
|
|
border-radius: 9999px;
|
|
transition: transform 0.1s ease, opacity 0.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: #ffffff;
|
|
background-color: #000000;
|
|
}
|
|
|
|
.filled.rust {
|
|
background-color: #ce412b;
|
|
}
|
|
|
|
.filled .logo-invert {
|
|
filter: invert(1);
|
|
}
|
|
|
|
.outlined {
|
|
color: #000000;
|
|
background-color: transparent;
|
|
border: 2px solid #000000;
|
|
}
|
|
|
|
.outlined:hover {
|
|
background-color: #000000;
|
|
color: #ffffff;
|
|
}
|
|
|
|
.divider {
|
|
grid-column: 1 / -1;
|
|
height: 1px;
|
|
background: #e0e0e0;
|
|
margin: 0.25rem 0;
|
|
}
|
|
|
|
.playground {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
font-weight: 400;
|
|
font-size: 0.95rem;
|
|
color: #666;
|
|
}
|
|
|
|
.playground img {
|
|
width: 36px;
|
|
height: 36px;
|
|
margin-bottom: 0.6rem;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.playground p {
|
|
margin: 0;
|
|
}
|
|
|
|
.playground a {
|
|
color: #000000;
|
|
font-weight: 700;
|
|
text-decoration: underline;
|
|
text-underline-offset: 4px;
|
|
}
|
|
|
|
@media (max-width: 380px) {
|
|
h1 { font-size: 2rem; }
|
|
.grid { width: min(100%, 300px); }
|
|
.grid a { font-size: 0.8rem; padding: 0.7rem 0.6rem; }
|
|
}
|
|
|
|
@media (max-width: 340px) {
|
|
.grid {
|
|
grid-template-columns: 1fr;
|
|
width: min(100%, 280px);
|
|
}
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<main class="page">
|
|
<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>
|
|
</main>
|
|
</body>
|
|
</html>
|