Files
NginxMan/web/index.html
T
2026-08-27 10:32:08 +08:00

384 lines
9.5 KiB
HTML

<!doctype html>
<!-- NGINXMAN_TEMPLATE_VERSION:3 -->
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="{{NGINXMAN_PORTAL_INTRODUCTION}}">
<meta name="theme-color" content="#071521">
<title>{{NGINXMAN_PORTAL_SITE_NAME}}</title>
<style>
:root {
--ink: #eaf8ff;
--muted: #8da8b6;
--cyan: #19d8ff;
--green: #87ed38;
--line: rgba(118, 199, 224, .18);
--panel: rgba(8, 28, 42, .76);
--panel-hover: rgba(10, 37, 54, .9);
--bg: #06131e;
}
* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
min-height: 100vh;
margin: 0;
overflow-x: hidden;
color: var(--ink);
background:
radial-gradient(circle at 50% 12%, rgba(25, 216, 255, .13), transparent 31rem),
radial-gradient(circle at 88% 82%, rgba(135, 237, 56, .09), transparent 27rem),
linear-gradient(145deg, #071824 0%, var(--bg) 58%, #071119 100%);
font-family: Bahnschrift, "Aptos Display", "Microsoft YaHei UI", sans-serif;
}
body::before {
content: "";
position: fixed;
inset: 0;
pointer-events: none;
opacity: .42;
background-image:
linear-gradient(var(--line) 1px, transparent 1px),
linear-gradient(90deg, var(--line) 1px, transparent 1px);
background-size: 52px 52px;
mask-image: linear-gradient(to bottom, black, transparent 82%);
}
.glow {
position: fixed;
width: 34rem;
height: 34rem;
border: 1px solid rgba(25, 216, 255, .08);
border-radius: 50%;
top: 8%;
left: 50%;
translate: -50% 0;
box-shadow: 0 0 9rem rgba(25, 216, 255, .08) inset;
animation: breathe 7s ease-in-out infinite;
pointer-events: none;
}
.shell {
position: relative;
z-index: 1;
width: min(1120px, calc(100% - 40px));
min-height: 100vh;
margin: 0 auto;
padding: 34px 0 28px;
display: grid;
grid-template-rows: auto 1fr auto;
}
.topbar, .footer {
display: flex;
align-items: center;
justify-content: space-between;
gap: 20px;
}
.brand {
display: flex;
align-items: center;
gap: 13px;
color: var(--ink);
font-size: .9rem;
font-weight: 700;
letter-spacing: .2em;
}
.brand-mark {
position: relative;
width: 30px;
height: 30px;
border: 2px solid var(--green);
border-radius: 8px;
rotate: 45deg;
box-shadow: 0 0 20px rgba(135, 237, 56, .28);
}
.brand-mark::after {
content: "";
position: absolute;
width: 17px;
height: 3px;
left: 5px;
top: 12px;
border-radius: 3px;
background: var(--cyan);
box-shadow: 0 0 10px rgba(25, 216, 255, .8);
}
.network-state {
display: inline-flex;
align-items: center;
gap: 9px;
color: #b8d1dc;
font-size: .76rem;
letter-spacing: .12em;
text-transform: uppercase;
}
.network-state::before {
content: "";
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--green);
box-shadow: 0 0 0 5px rgba(135, 237, 56, .09), 0 0 15px rgba(135, 237, 56, .8);
}
main {
align-self: center;
padding: 62px 0 70px;
}
.eyebrow {
margin: 0 0 18px;
color: var(--cyan);
font-size: .78rem;
font-weight: 700;
letter-spacing: .24em;
text-transform: uppercase;
opacity: 0;
animation: rise .7s .08s forwards;
}
h1 {
max-width: 780px;
margin: 0;
font-size: clamp(3rem, 7.2vw, 6.7rem);
line-height: .9;
letter-spacing: -.055em;
font-weight: 700;
opacity: 0;
animation: rise .8s .16s forwards;
}
h1 span {
display: block;
color: transparent;
-webkit-text-stroke: 1px rgba(194, 237, 250, .62);
}
.intro {
max-width: 570px;
margin: 26px 0 46px;
color: var(--muted);
font-size: clamp(1rem, 1.6vw, 1.16rem);
line-height: 1.75;
opacity: 0;
animation: rise .8s .26s forwards;
}
.services {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
gap: 18px;
}
.service {
position: relative;
min-height: 230px;
padding: 28px;
overflow: hidden;
color: inherit;
text-decoration: none;
border: 1px solid rgba(144, 215, 235, .2);
border-radius: 22px;
background: linear-gradient(145deg, rgba(16, 47, 66, .75), var(--panel));
box-shadow: 0 24px 80px rgba(0, 0, 0, .25);
opacity: 0;
transform: translateY(24px);
animation: card-in .8s var(--delay, .36s) forwards;
transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.service::before {
content: "";
position: absolute;
inset: 0 auto auto 0;
width: 100%;
height: 3px;
background: linear-gradient(90deg, var(--accent), transparent 72%);
box-shadow: 0 0 22px var(--accent);
}
.service::after {
content: "";
position: absolute;
width: 190px;
height: 190px;
right: -80px;
bottom: -100px;
border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
border-radius: 50%;
box-shadow: 0 0 0 24px rgba(255,255,255,.015), 0 0 0 48px rgba(255,255,255,.01);
}
.service:hover, .service:focus-visible {
transform: translateY(-6px);
border-color: color-mix(in srgb, var(--accent) 58%, transparent);
background: var(--panel-hover);
outline: none;
}
.accent-0 { --accent: var(--green); }
.accent-1 { --accent: var(--cyan); }
.accent-2 { --accent: #ffcc66; }
.accent-3 { --accent: #c79cff; }
.service-top {
display: flex;
align-items: center;
justify-content: space-between;
gap: 18px;
}
.service-code {
color: var(--accent);
font-size: .75rem;
letter-spacing: .18em;
text-transform: uppercase;
}
.node {
position: relative;
width: 40px;
height: 40px;
border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent);
border-radius: 12px;
box-shadow: 0 0 22px color-mix(in srgb, var(--accent) 22%, transparent);
}
.node::before, .node::after {
content: "";
position: absolute;
top: 18px;
width: 7px;
height: 7px;
border-radius: 50%;
background: var(--accent);
box-shadow: 0 0 9px var(--accent);
}
.node::before { left: 8px; }
.node::after { right: 8px; }
.service h2 {
margin: 34px 0 7px;
font-size: clamp(1.65rem, 3vw, 2.3rem);
letter-spacing: -.03em;
}
.service p {
max-width: 390px;
margin: 0;
color: var(--muted);
line-height: 1.6;
}
.enter {
display: inline-flex;
align-items: center;
gap: 12px;
margin-top: 28px;
color: var(--accent);
font-size: .78rem;
font-weight: 700;
letter-spacing: .15em;
text-transform: uppercase;
}
.enter::after {
content: "";
width: 42px;
height: 1px;
background: currentColor;
box-shadow: 0 0 8px currentColor;
transition: width .3s ease;
}
.service:hover .enter::after { width: 62px; }
.empty-state {
grid-column: 1 / -1;
padding: 36px;
color: var(--muted);
text-align: center;
border: 1px dashed rgba(144, 215, 235, .24);
border-radius: 22px;
background: var(--panel);
}
.footer {
padding-top: 24px;
border-top: 1px solid rgba(133, 202, 223, .12);
color: #587584;
font-size: .72rem;
letter-spacing: .12em;
text-transform: uppercase;
}
@keyframes rise {
to { opacity: 1; transform: translateY(0); }
from { opacity: 0; transform: translateY(20px); }
}
@keyframes card-in { to { opacity: 1; transform: translateY(0); } }
@keyframes breathe {
50% { scale: 1.06; opacity: .66; }
}
@media (max-width: 720px) {
.shell { width: min(100% - 26px, 560px); padding-top: 24px; }
main { padding: 52px 0; }
.services { grid-template-columns: 1fr; }
.service { min-height: 210px; padding: 24px; }
.network-state { font-size: .68rem; letter-spacing: .08em; }
.footer { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: .01ms !important;
animation-iteration-count: 1 !important;
transition-duration: .01ms !important;
}
}
</style>
</head>
<body>
<div class="glow" aria-hidden="true"></div>
<div class="shell">
<header class="topbar">
<div class="brand"><span class="brand-mark" aria-hidden="true"></span>{{NGINXMAN_PORTAL_SITE_NAME}}</div>
<div class="network-state">服务在线</div>
</header>
<main>
<p class="eyebrow">统一服务入口</p>
<h1>{{NGINXMAN_PORTAL_HEADLINE}}</h1>
<p class="intro">{{NGINXMAN_PORTAL_INTRODUCTION}}</p>
<section class="services" aria-label="服务入口导航">
{{NGINXMAN_SERVICE_CARDS}}
</section>
</main>
<footer class="footer">
<span>{{NGINXMAN_PORTAL_SITE_NAME}}</span>
<span>Secure connections · <span id="year"></span></span>
</footer>
</div>
<script>
document.getElementById("year").textContent = new Date().getFullYear();
</script>
</body>
</html>