189 lines
5.1 KiB
CSS
189 lines
5.1 KiB
CSS
/* Общие стили для страницы */
|
|
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;
|
|
}
|
|
|
|
/* --- TOP BAR STYLE --- */
|
|
.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 {
|
|
color: #ff6600;
|
|
}
|
|
|
|
/* Кнопка настроек */
|
|
.settings-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
background-color: transparent;
|
|
color: #ff6600;
|
|
border: 1px solid #ff6600;
|
|
padding: 8px 16px;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-weight: 600;
|
|
text-decoration: none;
|
|
font-size: 14px;
|
|
transition: all 0.3s ease;
|
|
}
|
|
.settings-btn:hover {
|
|
background-color: #ff6600;
|
|
color: #000000;
|
|
box-shadow: 0 0 10px rgba(255, 102, 0, 0.4);
|
|
}
|
|
|
|
/* --- ОСНОВНОЙ КОНТЕНТ --- */
|
|
.main-content {
|
|
width: 100%;
|
|
max-width: 940px;
|
|
padding: 40px 20px;
|
|
box-sizing: border-box;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
h1 {
|
|
color: #ff6600;
|
|
margin-bottom: 30px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 2px;
|
|
border-bottom: 2px solid #ff6600;
|
|
padding-bottom: 10px;
|
|
align-self: flex-start;
|
|
}
|
|
|
|
/* Контейнер для адаптивности таблицы */
|
|
.table-container {
|
|
width: 100%;
|
|
overflow-x: auto;
|
|
box-shadow: 0 4px 15px rgba(255, 102, 0, 0.15);
|
|
border-radius: 8px;
|
|
}
|
|
|
|
/* Стили таблицы */
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
background-color: #1a1a1a;
|
|
text-align: left;
|
|
min-width: 600px;
|
|
}
|
|
|
|
/* Шапка таблицы */
|
|
th {
|
|
background-color: #ff6600;
|
|
color: #000000;
|
|
padding: 15px;
|
|
font-weight: bold;
|
|
text-transform: uppercase;
|
|
font-size: 14px;
|
|
}
|
|
|
|
/* Ячейки таблицы */
|
|
td {
|
|
padding: 15px;
|
|
border-bottom: 1px solid #333333;
|
|
color: #e0e0e0;
|
|
font-size: 15px;
|
|
}
|
|
|
|
/* Чередование цветов строк (зебра) */
|
|
tr:nth-child(even) {
|
|
background-color: #222222;
|
|
}
|
|
|
|
/* Эффект наведения на строку */
|
|
tr:hover td {
|
|
background-color: #2a2a2a;
|
|
color: #ff8533;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
@media (max-width: 680px) {
|
|
.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;
|
|
}
|
|
|
|
.settings-btn {
|
|
width: 100%;
|
|
justify-content: center;
|
|
}
|
|
|
|
.main-content {
|
|
padding: 24px 14px;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 24px;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
th, td {
|
|
padding: 10px 8px;
|
|
font-size: 12px;
|
|
}
|
|
}
|