/
Imperror
/
HTML_CSS
Обзор
Документация
Войти
/
Imperror
/
HTML_CSS
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
templates/css.html
387 строк
10 KB
geniy666
add folder styles
27 дек 2025, 12:53
27 дек 2025, 12:53
dd63783
Код
Авторство
О чём код?
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Arial, sans-serif; } body { background: #0a0a1a; color: #fff; min-height: 100vh; position: relative; } /* Шапка сайта */ .header { background: linear-gradient(90deg, #1a1a2e, #16213e); padding: 20px; position: relative; border-bottom: 2px solid #4a6bff; } .logo-container { text-align: center; margin-bottom: 20px; } .logo { width: 80px; height: 80px; border-radius: 50%; border: 2px solid #4a6bff; margin: 0 auto 10px; display: block; } .site-title { font-size: 32px; color: #fff; margin: 0; background: linear-gradient(90deg, #4a6bff, #8a2be2); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .site-subtitle { color: #a0a0c0; margin: 5px 0 0 0; font-size: 14px; } .auth-buttons { position: absolute; top: 20px; right: 20px; display: flex; gap: 15px; } .auth-link { color: #fff; text-decoration: none; padding: 8px 20px; border-radius: 20px; font-weight: 500; transition: all 0.3s ease; } .auth-link.login { background: rgba(74, 107, 255, 0.2); border: 1px solid #4a6bff; } .auth-link.register { background: linear-gradient(90deg, #4a6bff, #8a2be2); border: 1px solid #4a6bff; } .auth-link:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(74, 107, 255, 0.3); } /* Навигация */ nav { background: rgba(22, 33, 62, 0.8); backdrop-filter: blur(10px); border-radius: 12px; padding: 15px; max-width: 800px; margin: 0 auto; } nav ul { list-style: none; display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; } nav a { color: #e0e0ff; text-decoration: none; font-size: 18px; font-weight: 500; padding: 8px 16px; border-radius: 8px; transition: all 0.3s ease; } nav a:hover { color: #fff; background: rgba(74, 107, 255, 0.2); } /* Главное описание */ .welcome-section { position: absolute; top: 20px; left: 20px; max-width: 400px; background: rgba(26, 26, 46, 0.7); backdrop-filter: blur(5px); padding: 20px; border-radius: 12px; border: 1px solid rgba(74, 107, 255, 0.2); } .welcome-title { color: #fff; font-size: 22px; margin-bottom: 10px; } .welcome-text { color: #a0a0c0; line-height: 1.5; } /* Каталог игр в стиле скриншота */ .catalog-section { margin: 150px 20px 40px; padding: 30px; background: rgba(15, 15, 26, 0.6); border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.1); } .section-title { font-size: 28px; color: #fff; margin-bottom: 30px; text-align: center; position: relative; padding-bottom: 15px; } .section-title::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 100px; height: 3px; background: linear-gradient(90deg, #4a6bff, #8a2be2); border-radius: 2px; } .games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 25px; margin-bottom: 40px; } .game-card { background: rgba(26, 26, 46, 0.8); border-radius: 12px; overflow: hidden; transition: all 0.3s ease; border: 1px solid rgba(255, 255, 255, 0.08); position: relative; } .game-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4); border-color: rgba(74, 107, 255, 0.4); } .game-image { width: 100%; height: 150px; background: linear-gradient(135deg, #1a1a2e, #16213e); display: flex; align-items: center; justify-content: center; color: #a0a0c0; font-size: 14px; } .game-info { padding: 20px; } .game-title { font-size: 18px; color: #fff; margin-bottom: 10px; font-weight: 600; } .game-description { font-size: 14px; color: #a0a0c0; margin-bottom: 15px; line-height: 1.4; } .game-price { display: flex; justify-content: space-between; align-items: center; margin-top: 15px; } .price { font-size: 20px; font-weight: 700; color: #4a6bff; } .old-price { font-size: 14px; color: #ff6b6b; text-decoration: line-through; margin-left: 5px; } .buy-button { background: linear-gradient(90deg, #4a6bff, #8a2be2); color: white; border: none; padding: 8px 20px; border-radius: 20px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; } .buy-button:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(74, 107, 255, 0.3); } /* Отзывы */ .reviews-section { margin: 40px 20px; padding: 30px; background: rgba(15, 15, 26, 0.6); border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.1); } .review-card { background: rgba(26, 26, 46, 0.7); border-radius: 12px; padding: 20px; margin-bottom: 20px; border-left: 4px solid #4a6bff; } .review-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; } .review-author { font-size: 18px; color: #fff; font-weight: 600; } .review-rating { color: #ffd700; font-size: 18px; } .review-game { color: #4a6bff; margin-bottom: 10px; font-weight: 500; } .review-text { color: #e0e0ff; line-height: 1.5; margin-bottom: 10px; } .review-date { color: #a0a0c0; font-size: 14px; text-align: right; } /* Таблица статистики */ .stats-table { width: 100%; border-collapse: collapse; margin: 20px 0; background: rgba(26, 26, 46, 0.7); border-radius: 8px; overflow: hidden; } .stats-table th { background: linear-gradient(90deg, #4a6bff, #8a2be2); color: white; padding: 15px; text-align: left; font-weight: 600; } .stats-table td { padding: 15px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); color: #e0e0ff; } .stats-table tr:last-child td { border-bottom: none; font-weight: 700; color: #fff; } /* Кнопка добавления отзыва */ .add-review-btn { display: block; width: 200px; margin: 30px auto; padding: 12px 30px; background: linear-gradient(90deg, #4a6bff, #8a2be2); color: white; text-decoration: none; text-align: center; border-radius: 25px; font-weight: 600; transition: all 0.3s ease; } .add-review-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(74, 107, 255, 0.3); } /* Адаптивность */ @media (max-width: 768px) { .auth-buttons { position: static; justify-content: center; margin-bottom: 15px; } .welcome-section { position: static; max-width: 100%; margin: 20px; } .catalog-section { margin-top: 40px; } nav ul { gap: 20px; } .games-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); } }