File size: 14,460 Bytes
e3b5ae1 8f41284 e3b5ae1 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 | <!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Барсик — главный кот дома</title>
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
--orange: #f59e0b;
--dark: #292524;
--cream: #fdf6ec;
--accent: #0d9488;
}
body {
font-family: 'Segoe UI', system-ui, sans-serif;
background: var(--cream);
color: var(--dark);
line-height: 1.6;
}
header {
background: linear-gradient(135deg, #f59e0b 0%, #f97316 50%, #fb923c 100%);
color: #fff;
text-align: center;
padding: 70px 20px 60px;
position: relative;
overflow: hidden;
}
header h1 {
font-size: clamp(2.2rem, 6vw, 3.5rem);
letter-spacing: 1px;
text-shadow: 0 2px 4px rgba(0,0,0,.2);
}
header .tagline {
font-size: 1.25rem;
opacity: .92;
margin-top: 8px;
font-style: italic;
}
.paw {
position: absolute;
font-size: 4rem;
opacity: .18;
animation: float 6s ease-in-out infinite;
}
@keyframes float {
0%, 100% { transform: translateY(0) rotate(-10deg); }
50% { transform: translateY(-18px) rotate(10deg); }
}
.hero-cat {
margin: -55px auto 0;
width: 180px;
height: 180px;
background: #fff;
border-radius: 50%;
box-shadow: 0 10px 25px rgba(0,0,0,.18);
display: flex;
align-items: center;
justify-content: center;
position: relative;
z-index: 2;
border: 6px solid #fff;
}
.hero-cat svg { width: 130px; height: 130px; }
nav {
background: var(--dark);
display: flex;
justify-content: center;
gap: 8px;
flex-wrap: wrap;
padding: 14px 10px;
position: sticky;
top: 0;
z-index: 10;
}
nav a {
color: var(--cream);
text-decoration: none;
padding: 8px 18px;
border-radius: 999px;
transition: background .25s, color .25s;
font-weight: 500;
}
nav a:hover { background: var(--orange); color: var(--dark); }
section { max-width: 900px; margin: 0 auto; padding: 60px 24px; }
section h2 {
font-size: 2rem;
margin-bottom: 24px;
display: flex;
align-items: center;
gap: 12px;
}
section h2::before { content: '🐾'; }
.about-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 20px;
}
.card {
background: #fff;
border-radius: 18px;
padding: 24px;
box-shadow: 0 4px 14px rgba(0,0,0,.08);
transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 10px 24px rgba(0,0,0,.14); }
.card .emoji { font-size: 2.2rem; }
.card h3 { margin: 8px 0 6px; }
.stats {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
gap: 20px;
margin-top: 30px;
}
.stat {
text-align: center;
background: linear-gradient(160deg, #fff, #fef3c7);
border-radius: 18px;
padding: 22px 12px;
box-shadow: 0 4px 14px rgba(0,0,0,.07);
}
.stat .num { font-size: 2.1rem; font-weight: 800; color: var(--accent); }
.stat .lbl { font-size: .95rem; opacity: .8; }
.facts { list-style: none; }
.facts li {
background: #fff;
border-left: 5px solid var(--orange);
border-radius: 12px;
padding: 14px 18px;
margin-bottom: 12px;
box-shadow: 0 3px 10px rgba(0,0,0,.06);
}
.gallery {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
gap: 20px;
}
.photo {
border-radius: 18px;
overflow: hidden;
box-shadow: 0 4px 14px rgba(0,0,0,.1);
background: #fff;
text-align: center;
padding-bottom: 12px;
}
.photo .art {
height: 170px;
display: flex;
align-items: center;
justify-content: center;
font-size: 5rem;
}
.photo:nth-child(1) .art { background: linear-gradient(135deg, #fde68a, #fca5a5); }
.photo:nth-child(2) .art { background: linear-gradient(135deg, #a7f3d0, #93c5fd); }
.photo:nth-child(3) .art { background: linear-gradient(135deg, #fbcfe8, #ddd6fe); }
.photo .cap { font-weight: 600; padding: 10px; }
.cta {
background: linear-gradient(135deg, var(--accent), #14b8a6);
color: #fff;
border-radius: 24px;
text-align: center;
padding: 50px 24px;
box-shadow: 0 10px 30px rgba(13,148,136,.3);
}
.cta h2 { justify-content: center; color: #fff; }
.cta h2::before { content: '📬'; }
.cta p { font-size: 1.1rem; margin-bottom: 24px; opacity: .95; }
.cta form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.cta input {
padding: 14px 18px;
border-radius: 12px;
border: none;
min-width: 240px;
font-size: 1rem;
outline: none;
}
.cta button {
padding: 14px 28px;
border-radius: 12px;
border: none;
background: var(--dark);
color: #fff;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: transform .2s, background .25s;
}
.cta button:hover { transform: scale(1.05); background: #000; }
.cta .thanks {
margin-top: 16px;
font-weight: 600;
display: none;
}
footer {
text-align: center;
padding: 30px 20px;
background: var(--dark);
color: var(--cream);
font-size: .95rem;
}
footer .hearts { font-size: 1.3rem; }
</style>
</head>
<body>
<header>
<span class="paw" style="top:12%; left:8%;">🐾</span>
<span class="paw" style="top:25%; right:10%; animation-delay:1.5s;">🐾</span>
<span class="paw" style="bottom:15%; left:18%; animation-delay:3s;">🐾</span>
<span class="paw" style="bottom:30%; right:20%; animation-delay:2s;">🐾</span>
<h1>Привет, я Барсик!</h1>
<p class="tagline">Профессиональный спящий чемпион, по совместительству — кот</p>
</header>
<div class="hero-cat">
<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
<polygon points="22,35 30,10 42,28" fill="#f59e0b"/>
<polygon points="78,35 70,10 58,28" fill="#f59e0b"/>
<polygon points="26,32 31,17 38,27" fill="#fb923c"/>
<polygon points="74,32 69,17 62,27" fill="#fb923c"/>
<ellipse cx="50" cy="55" rx="32" ry="28" fill="#f59e0b"/>
<path d="M40 30 q10 -6 20 0" stroke="#d97706" stroke-width="3" fill="none" stroke-linecap="round"/>
<ellipse cx="38" cy="52" rx="5.5" ry="7" fill="#22c55e"/>
<ellipse cx="62" cy="52" rx="5.5" ry="7" fill="#22c55e"/>
<ellipse cx="38" cy="52" rx="2" ry="6" fill="#1a1a1a"/>
<ellipse cx="62" cy="52" rx="2" ry="6" fill="#1a1a1a"/>
<polygon points="46,64 54,64 50,69" fill="#ef4444"/>
<path d="M50 69 q-4 6 -9 3 M50 69 q4 6 9 3" stroke="#7c2d12" stroke-width="2" fill="none" stroke-linecap="round"/>
<path d="M30 60 h-14 M30 65 h-13 M70 60 h14 M70 65 h13" stroke="#fff" stroke-width="2" stroke-linecap="round"/>
</svg>
</div>
<nav>
<a href="#about">Обо мне</a>
<a href="#facts">Факты</a>
<a href="#gallery">Галерея</a>
<a href="#contact">Написать мне</a>
</nav>
<section id="about">
<h2>Обо мне</h2>
<div class="about-grid">
<div class="card">
<div class="emoji">😴</div>
<h3>Сон — это искусство</h3>
<p>Я сплю 18 часов в день и считаю это полноценной работой. Тёплый подоконник — мой офис.</p>
</div>
<div class="card">
<div class="emoji">🍽️</div>
<h3>Главный дегустатор</h3>
<p>Каждая еда в доме проходит мою экспертизу. Особенно если это чья-то тарелка, а не моя.</p>
</div>
<div class="card">
<div class="emoji">🧶</div>
<h3>Охотник по клубкам</h3>
<p>Ни один моток шерсти не уйдёт от меня. Клубок под диваном — моя личная сокровищница.</p>
</div>
</div>
<div class="stats">
<div class="stat"><div class="num">4</div><div class="lbl">года опыта мурлыканья</div></div>
<div class="stat"><div class="num">18 ч</div><div class="lbl">сна в сутки</div></div>
<div class="stat"><div class="num">∞</div><div class="lbl">любви к хозяевам</div></div>
<div class="stat"><div class="num">3</div><div class="lbl">разбитые кружки</div></div>
</div>
</section>
<section id="facts">
<h2>Интересные факты</h2>
<ul class="facts">
<li>Идеально вымериваю траекторию прыжка на холодильник с первого раза. Почти.</li>
<li>Считаю 3 часа ночи лучшим временем для марафона по коридору.</li>
<li>Отвечаю на своё имя, но только если слышу шуршание пакетика.</li>
<li>Мурчу с частотой, от которой заряжаются телефоны (наука ещё проверяет).</li>
<li>Мой личный рекорд — 7 часов на одном и том же месте без движения. Наверное.</li>
</ul>
</section>
<section id="gallery">
<h2>Галерея</h2>
<div class="gallery">
<div class="photo">
<div class="art">🦁</div>
<div class="cap">«Величественный»</div>
</div>
<div class="photo">
<div class="art">🐾</div>
<div class="cap">«Следы на клавиатуре»</div>
</div>
<div class="photo">
<div class="art">📦</div>
<div class="cap">«Мой новый дом»</div>
</div>
</div>
</section>
<section id="contact">
<div class="cta">
<h2>Написать Барсику</h2>
<p>Оставьте почту — пришлю мурлыканье и уведомление о приёмке пищи. Шутка. Или нет.</p>
<form id="catForm">
<input type="email" id="email" placeholder="ваша@почта.ру" required>
<button type="submit">Отправить 🐱</button>
</form>
<p class="thanks" id="thanks">Спасибо! Барсик уже мурлычет от радости 🧡</p>
</div>
</section>
<footer>
<p class="hearts">🧡 🐾 🧡</p>
<p>© 2026 Барсик. Все права на подоконник защищены.</p>
</footer>
<script>
document.getElementById('catForm').addEventListener('submit', function (e) {
e.preventDefault();
document.getElementById('thanks').style.display = 'block';
this.reset();
});
</script>
</body>
</html>
<script data-huggingchat-badge="script">
(function () {
try {
if (document.querySelector("[data-huggingchat-badge]:not(script)")) return;
var host = document.createElement("div");
host.setAttribute("data-huggingchat-badge", "");
var styles = [["all","initial"],["position","fixed"],["right","12px"],["bottom","12px"],["z-index","2147483647"],["display","block"],["visibility","visible"],["opacity","1"],["pointer-events","auto"],["width","auto"],["height","auto"],["margin","0"],["padding","0"],["max-width","none"],["max-height","none"],["transform","none"],["filter","none"],["clip-path","none"],["color-scheme","light"]];
for (var i = 0; i < styles.length; i++) {
host.style.setProperty(styles[i][0], styles[i][1], "important");
}
host.attachShadow({ mode: "closed" }).innerHTML = "<style>\n:host { all: initial; }\na {\n display: flex;\n align-items: center;\n gap: 5px;\n box-sizing: border-box;\n height: 26px;\n padding: 0 9px 0 7px;\n border-radius: 999px;\n border: 1px solid rgba(0, 0, 0, 0.07);\n background: rgba(255, 255, 255, 0.92);\n -webkit-backdrop-filter: saturate(180%) blur(8px);\n backdrop-filter: saturate(180%) blur(8px);\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 6px 16px rgba(0, 0, 0, 0.06);\n color: #111827;\n font: 500 11px/1 ui-sans-serif, system-ui, -apple-system, \"Segoe UI\", sans-serif;\n text-decoration: none;\n white-space: nowrap;\n opacity: 0.72;\n transition: opacity 0.15s ease, transform 0.15s ease;\n}\na:hover, a:focus-visible { opacity: 1; transform: translateY(-1px); }\nsvg { width: 14px; height: 14px; flex: none; }\n@media print { a { display: none; } }\n<\/style><a href=\"https://huggingface.co/chat\" target=\"_blank\" rel=\"noopener noreferrer nofollow\"><svg viewBox=\"0 0 32 32\" fill=\"none\" aria-hidden=\"true\"><path d=\"M16.0006 25.9992C13.8266 25.999 11.7118 25.2901 9.97686 23.9799C8.2419 22.6698 6.98127 20.8298 6.38599 18.7388C5.79071 16.6478 5.89323 14.4198 6.678 12.3923C7.46278 10.3648 8.88705 8.64837 10.735 7.50308C12.5829 6.35779 14.7538 5.84606 16.9187 6.04544C19.0837 6.24481 21.1246 7.14442 22.7323 8.60795C24.34 10.0715 25.4268 12.0192 25.8281 14.1559C26.2293 16.2926 25.9232 18.5019 24.9561 20.449C24.7703 20.8042 24.7223 21.2155 24.8211 21.604L25.4211 23.8316C25.4803 24.0518 25.4805 24.2837 25.4216 24.5039C25.3627 24.7242 25.2468 24.925 25.0856 25.0862C24.9244 25.2474 24.7235 25.3633 24.5033 25.4222C24.283 25.4811 24.0512 25.4809 23.831 25.4217L21.6034 24.8217C21.2172 24.7248 20.809 24.7729 20.4558 24.9567C19.0683 25.6467 17.5457 26.0068 16.0006 26.0068V25.9992Z\" fill=\"currentColor\"/><path d=\"M9.62598 16.0013C9.62598 15.3799 10.1294 14.8765 10.7508 14.8765C11.3721 14.8765 11.8756 15.3799 11.8756 16.0013C11.8756 17.0953 12.3102 18.1448 13.0838 18.9184C13.8574 19.692 14.9069 20.1266 16.001 20.1267C17.095 20.1267 18.1445 19.692 18.9181 18.9184C19.6918 18.1448 20.1264 17.0953 20.1264 16.0013C20.1264 15.3799 20.6299 14.8765 21.2512 14.8765C21.8725 14.8765 22.3759 15.3799 22.3759 16.0013C22.3759 17.6921 21.7046 19.3137 20.509 20.5093C19.3134 21.7049 17.6918 22.3762 16.001 22.3762C14.3102 22.3762 12.6885 21.7049 11.4929 20.5093C10.2974 19.3137 9.62598 17.6921 9.62598 16.0013Z\" fill=\"#fff\"/><\/svg><span>Made with HuggingChat<\/span><\/a>";
function attach() {
var parent = document.body || document.documentElement;
if (parent && host.parentNode !== parent) parent.appendChild(host);
}
attach();
// Artifacts that rewrite document.body wholesale would drop the badge.
if (document.body && typeof MutationObserver === "function") {
new MutationObserver(attach).observe(document.body, { childList: true });
} else {
document.addEventListener("DOMContentLoaded", attach);
}
} catch (e) {}
})();
</script>
|