style(web): apply frontend craft guidelines

This commit is contained in:
nyan404 committed 2026-08-21 13:57:04 +03:00
1 parent 8e36edca07
commit 490d9c3916
2 files changed
+5 -4

No files matched your search

+2 -2
View File
@@ -4,13 +4,13 @@
<meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1">
<title>Беличья нора — новая заявка</title>
<style>
:root { font-family: Inter, ui-sans-serif, system-ui, sans-serif; color: #242522; background: #fff; }
:root { font-family: "Trebuchet MS", ui-sans-serif, sans-serif; color: #242522; background: #fff; --focus:#1e6a2b; }
* { box-sizing: border-box; } body { margin: 0; background: #fff; } main { width: min(920px, calc(100% - 32px)); margin: 0 auto; padding: 44px 0 76px; }
h1 { margin: 0; font: 650 clamp(2.1rem, 6vw, 3.7rem)/1.05 Georgia, serif; letter-spacing: -.04em; } h2 { margin: 0; font: 600 1.25rem/1.2 Georgia, serif; }
.intro, .hint, .status { color: #62675f; line-height: 1.55; } .intro { margin: 13px 0 31px; max-width: 640px; }
.topnav { display:flex; justify-content:space-between; gap:15px; align-items:center; margin-bottom:52px; padding-bottom:18px; border-bottom:1px solid #e6e7e2; } .brand { color:#1d622e; font-weight:800; text-decoration:none; font-size:1.05rem; } .topnav a:not(.brand) { color:#4f554d; text-decoration:none; font-size:.92rem; }
.auth { max-width:470px; margin: 14vh auto; border:1px solid #e1e4dc; border-radius:14px; padding:28px; box-shadow:0 12px 35px #3340130b; }
.auth label, label { display:grid; gap:7px; color:#40453f; font-size:.84rem; font-weight:700; } input, select, textarea, button { font:inherit; } input, select, textarea { width:100%; min-height:44px; padding:10px 12px; border:1px solid #cfd4cb; border-radius:8px; background:#fff; color:#20241f; } textarea { min-height:105px; resize:vertical; } input:focus, select:focus, textarea:focus { outline:3px solid #2f813529; border-color:#2f8135; }
.auth label, label { display:grid; gap:7px; color:#40453f; font-size:.84rem; font-weight:700; } input, select, textarea, button { font:inherit; } input, select, textarea { width:100%; min-height:44px; padding:10px 12px; border:1px solid #cfd4cb; border-radius:8px; background:#fff; color:#20241f; } textarea { min-height:105px; resize:vertical; } input:focus, select:focus, textarea:focus { outline:3px solid #2f813529; border-color:#2f8135; } button:focus-visible, a:focus-visible { outline:3px solid var(--focus); outline-offset:3px; }
.types { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:10px; margin:25px 0 27px; } .type { display:flex; align-items:center; min-height:76px; padding:14px; text-align:left; color:#333a32; border:1px solid #dce1d8; border-radius:10px; background:#fff; cursor:pointer; font-weight:700; } .type::before { content:""; width:14px; height:14px; border:1px solid #aeb7ab; border-radius:50%; margin-right:11px; flex:0 0 auto; } .type.active { border-color:#237530; box-shadow:inset 0 0 0 1px #237530; } .type.active::before { border:4px solid #237530; }
.panel { border:1px solid #e0e4dc; border-radius:14px; padding:28px; box-shadow:0 14px 40px #3142190a; } .grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; } .wide { grid-column:1/-1; } .hidden { display:none!important; }
.upload { display:grid; justify-items:center; gap:8px; min-height:150px; padding:24px; text-align:center; border:1px dashed #b8c3b3; border-radius:10px; background:#fbfdf9; color:#596259; cursor:pointer; } .upload strong { color:#333a32; } .upload input { display:none; } .files { margin:10px 0 0; padding-left:18px; color:#5a6258; font-size:.86rem; }