Сохранил локальные изменения перед pull

This commit is contained in:
shaman_lesnoy 2025-01-12 07:15:58 +03:00
parent 10da9b3707
commit 5cadda8396
15 changed files with 815312 additions and 27 deletions

View file

@ -6,18 +6,64 @@ body {
display: block;
}
/* кнопка "Связаться" */
.contact-button {
position: absolute;
top: 10px;
right: 50px;
font-size: 14px;
color: #417A9B;
text-decoration: none;
font-weight: bold;
background-color: transparent;
border: none;
cursor: pointer;
}
.contact-button:hover {
text-decoration: underline;
}
.top-bar {
background-color: #171D25;
width: 100%;
height: 105px;
display: flex;
justify-content: center;
justify-content: space-between; /* Элементы слева и справа */
align-items: center;
position: fixed;
top: 0;
z-index: 1000;
padding-left: 20px; /* Отступ слева */
padding-right: 20px; /* Отступ справа */
}
.left-text {
color: white;
font-family: Arial, sans-serif;
font-size: 14px;
margin-right: 15px; /* Отступ справа для текста */
}
.left-text p {
margin: 0;
padding: 0;
}
.center-text {
color: white;
font-family: Arial, sans-serif;
font-size: 28px;
text-align: center;
flex-grow: 1; /* Элемент займет всю доступную ширину */
margin-left: -500px; /* Это выравнивает текст по правому краю */
margin-right: auto; /* Это выравнивает текст по левому краю */
}
.main-container {
display: flex;
justify-content: center;
@ -485,3 +531,136 @@ body {
cursor: pointer;
accent-color: #63AFCD;
}
@media screen and (max-width: 768px) {
body {
font-size: 14px;
}
.top-bar {
height: 80px;
}
.main-container {
flex-direction: column;
align-items: center;
margin-top: 80px;
padding: 0 10px;
}
.cards-container {
grid-template-columns: 1fr;
grid-gap: 20px;
width: 100%;
justify-items: center;
}
.card {
width: 90%; /* Карточки занимают почти весь экран */
max-width: 300px; /* Ограничение по ширине */
}
.right-rectangle {
width: 100%;
height: auto;
margin-left: 0;
}
.game-modes {
position: static;
flex-direction: row;
justify-content: center;
flex-wrap: wrap;
gap: 10px;
}
@media screen and (max-width: 768px) {
.modal {
width: 90%;
height: auto;
padding: 15px;
max-width: 500px; /* Ограничиваем максимальную ширину для больших мобильных устройств */
}
.modal-content {
padding: 15px;
}
.close-btn {
top: -30px;
right: -10px;
font-size: 25px;
}
.modal-content h2 {
margin-left: 15px;
font-size: 18px;
}
.modal-rectangle {
width: 100%;
height: 45px;
padding: 0 15px;
}
.modal-rectangle .text-left,
.modal-rectangle .text-center {
font-size: 14px;
padding: 5px 0;
}
.date-input {
width: 100%;
height: 35px;
font-size: 16px;
margin-top: 10px;
}
.cancel-button,
.ok-button {
position: static;
margin-top: 20px;
width: 100%;
height: 40px;
font-size: 16px;
}
.cancel-button {
margin-bottom: 10px;
}
.ok-button {
margin-bottom: 10px;
}
}
.pagination {
flex-wrap: wrap;
}
.filter-stars {
width: 90%;
position: static;
margin: 10px 0;
}
.search-container {
margin-top: 20px;
}
.search-input {
width: 90%;
}
.sort-button-container {
flex-wrap: wrap;
justify-content: center;
}
.sort-button {
width: auto;
margin: 5px;
}
}