Обновить static/css/custom.css
This commit is contained in:
parent
9d04431c4a
commit
ca6f42da87
@ -95,6 +95,34 @@ main img {
|
||||
border: 2px solid #ddd;
|
||||
}
|
||||
/* ------------------------------------------------------------------ */
|
||||
/* Красивые карточки для новостей */
|
||||
.news-card {
|
||||
background: white;
|
||||
border-radius: 8px;
|
||||
padding: 20px;
|
||||
margin: 15px 0;
|
||||
box-shadow: 0 2px 8px rgba(0, 51, 102, 0.08);
|
||||
border-left: 4px solid #003366;
|
||||
transition: transform 0.2s, box-shadow 0.2s;
|
||||
}
|
||||
|
||||
.news-card:hover {
|
||||
transform: translateX(5px);
|
||||
box-shadow: 0 4px 16px rgba(0, 51, 102, 0.15);
|
||||
}
|
||||
|
||||
.news-date {
|
||||
color: #666;
|
||||
font-size: 0.85em;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.news-title {
|
||||
color: #003366;
|
||||
margin: 0 0 10px 0;
|
||||
font-size: 1.3em;
|
||||
}
|
||||
/* ------------------------------------------------------------------ */
|
||||
/* Мобильная адаптация */
|
||||
@media (max-width: 768px) {
|
||||
body {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user