View source for MediaWiki:Common.css
Jump to navigation
Jump to search
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page.
/* Media */
.social-media {
width: 50px;
height: 50px;
border: 2px solid #000;
border-radius: 8px;
background-color: #fff;
cursor: pointer;
transition: all 0.2s ease;
/* Фоновое изображение */
background-image: url('your-image.png');
background-size: cover; /* Изображение покрывает всю площадь */
background-position: center center; /* Явно центрируем по обеим осям */
background-repeat: no-repeat; /* Убираем повторение изображения */
}
.social-media:hover {
transform: scale(1.1);
}
000
1:0
Return to MediaWiki:Common.css.