Axelnm's picture
Отличный референс! Проанализировав скриншот, я создам подробную инструкцию для воссоздания этого стиля.
1ea8733 verified
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Аватары - PixelPulse Pro</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
'accent-purple': '#8B5CF6',
'neon-pink': '#EC4899',
'electric-blue': '#06B6D4',
'deep-black': '#0A0A0A',
'dark-card': '#1A1A1A',
'gray-element': '#374151',
}
}
}
}
</script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
* {
font-family: 'Inter', sans-serif;
transition: all 0.2s ease-in-out;
}
.main-gradient {
background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 50%, #06B6D4 100%);
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
.fade-in {
animation: fadeIn 0.5s ease-out;
}
</style>
</head>
<body class="bg-deep-black text-white min-h-screen">
<!-- Navigation -->
<nav class="fixed bottom-0 left-0 right-0 bg-dark-card border-t border-gray-700 z-50">
<div class="flex justify-around py-3">
<a href="index.html" class="flex flex-col items-center text-gray-400 hover:text-white">
<i data-feather="home" class="w-5 h-5"></i>
<span class="text-xs mt-1">Главная</span>
</a>
<a href="profile.html" class="flex flex-col items-center text-gray-400 hover:text-white">
<i data-feather="user" class="w-5 h-5"></i>
<span class="text-xs mt-1">Профиль</span>
</a>
<a href="avatars.html" class="flex flex-col items-center text-accent-purple">
<i data-feather="image" class="w-5 h-5"></i>
<span class="text-xs mt-1">Аватары</span>
</a>
<a href="balance.html" class="flex flex-col items-center text-gray-400 hover:text-white">
<i data-feather="credit-card" class="w-5 h-5"></i>
<span class="text-xs mt-1">Баланс</span>
</a>
</div>
</nav>
<!-- Main Content -->
<div class="pb-20 fade-in">
<!-- Header -->
<header class="bg-dark-card p-4 border-b border-gray-700">
<div class="flex items-center gap-3">
<button onclick="history.back()" class="p-2 rounded-lg bg-gray-700 hover:bg-gray-600">
<i data-feather="arrow-left" class="w-5 h-5"></i>
</button>
<h1 class="text-xl font-bold">Мои аватары</h1>
</div>
</header>
<!-- Active Avatar -->
<section class="p-4">
<h2 class="text-xl font-bold mb-4">🎭 Активный аватар</h2>
<div class="bg-dark-card rounded-xl p-4 border border-accent-purple">
<div class="flex flex-col items-center text-center">
<img src="http://static.photos/people/120x120/1" alt="Аватар" class="w-20 h-20 rounded-full object-cover mb-3">
<h3 class="font-semibold mb-1">Александр (версия 2)</h3>
<div class="text-sm text-gray-400 space-y-1 mb-3">
<p>Создан: 12.01.2024</p>
<p>Использован: 15 раз</p>
</div>
<div class="grid grid-cols-2 gap-2 w-full">
<button class="bg-gray-700 text-white py-2 rounded-lg font-medium hover:bg-gray-600">
Заменить
</button>
<button class="bg-red-500 text-white py-2 rounded-lg font-medium hover:bg-red-600">
Удалить
</button>
</div>
</div>
</div>
</section>
<!-- Style Settings -->
<section class="p-4">
<div class="bg-dark-card rounded-xl p-4 border border-gray-700">
<h3 class="font-semibold mb-4">🎨 Настройки стиля</h3>
<!-- Gender Selection -->
<div class="grid grid-cols-3 gap-2 mb-4">
<button class="bg-gray-700 text-white py-2 rounded-lg font-medium hover:bg-gray-600 border border-accent-purple">
Мужской
</button>
<button class="bg-gray-700 text-white py-2 rounded-lg font-medium hover:bg-gray-600">
Женский
</button>
<button class="bg-gray-700 text-white py-2 rounded-lg font-medium hover:bg-gray-600">
Универсальный
</button>
</div>
<!-- Style Selection -->
<div class="grid grid-cols-2 gap-2 mb-4">
<button class="bg-accent-purple text-white py-2 rounded-lg font-medium hover:opacity-90">
Реалистичный
</button>
<button class="bg-gray-700 text-white py-2 rounded-lg font-medium hover:bg-gray-600">
Художественный
</button>
<button class="bg-gray-700 text-white py-2 rounded-lg font-medium hover:bg-gray-600">
Аниме
</button>
<button class="bg-gray-700 text-white py-2 rounded-lg font-medium hover:bg-gray-600">
Киберпанк
</button>
</div>
<button class="w-full main-gradient text-white py-3 rounded-lg font-semibold hover:opacity-90">
Создать новый
</button>
</div>
</section>
</div>
<script>
feather.replace();
</script>
</body>
</html>