/
brood
/
htmlcss
Обзор
Документация
Войти
/
brood
/
htmlcss
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
kt4and5/style.css
195 строк
3 KB
1xskaeuo
добавлена кт 4 и 5
07 дек 2025, 10:24
07 дек 2025, 10:24
f898797
Код
Авторство
О чём код?
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Arial', sans-serif; } body { background-color: #0a0a0a; color: #f0f0f0; min-height: 100vh; display: flex; flex-direction: column; } header { background-color: #000000; border-bottom: 2px solid #ff0000; } nav table { width: 100%; border-collapse: collapse; } nav td { padding: 15px 0; } nav a { color: #f0f0f0; text-decoration: none; font-weight: bold; padding: 10px 20px; border-radius: 4px; transition: all 0.3s ease; display: inline-block; } nav a:hover { background-color: #ff0000; color: #000000; transform: scale(1.05); } main { flex: 1; padding: 20px; max-width: 1200px; margin: 0 auto; width: 100%; } h1, h2, h3 { color: #ff0000; margin-bottom: 15px; text-shadow: 1px 1px 2px #000; } h1 { font-size: 2.5em; margin: 20px 0; } h2 { font-size: 2em; margin-top: 30px; } h3 { font-size: 1.5em; } p { line-height: 1.6; margin-bottom: 15px; } table { width: 100%; border-collapse: collapse; margin: 20px 0; background-color: #1a1a1a; } th { background-color: #ff0000; color: #000000; padding: 12px; text-align: left; font-weight: bold; } td { padding: 10px 12px; border-bottom: 1px solid #333; } tr:hover { background-color: #2a2a2a; } button { background-color: #ff0000; color: #000000; border: none; padding: 12px 24px; font-size: 1em; font-weight: bold; border-radius: 4px; cursor: pointer; transition: all 0.3s ease; margin: 10px; } button:hover { background-color: #cc0000; transform: translateY(-2px); box-shadow: 0 4px 8px rgba(255, 0, 0, 0.3); } audio, video { border: 2px solid #ff0000; border-radius: 8px; margin: 10px 0; } img { border: 2px solid #333; border-radius: 4px; transition: border-color 0.3s ease; max-width: 100%; } img:hover { border-color: #ff0000; } ul { list-style-type: none; padding-left: 20px; } li { margin-bottom: 8px; position: relative; } li:before { content: "➜"; color: #ff0000; position: absolute; left: -20px; } footer { background-color: #000000; color: #f0f0f0; padding: 20px; text-align: center; border-top: 2px solid #ff0000; margin-top: auto; } .text-center-ascii { color: #ff0000; font-family: 'Courier New', monospace; font-weight: bold; text-shadow: 2px 2px 4px #000; } .center { text-align: center; } @media (max-width: 768px) { nav td { display: block; width: 100%; text-align: center; } main { padding: 10px; } table { font-size: 0.9em; } }