MediaWiki:Common.css: відмінності між версіями
Сторінка інтерфейсу MediaWiki
Більше дій
Немає опису редагування Мітка: Скасовано |
Немає опису редагування Мітка: Скасовано |
||
| Рядок 46: | Рядок 46: | ||
height:180px; | height:180px; | ||
object-fit:cover; | object-fit:cover; | ||
} | |||
/* Картки новин */ | |||
.gallerybox { | |||
border-radius:10px; | |||
overflow:hidden; | |||
transition:transform 0.25s ease, box-shadow 0.25s ease; | |||
} | |||
.gallerybox img { | |||
width:100%; | |||
height:200px; | |||
object-fit:cover; | |||
transition:transform 0.25s ease; | |||
} | |||
/* Ефект при наведенні */ | |||
.gallerybox:hover { | |||
transform:scale(1.05); | |||
box-shadow:0 10px 25px rgba(0,0,0,0.35); | |||
} | |||
.gallerybox:hover img { | |||
transform:scale(1.1); | |||
} | } | ||
Версія за 13:57, 5 березня 2026
/* Прибрати блок "Остання зміна" */
#footer-info-lastmod {
display: none !important;
}
/* Прибрати авторські права */
#footer-info-copyright {
display: none !important;
}
/* Якщо Citizen рендерить все через footer-info */
#footer-info {
display: none !important;
}
:root {
--citizen-accent-color: #bfa14a; /* золото */
--citizen-background-color: #0d0e12;
}
/* Ховаємо текст */
#n-donate a {
font-size: 0;
position: relative;
display: block;
width: 40px;
height: 40px;
}
/* Малюємо іконку */
#n-donate a::before {
content: "";
position: absolute;
left: 50%;
top: 50%;
width: 22px;
height: 22px;
transform: translate(-50%, -50%);
background-image: url("https://graprestoliv.com.ua/images/5/53/Free-icon-donate-931171.png");
background-size: contain;
background-repeat: no-repeat;
}
.gallerybox img {
width:100%;
height:180px;
object-fit:cover;
}
/* Картки новин */
.gallerybox {
border-radius:10px;
overflow:hidden;
transition:transform 0.25s ease, box-shadow 0.25s ease;
}
.gallerybox img {
width:100%;
height:200px;
object-fit:cover;
transition:transform 0.25s ease;
}
/* Ефект при наведенні */
.gallerybox:hover {
transform:scale(1.05);
box-shadow:0 10px 25px rgba(0,0,0,0.35);
}
.gallerybox:hover img {
transform:scale(1.1);
}