feat: add autumn Belki web theme

This commit is contained in:
nyan404 committed 2026-10-03 01:07:48 +03:00
1 parent 62af71e6b1
commit 623cf5ad3a
4 files changed
+34 -6

No files matched your search

+13 -2
View File
@@ -6,9 +6,19 @@
<title>Беличья нора — админка</title>
<link rel="icon" href="/favicon.png" type="image/png" sizes="192x192">
<style>
:root { color-scheme: light; font-family: "Trebuchet MS", ui-sans-serif, sans-serif; background: #f4f1eb; color: #292725; --ink:#292725; --muted:#625d57; --line:#ded9d1; --paper:#fffdfa; --accent:#9a542e; --danger:#8e3630; --focus:#9a542e; }
:root { color-scheme: light; font-family: "Trebuchet MS", ui-sans-serif, sans-serif; background: #f5efe3; color: #2d2924; --ink:#2d2924; --muted:#675c50; --line:#ded3c2; --paper:#fffdf7; --accent:#b56824; --gold:#d89a28; --danger:#8e3630; --focus:#a9541d; }
* { box-sizing: border-box; }
body { margin: 0; background: #f4f1eb; color: var(--ink); }
body { margin: 0; background: #f5efe3; color: var(--ink); }
body::before { content:""; position:fixed; inset:0; pointer-events:none; z-index:0; opacity:.42; background: radial-gradient(circle at 12% 8%, #fff8e7 0 0.7rem, transparent 13rem), radial-gradient(circle at 88% 24%, #ead8bd 0 0.45rem, transparent 15rem); }
.leaf-field { position:fixed; inset:0; overflow:hidden; pointer-events:none; z-index:1; }
.leaf { position:absolute; top:-3rem; width:1.1rem; height:1.65rem; border-radius:100% 0 100% 0; background:var(--accent); box-shadow:inset .18rem -.12rem 0 #8e431d; opacity:.62; transform:rotate(35deg); animation:leaf-fall 15s linear infinite; }
.leaf:nth-child(2n) { background:var(--gold); width:.82rem; height:1.3rem; animation-duration:19s; }
.leaf:nth-child(3n) { background:#a84e22; width:1.35rem; height:1.85rem; animation-duration:22s; }
.leaf:nth-child(1) { left:7%; animation-delay:-4s; } .leaf:nth-child(2) { left:18%; animation-delay:-12s; } .leaf:nth-child(3) { left:32%; animation-delay:-7s; }
.leaf:nth-child(4) { left:49%; animation-delay:-16s; } .leaf:nth-child(5) { left:64%; animation-delay:-2s; } .leaf:nth-child(6) { left:78%; animation-delay:-10s; } .leaf:nth-child(7) { left:91%; animation-delay:-18s; }
@keyframes leaf-fall { 0% { transform:translate3d(0,-4rem,0) rotate(20deg); } 45% { transform:translate3d(3.5rem,48vh,0) rotate(170deg); } 100% { transform:translate3d(-4rem,112vh,0) rotate(330deg); } }
main, dialog { position:relative; z-index:2; }
@media (prefers-reduced-motion: reduce) { .leaf { animation: none; top: 8vh; opacity: .16; } }
main { width: min(1440px, calc(100% - 48px)); margin: 0 auto; padding: 42px 0 64px; }
h1 { margin: 0; font: 500 clamp(2rem, 4vw, 3.25rem)/1 Georgia, "Times New Roman", serif; letter-spacing: -.035em; }
h2 { margin: 0 0 8px; font: 500 2rem/1.1 Georgia, "Times New Roman", serif; }
@@ -96,6 +106,7 @@
</style>
</head>
<body>
<div class="leaf-field" aria-hidden="true"><span class="leaf"></span><span class="leaf"></span><span class="leaf"></span><span class="leaf"></span><span class="leaf"></span><span class="leaf"></span><span class="leaf"></span></div>
<main>
<section id="authView" class="auth-view">
<h2>Админская панель</h2>
+19 -4
View File
@@ -6,9 +6,22 @@
<title>Генератор отчётов и калькулятор</title>
<link rel="icon" href="/favicon.png" type="image/png" sizes="192x192">
<style>
:root { color-scheme: light; font-family: "Trebuchet MS", ui-sans-serif, sans-serif; --ink:#292725; --muted:#625d57; --paper:#fffdfa; --ground:#f4f1eb; --line:#ded9d1; --accent:#9a542e; --focus:#9a542e; --error:#8e3630; }
:root { color-scheme: light; font-family: "Trebuchet MS", ui-sans-serif, sans-serif; --ink:#2d2924; --muted:#675c50; --paper:#fffdf7; --ground:#f5efe3; --line:#ded3c2; --accent:#b56824; --gold:#d89a28; --leaf:#c96f25; --focus:#a9541d; --error:#8e3630; }
* { box-sizing: border-box; } html, body { max-width: 100%; } body { margin: 0; background: var(--ground); color: var(--ink); }
main { width: min(1060px, calc(100% - 32px)); margin: 48px auto 72px; }
body::before { content:""; position:fixed; inset:0; pointer-events:none; z-index:-1; opacity:.42; background: radial-gradient(circle at 12% 8%, #fff8e7 0 0.7rem, transparent 13rem), radial-gradient(circle at 88% 24%, #ead8bd 0 0.45rem, transparent 15rem); }
.leaf-field { position:fixed; inset:0; overflow:hidden; pointer-events:none; z-index:0; }
.leaf { position:absolute; top:-3rem; width:1.1rem; height:1.65rem; border-radius:100% 0 100% 0; background:var(--leaf); box-shadow:inset .18rem -.12rem 0 #8e431d; opacity:.74; transform:rotate(35deg); animation:leaf-fall 15s linear infinite; }
.leaf:nth-child(2n) { background:#e0a02f; width:.82rem; height:1.3rem; animation-duration:19s; }
.leaf:nth-child(3n) { background:#a84e22; width:1.35rem; height:1.85rem; animation-duration:22s; }
.leaf:nth-child(1) { left:7%; animation-delay:-4s; }
.leaf:nth-child(2) { left:18%; animation-delay:-12s; }
.leaf:nth-child(3) { left:32%; animation-delay:-7s; }
.leaf:nth-child(4) { left:49%; animation-delay:-16s; }
.leaf:nth-child(5) { left:64%; animation-delay:-2s; }
.leaf:nth-child(6) { left:78%; animation-delay:-10s; }
.leaf:nth-child(7) { left:91%; animation-delay:-18s; }
@keyframes leaf-fall { 0% { transform:translate3d(0,-4rem,0) rotate(20deg); } 45% { transform:translate3d(3.5rem,48vh,0) rotate(170deg); } 100% { transform:translate3d(-4rem,112vh,0) rotate(330deg); } }
main { position:relative; z-index:1; width: min(1060px, calc(100% - 32px)); margin: 48px auto 72px; }
h1 { margin: 0 0 6px; font: 500 clamp(2.25rem, 5vw, 4rem)/1 Georgia, "Times New Roman", serif; letter-spacing: -.045em; }
h2 { font: 500 1.55rem/1.15 Georgia, "Times New Roman", serif; } .muted { color: var(--muted); line-height: 1.55; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 24px 0 16px; }
@@ -16,12 +29,12 @@
.section-tabs button { border-color: transparent; background: transparent; }
button, select, input, textarea { font: inherit; }
button { min-height:44px; cursor: pointer; touch-action:manipulation; border: 1px solid #bdb6ad; border-radius: 7px; padding: 9px 14px; background: var(--paper); color: var(--ink); transition: background-color 160ms ease-out, border-color 160ms ease-out, color 160ms ease-out; }
button:hover { border-color:var(--accent); background:#fff8ef; } button:focus-visible, a:focus-visible { outline:3px solid var(--focus); outline-offset:3px; }
button:hover { border-color:var(--accent); background:#fff6e5; } button:focus-visible, a:focus-visible { outline:3px solid var(--focus); outline-offset:3px; }
button.active, button.primary { background: var(--ink); color: #fffdfa; border-color: var(--ink); } button.active:hover, button.primary:hover { background:#45413d; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 28px; box-shadow:0 10px 28px #3b30220d; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
label { display: grid; gap: 6px; color: #403b36; font-weight:700; }
input, select, textarea { min-height:44px; width: 100%; border: 1px solid #c8c1b8; border-radius: 7px; padding: 9px 12px; background: #fff; color: var(--ink); } input:focus,select:focus,textarea:focus { outline:3px solid #9a542e2b; border-color:var(--accent); }
input, select, textarea { min-height:44px; width: 100%; border: 1px solid #c8bca9; border-radius: 7px; padding: 9px 12px; background: #fffefa; color: var(--ink); } input:focus,select:focus,textarea:focus { outline:3px solid #b5682433; border-color:var(--accent); }
textarea { min-height: 210px; resize: vertical; }
.wide { grid-column: 1 / -1; }
.actions { display: flex; gap: 10px; margin-top: 18px; }
@@ -78,9 +91,11 @@
input, select, textarea { font-size: 16px; }
.site-footer { margin-top: 32px; }
}
@media (prefers-reduced-motion: reduce) { .leaf { animation: none; top: 8vh; opacity: .18; } }
</style>
</head>
<body>
<div class="leaf-field" aria-hidden="true"><span class="leaf"></span><span class="leaf"></span><span class="leaf"></span><span class="leaf"></span><span class="leaf"></span><span class="leaf"></span><span class="leaf"></span></div>
<main>
<h1>Генератор отчётов и калькулятор</h1>
<p class="muted">Отчёты и заявки — в одном месте.</p>