65 lines
978 B
CSS
65 lines
978 B
CSS
.card.card-hover {
|
|
transition: transform 0.2s cubic-bezier(.4,2,.3,1);
|
|
}
|
|
|
|
.card.card-hover:hover {
|
|
transform: scale(1.04);
|
|
z-index: 2;
|
|
box-shadow: 0 8px 32px rgba(0,0,0,0.15);
|
|
}
|
|
|
|
.bg-custom-dark {
|
|
background-color: #0f0630 !important;
|
|
color: #f0ffff;
|
|
}
|
|
|
|
html, body {
|
|
height: 100%;
|
|
margin: 0;
|
|
}
|
|
|
|
body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
main {
|
|
flex: 1 0 auto;
|
|
}
|
|
|
|
footer {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.d-block {
|
|
text-decoration: none;
|
|
color: #f0ffff;
|
|
}
|
|
|
|
.img-fluid {
|
|
width: 200px;
|
|
}
|
|
|
|
.card {
|
|
width: 60%;
|
|
}
|
|
|
|
.container-news .card {
|
|
margin: 0 auto;
|
|
width: 600px;
|
|
}
|
|
|
|
.description {
|
|
width: 100%;
|
|
min-height: 120px;
|
|
max-height: 400px;
|
|
overflow: hidden; /* Запретить скролл */
|
|
resize: none; /* Запретить изменение размера */
|
|
box-sizing: border-box;
|
|
padding: 8px 12px;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.text-color-light {
|
|
color: aliceblue;
|
|
} |