Оптимизировал вёрстку web панели
This commit is contained in:
+127
@@ -0,0 +1,127 @@
|
||||
/* ==========================================
|
||||
ОБЩИЕ СТИЛИ (ШРИФТЫ, БАЗОВЫЕ СЕЛЕКТОРЫ)
|
||||
========================================== */
|
||||
body {
|
||||
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
||||
background-color: #121212; /* Глубокий черный фон */
|
||||
color: #ffffff;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: #ff6600;
|
||||
margin: 0 0 30px 0;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 2px;
|
||||
border-bottom: 2px solid #ff6600;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
/* ==========================================
|
||||
ШАПКА (TOP BAR) — ПРИСУТСТВУЕТ ВЕЗДЕ
|
||||
========================================== */
|
||||
.top-bar {
|
||||
width: 100%;
|
||||
background-color: #1a1a1a;
|
||||
border-bottom: 2px solid #ff6600; /* Оранжевая полоса снизу */
|
||||
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
.top-bar-container {
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
padding: 0 20px;
|
||||
height: 60px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.logo {
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
color: #ffffff;
|
||||
text-decoration: none;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
|
||||
.logo span {
|
||||
color: #ff6600;
|
||||
}
|
||||
|
||||
.nav-links {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.nav-link {
|
||||
color: #e0e0e0;
|
||||
text-decoration: none;
|
||||
font-size: 15px;
|
||||
transition: color 0.2s ease;
|
||||
}
|
||||
|
||||
.nav-link:hover,
|
||||
.nav-link.active {
|
||||
color: #ff6600;
|
||||
}
|
||||
|
||||
.nav-link.active {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/* Общий контейнер контента */
|
||||
.main-content {
|
||||
width: 100%;
|
||||
padding: 40px 20px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
/* ==========================================
|
||||
АДАПТИВНОСТЬ ДЛЯ ШАПКИ И БАЗОВЫХ ЭЛЕМЕНТОВ
|
||||
========================================== */
|
||||
@media (max-width: 768px) {
|
||||
.top-bar-container {
|
||||
height: auto;
|
||||
padding: 12px 16px;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.nav-links {
|
||||
width: 100%;
|
||||
justify-content: space-between;
|
||||
flex-wrap: wrap;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.main-content {
|
||||
padding: 24px 14px;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 24px;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
}
|
||||
|
||||
/* --- СТИЛИ ДЛЯ ЧЕКБОКСА (CHECKBUTTON) --- */
|
||||
.checkbox-group {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
Reference in New Issue
Block a user