/
Imperror
/
HTML_CSS
Обзор
Документация
Войти
/
Imperror
/
HTML_CSS
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
styles/2.css
461 строка
12 KB
geniy666
add folder styles
27 дек 2025, 12:53
27 дек 2025, 12:53
dd63783
Код
Авторство
О чём код?
body { background: linear-gradient(135deg, #1a001a 0%, #330033 50%, #4a004a 100%); color: #ffffff; margin: 0; padding: 0; min-height: 100vh; } body { background-color: #2d0033; background-image: radial-gradient(circle at 15% 50%, rgba(93, 0, 255, 0.1) 0%, transparent 20%), radial-gradient(circle at 85% 30%, rgba(128, 0, 128, 0.1) 0%, transparent 20%); color: #ffffff; margin: 0; padding: 0; min-height: 100vh; } body { background-color: #0f0015; background-image: radial-gradient(circle at 10% 20%, rgba(93, 0, 255, 0.1) 0%, transparent 20%), radial-gradient(circle at 90% 40%, rgba(128, 0, 128, 0.15) 0%, transparent 30%), radial-gradient(circle at 50% 80%, rgba(147, 0, 211, 0.1) 0%, transparent 25%), radial-gradient(circle at 30% 60%, rgba(75, 0, 130, 0.2) 0%, transparent 15%), linear-gradient(45deg, transparent 49%, rgba(138, 43, 226, 0.1) 50%, transparent 51%), linear-gradient(-45deg, transparent 49%, rgba(138, 43, 226, 0.1) 50%, transparent 51%); background-size: 300px 300px, 400px 400px, 250px 250px, 200px 200px, 60px 60px, 60px 60px; color: #ffffff; margin: 0; min-height: 100vh; } * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Arial, sans-serif; } body { background-color: #0f0f1a; color: #fff; padding: 40px; min-height: 100vh; } .container { max-width: 1200px; margin: 0 auto; } .title { font-size: 28px; font-weight: 600; margin-bottom: 40px; color: #e0e0ff; text-align: center; } .menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; margin-bottom: 60px; } .menu-item { background: linear-gradient(145deg, #1a1a2e, #16213e); border-radius: 20px; padding: 30px 25px; text-align: center; transition: all 0.3s ease; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); border: 1px solid rgba(64, 64, 128, 0.2); position: relative; overflow: hidden; cursor: pointer; } .menu-item:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4); border-color: rgba(96, 96, 192, 0.4); } .menu-item::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, #4a6bff, #8a2be2); } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.6; color: #333; background-color: #f5f5f5; } /* Шапка сайта */ header { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); color: white; padding: 20px 0; box-shadow: 0 2px 10px rgba(0,0,0,0.1); } .header-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; } .logo-section { display: flex; align-items: center; gap: 15px; } .logo { width: 80px; height: 80px; border-radius: 10px; object-fit: cover; border: 2px solid #6a11cb; } .logo-text h1 { font-size: 28px; margin-bottom: 5px; color: #fff; } .logo-text p { color: #aaa; font-size: 14px; } /* Кнопки авторизации */ .auth-buttons { display: flex; gap: 15px; } .auth-btn { padding: 10px 20px; border-radius: 5px; text-decoration: none; font-weight: bold; transition: all 0.3s; } .login-btn { background: transparent; color: white; border: 1px solid #6a11cb; } .login-btn:hover { background: rgba(106, 17, 203, 0.2); } .register-btn { background: linear-gradient(45deg, #6a11cb, #2575fc); color: white; border: none; } .register-btn:hover { background: linear-gradient(45deg, #5a0db5, #1c68e8); transform: translateY(-2px); } /* Навигация */ nav { background: rgba(255, 255, 255, 0.05); margin-top: 20px; width: 100%; border-radius: 5px; } nav ul { list-style: none; display: flex; padding: 0; margin: 0; } nav li { flex: 1; text-align: center; } nav a { display: block; padding: 15px 20px; color: white; text-decoration: none; font-weight: bold; transition: all 0.3s; border-radius: 5px; } nav a:hover { background: rgba(106, 17, 203, 0.3); } /* Основной контент */ main { max-width: 1200px; margin: 30px auto; padding: 0 20px; } /* Приветственная секция */ .welcome-section { background: white; border-radius: 10px; padding: 30px; margin-bottom: 30px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); } .welcome-section h2 { color: #1a1a2e; margin-bottom: 15px; font-size: 28px; } .welcome-section p { color: #555; font-size: 16px; line-height: 1.8; } /* Отзывы */ #reviews { margin-bottom: 40px; } #reviews h2 { color: #1a1a2e; margin-bottom: 25px; padding-bottom: 10px; border-bottom: 2px solid #6a11cb; font-size: 24px; } /* Карточки отзывов */ .reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 25px; margin-bottom: 30px; } .review-card { background: white; border-radius: 10px; padding: 25px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: transform 0.3s; } .review-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); } .review-card h3 { color: #1a1a2e; margin-bottom: 10px; font-size: 18px; display: flex; justify-content: space-between; align-items: center; } .rating { color: #ffcc00; font-size: 18px; } .review-card p { margin: 10px 0; color: #555; } .review-card .game { color: #6a11cb; font-weight: bold; } .review-card .date { color: #888; font-size: 14px; font-style: italic; } /* Кнопка оставить отзыв */ .leave-review-btn { display: block; width: 200px; margin: 0 auto 40px; padding: 12px 25px; background: linear-gradient(45deg, #6a11cb, #2575fc); color: white; text-decoration: none; border-radius: 5px; text-align: center; font-weight: bold; transition: all 0.3s; } .leave-review-btn:hover { background: linear-gradient(45deg, #5a0db5, #1c68e8); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(106, 17, 203, 0.3); } /* Статистика */ .stats-section { background: white; border-radius: 10px; padding: 30px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); } .stats-section h3 { color: #1a1a2e; margin-bottom: 20px; font-size: 22px; } table { width: 100%; border-collapse: collapse; margin-bottom: 20px; } th, td { padding: 15px; text-align: left; border-bottom: 1px solid #eee; } th { background-color: #f8f9fa; color: #1a1a2e; font-weight: bold; } tr:hover { background-color: #f8f9fa; } .total-row { font-weight: bold; background-color: #f0f0f0; } .average-rating { text-align: center; font-size: 18px; color: #1a1a2e; padding: 15px; background: linear-gradient(45deg, #6a11cb, #2575fc); color: white; border-radius: 5px; font-weight: bold; } /* Футер */ footer { background: #1a1a2e; color: white; padding: 40px 0; margin-top: 50px; } .footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; } .footer-section h3 { color: white; margin-bottom: 20px; font-size: 20px; } .footer-section p { color: #aaa; margin-bottom: 10px; } .footer-links a { display: block; color: #aaa; text-decoration: none; margin-bottom: 10px; transition: color 0.3s; } .footer-links a:hover { color: #6a11cb; } .copyright { text-align: center; margin-top: 30px; padding-top: 20px; border-top: 1px solid #333; color: #888; font-size: 14px; } /* Адаптивность */ @media (max-width: 768px) { .header-container { flex-direction: column; text-align: center; } .auth-buttons { margin-top: 20px; } nav ul { flex-direction: column; } nav li { margin-bottom: 5px; } .reviews-grid { grid-template-columns: 1fr; } .footer-container { flex-direction: column; } }