Шаблон:ButtonPage/Button.css: различия между версиями
Материал из Celadon | Wiki Shiptest
Дополнительные действия
мНет описания правки |
мНет описания правки |
||
| Строка 15: | Строка 15: | ||
.button-img { | .button-img { | ||
display: inline-flex; | display: inline-flex; | ||
flex: 1; | |||
justify-content: center; | justify-content: center; | ||
} | } | ||
Версия от 02:42, 1 сентября 2025
.button { display: inline-flex;
flex-direction: column;
overflow: hidden;
border-radius: 4px;
transition: all 0.3s ease;
position: relative;
transform: scale(1.1);
}
.button:hover {
box-shadow: 0 0 8px 2px rgba(255, 215, 0, 0.7);
border-color: #ffcc00;
}
.button-img {
display: inline-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: inline-flex;
height: calc(1.25rem + 1px);
align-items: center;
justify-content: center;
font-weight: bold;
white-space: nowrap;
text-decoration: none;
}