85 lines
1.6 KiB
CSS
85 lines
1.6 KiB
CSS
body {
|
|
background-color: white;
|
|
background-image: url(images/background.png);
|
|
background-size: 100% auto;
|
|
background-repeat: no-repeat;
|
|
background-position: center center;
|
|
background-attachment: fixed;
|
|
color: #003366;
|
|
font-family: "Arial", sans-serif;
|
|
padding-top: 56px;
|
|
image-rendering: crisp-edges;
|
|
image-rendering: high-quality;
|
|
-ms-interpolation-mode: bicubic;
|
|
}
|
|
|
|
.logo {
|
|
border-radius: 50%;
|
|
width: 50px;
|
|
height: 50px;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.navbar-brand {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.card {
|
|
transition: transform 0.3s ease;
|
|
background-color: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
.card:hover {
|
|
transform: translateY(-5px);
|
|
}
|
|
|
|
.btn-primary {
|
|
background-color: #003366;
|
|
border-color: #003366;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background-color: #002244;
|
|
border-color: #002244;
|
|
}
|
|
|
|
/* Адаптивные стили */
|
|
@media (max-width: 768px) {
|
|
.navbar-brand span {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
body {
|
|
background-size: auto;
|
|
background-position: center;
|
|
}
|
|
}
|
|
|
|
/* Стили для иконок в подвале */
|
|
.social-media a {
|
|
color: #003366;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.social-media a:hover {
|
|
color: #002244;
|
|
}
|
|
|
|
/* Дополнительные стили для карточек книг */
|
|
.card-img-top {
|
|
height: 300px;
|
|
object-fit: contain;
|
|
}
|
|
|
|
/* Улучшенные отступы для мобильных устройств */
|
|
@media (max-width: 576px) {
|
|
.card {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
footer .col-md-6 {
|
|
text-align: center !important;
|
|
margin-bottom: 20px;
|
|
}
|
|
}
|