Открыть меню
Переключить меню настроек
Открыть персональное меню
Вы не представились системе
Ваш IP-адрес будет виден всем, если вы внесёте какие-либо изменения.

Шаблон:ButtonPage/Button.css: различия между версиями

Материал из Celadon | Wiki Shiptest
мНет описания правки
мНет описания правки
Метка: отменено
Строка 1: Строка 1:
.button {  
.button {  
     display: inline-flex;
     display: flex;
     flex-direction: column;
     flex-direction: column;
overflow: hidden;
overflow: hidden;
Строка 14: Строка 14:


.button-img {
.button-img {
display: inline-flex;
display: flex;
     flex: 1;
     flex: 1;
justify-content: center;
justify-content: center;
Строка 26: Строка 26:
.button-text {
.button-text {
overflow: hidden;
overflow: hidden;
display: inline-flex;
display: flex;
height: calc(1.25rem + 1px);
height: calc(1.25rem + 1px);
     align-items: center;
     align-items: center;

Версия от 02:52, 1 сентября 2025

.button { 
    display: flex;
    flex-direction: column;
	overflow: hidden;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.button:hover {
    box-shadow: 0 0 8px 2px rgba(255, 215, 0, 0.7);
    border-color: #ffcc00;
}

.button-img {
	display: flex;
    flex: 1;
	justify-content: center;
}

.button-img:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.8));
}

.button-text {
overflow: hidden;
	display: flex;
	height: calc(1.25rem + 1px);
    align-items: center;
	justify-content: center;
	font-weight: bold;
	white-space: nowrap;
    text-decoration: none;
}