/
magarich
/
web
Обзор
Документация
Войти
/
magarich
/
web
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
html/style.css
354 строки
6 KB
Юра Магарьян
Final submission: Lab2 and Lab3 by Magaryan Yury PIZ2402
17 апр 2026, 23:12
17 апр 2026, 23:12
0827836
Код
Авторство
О чём код?
/* Unified dark theme for the project */ :root { --bg: #1A1A1B; --surface: #242428; --surface-soft: rgba(214,40,40,0.14); --surface-strong: #1F1F22; --accent: #D62828; --accent-dark: #A11D20; --text: #E0E1DD; --muted: #9EA1A7; --border: rgba(255,255,255,0.08); --shadow: 0 24px 60px rgba(0,0,0,0.35); } * { box-sizing: border-box; } html { scroll-behavior: smooth; } body { margin: 0; min-height: 100vh; font-family: Inter, system-ui, sans-serif; background: radial-gradient(circle at top, #262628 0%, var(--bg) 42%, var(--bg) 100%); color: var(--text); } img, svg, canvas, iframe { max-width: 100%; display: block; } a { color: var(--accent); text-decoration: none; transition: color 0.2s ease; } a:hover { color: #ff7b7b; } button, .button { border: none; border-radius: 999px; background: var(--accent); color: #111; cursor: pointer; font-weight: 700; padding: 12px 22px; transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease; } button:hover, .button:hover { background: var(--accent-dark); transform: translateY(-1px); } input, select, textarea { width: 100%; background: #16161A; border: 1px solid var(--border); border-radius: 16px; color: var(--text); padding: 14px 16px; outline: none; } input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(214,40,40,0.12); } table { width: 100%; border-collapse: collapse; background: #16161A; border-radius: 18px; overflow: hidden; } thead th, tbody td { padding: 16px 18px; border-bottom: 1px solid rgba(255,255,255,0.06); } thead th { text-align: left; color: var(--text); background: rgba(255,255,255,0.04); } tbody tr:last-child td { border-bottom: none; } .page-header { max-width: 1100px; margin: 0 auto; padding: 32px 24px 18px; } .header-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; flex-wrap: wrap; } .page-header h1 { margin: 0; font-size: clamp(1.9rem, 2.6vw, 3.3rem); line-height: 1.05; } .page-header p { margin: 16px 0 0; max-width: 720px; color: var(--muted); line-height: 1.8; } .back-button { display: inline-flex; align-items: center; gap: 10px; background: rgba(214,40,40,0.18); color: var(--text); padding: 12px 18px; border-radius: 999px; border: 1px solid rgba(214,40,40,0.22); box-shadow: 0 20px 40px rgba(0,0,0,0.25); } .top-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 1100px; margin: 0 auto; padding: 14px 24px 24px; background: rgba(255,255,255,0.02); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); } .top-nav a { display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,0.03); color: var(--muted); transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease; } .top-nav a:hover, .top-nav a.current { background: rgba(214,40,40,0.16); color: var(--text); } .page-shell { display: grid; grid-template-columns: minmax(240px, 280px) 1fr; gap: 28px; max-width: 1100px; margin: 32px auto 48px; padding: 0 24px; } .panel { background: #1E1E22; border: 1px solid var(--border); border-radius: 28px; box-shadow: var(--shadow); padding: 28px; } .panel-title { margin: 0 0 10px; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); } .panel-strong { margin: 0; font-size: 1.05rem; font-weight: 700; color: var(--text); } .task-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; } .task-list li a { display: block; padding: 16px 18px; border-radius: 18px; background: rgba(255,255,255,0.03); color: var(--text); border: 1px solid transparent; transition: background 0.2s ease, border-color 0.2s ease; } .task-list li a:hover { background: rgba(214,40,40,0.14); border-color: rgba(214,40,40,0.35); } .page-footer { max-width: 1100px; margin: 0 auto 48px; padding: 24px; color: var(--muted); text-align: center; border-top: 1px solid var(--border); } .slider-container { position: relative; max-width: 980px; margin: 38px auto 24px; padding: 0 24px; } .slider { display: flex; transition: transform 0.5s ease; } .slide { min-width: 100%; padding: 48px 36px; border-radius: 30px; background: rgba(255,255,255,0.03); border: 1px solid var(--border); box-shadow: var(--shadow); } .slide h2 { margin: 0 0 16px; font-size: clamp(1.9rem, 2.8vw, 3.2rem); } .slide p { margin: 0 0 30px; max-width: 720px; color: var(--muted); line-height: 1.8; } .slide a.button { display: inline-flex; margin-top: 8px; } .slider-nav { display: flex; justify-content: center; gap: 12px; margin-top: 20px; } .slider-nav button { min-width: 44px; padding: 10px 16px; font-weight: 700; background: rgba(255,255,255,0.05); color: var(--text); } .slider-nav button:hover { background: rgba(214,40,40,0.14); } .error-page { min-height: calc(100vh - 120px); display: grid; place-items: center; padding: 24px; } .error-panel { max-width: 720px; margin: 0 auto; padding: 42px 30px; background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 28px; box-shadow: var(--shadow); text-align: center; } .error-panel h1 { margin: 0 0 20px; font-size: clamp(2rem, 4vw, 3.2rem); } .error-panel p { margin: 0 0 18px; color: var(--muted); line-height: 1.8; } .error-panel a { display: inline-block; margin-top: 12px; padding: 12px 24px; background: var(--accent); color: #111; border-radius: 999px; } @media (max-width: 840px) { .page-shell { grid-template-columns: 1fr; } .page-header, .top-nav, .page-footer, .slider-container { padding-left: 16px; padding-right: 16px; } } @media (max-width: 560px) { .header-top { flex-direction: column; align-items: stretch; } .top-nav { justify-content: flex-start; gap: 10px; padding: 16px; } .slide { padding: 28px 22px; } }