/
Alekron
/
Unbeatable_Benchmarking
Обзор
Документация
Войти
/
Alekron
/
Unbeatable_Benchmarking
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
Frontend/css/styles.css
328 строк
6 KB
Alekron
Initial Frontend
23 ноя 2025, 09:12
23 ноя 2025, 09:12
c461277
Код
Авторство
О чём код?
:root { --panel: #2A2D3E; --muted: #8F92A1; --accent: #6C57FF; /* Изменено на фиолетовый для унификации */ --bg-main: #0E0C19; /* Изменено для соответствия фону сводной таблицы */ --text-main: #ffffff; } body { background: #0E0C19 radial-gradient(circle at center, rgba(108,87,255,0.18) 0%, rgba(14,12,25,1) 60%); color: var(--text-main); font-family: sans-serif; } .top-nav { position: fixed; top: 0; left: 0; right: 0; display: flex; justify-content: center; gap: 32px; padding: 20px 0; background: rgba(14, 12, 25, 0.85); backdrop-filter: blur(10px); z-index: 1000; box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2); } .top-nav a { color: #8f82ff; text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 16px; border-radius: 8px; transition: all 0.25s ease; position: relative; } .top-nav a:hover { color: #b4acff; background: rgba(140, 120, 255, 0.15); } .top-nav a.active { color: white; background: rgba(108, 87, 255, 0.3); } .top-nav a::after { content: ''; position: absolute; bottom: -2px; left: 50%; width: 0; height: 2px; background: #6c57ff; transition: all 0.3s ease; transform: translateX(-50%); } .top-nav a:hover::after, .top-nav a.active::after { width: 60%; } .main-content { margin-top: 80px; padding: 0 20px; width: 100%; max-width: 1200px; margin-left: auto; margin-right: auto; } .container { min-height: 80vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 20px; } .title { font-size: 60px; text-align: center; font-weight: 600; line-height: 1.1; } @media (min-width: 768px) { .title { font-size: 80px; } } .highlight { color: #6C57FF; } .action-box { margin-top: 60px; width: 100%; max-width: 700px; background: rgba(22,20,34,0.8); backdrop-filter: blur(12px); padding: 16px 32px; border-radius: 20px; display: flex; align-items: center; box-shadow: 0 0 25px rgba(0,0,0,0.35); } .description { flex: 1; font-size: 14px; opacity: 0.9; background: transparent; border: none; color: inherit; resize: vertical; min-height: 40px; width: 100%; outline: none; padding: 0; } .action-btn { background: #6C57FF; border: none; padding: 10px 20px; border-radius: 999px; color: white; font-size: 14px; cursor: pointer; display: flex; gap: 8px; align-items: center; box-shadow: 0 0 15px rgba(108,87,255,0.45); transition: background 0.2s; } .action-btn:hover { background: #5a48d6; } .loader { width: 16px; height: 16px; border: 2px solid white; border-top-color: transparent; border-radius: 50%; animation: spin 0.5s linear infinite; } .hidden { display: none; } @keyframes spin { to { transform: rotate(360deg); } } .period-label { margin-top: 80px; font-size: 14px; opacity: 0.7; } .date-box { display: flex; gap: 16px; margin-top: 16px; } .date-label { font-size: 14px; padding: 10px 16px; background: rgba(26,23,48,0.6); border: 1px solid rgba(108,87,255,0.7); backdrop-filter: blur(6px); border-radius: 10px; box-shadow: 0 0 10px rgba(108,87,255,0.25); display: flex; flex-direction: column; } .date-input { margin-top: 6px; background: transparent; border: none; outline: none; color: white; } body { font-size: 14px; opacity: 0.7; } .date-box { display: flex; gap: 16px; margin-top: 16px; } .date-label { font-size: 14px; padding: 10px 16px; background: rgba(26, 23, 48, 0.6); border: 1px solid rgba(108, 87, 255, 0.7); backdrop-filter: blur(6px); border-radius: 10px; box-shadow: 0 0 10px rgba(108, 87, 255, 0.25); display: flex; flex-direction: column; } .date-input { margin-top: 6px; background: transparent; border: none; outline: none; color: white; } .table-wrapper { margin-top: 60px; width: 100%; max-width: 900px; background: rgba(22, 20, 34, 0.65); backdrop-filter: blur(12px); padding: 20px; border-radius: 20px; box-shadow: 0 0 20px rgba(0, 0, 0, 0.35); } table { width: 100%; border-collapse: collapse; margin-top: 10px; } thead th { text-align: left; padding: 14px 10px; background: rgba(255, 255, 255, 0.08); border-bottom: 1px solid rgba(255, 255, 255, 0.25); border-right: 1px solid rgba(255, 255, 255, 0.18); } td { padding: 12px 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); border-right: 1px solid rgba(255, 255, 255, 0.12); opacity: 0.9; } tbody tr:hover { background: rgba(255, 255, 255, 0.08); } .best { color: #72ff8f; font-weight: bold; } .pros-cons-box { width: 80%; margin: 50px auto; background: rgba(22,20,34,0.75); border-radius: 22px; padding: 25px; box-shadow: 0 0 25px rgba(0,0,0,0.35); display: flex; justify-content: space-between; gap: 20px; } .pros-cons-column { flex: 1; } .pros-cons-column h2 { font-size: 24px; margin-bottom: 20px; color: #EDE9FF; } .pros-cons-column ul { list-style-type: none; padding: 0; margin: 0; } .pros-cons-column li { font-size: 15px; color: #e4e4ff; margin-bottom: 10px; position: relative; padding-left: 25px; } .pros-cons-column li::before { position: absolute; left: 0; top: 0; font-size: 18px; font-weight: bold; } .pros li::before { content: "+"; color: #72ff8f; } .cons li::before { content: "-"; color: #ff7272; }