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