MediaWiki:Common.css: відмінності між версіями
Сторінка інтерфейсу MediaWiki
Більше дій
Немає опису редагування Мітка: Скасовано |
Немає опису редагування Мітка: Скасовано |
||
| Рядок 46: | Рядок 46: | ||
height:180px; | height:180px; | ||
object-fit:cover; | object-fit:cover; | ||
} | } | ||
| Рядок 89: | Рядок 51: | ||
.page-Новини .mw-gallery { | .page-Новини .mw-gallery { | ||
display: grid !important; | display: grid !important; | ||
grid-template-columns: repeat(auto-fill, minmax(260px, | grid-template-columns: repeat(auto-fill, minmax(260px, 260px)); | ||
gap: 20px; | gap: 20px; | ||
justify-content: start; | |||
} | } | ||
/* картка */ | /* картка */ | ||
.page-Новини .gallerybox { | .page-Новини .gallerybox { | ||
width: | width: 260px !important; | ||
} | } | ||
| Рядок 101: | Рядок 64: | ||
.page-Новини .gallerybox img { | .page-Новини .gallerybox img { | ||
width: 100%; | width: 100%; | ||
height: | height: 160px; | ||
object-fit: cover; | object-fit: cover; | ||
border-radius: 8px; | |||
} | } | ||
Версія за 14:04, 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;
}
/* Сітка новин */
.page-Новини .mw-gallery {
display: grid !important;
grid-template-columns: repeat(auto-fill, minmax(260px, 260px));
gap: 20px;
justify-content: start;
}
/* картка */
.page-Новини .gallerybox {
width: 260px !important;
}
/* картинка */
.page-Новини .gallerybox img {
width: 100%;
height: 160px;
object-fit: cover;
border-radius: 8px;
}