Шаблон:ButtonPage/Button.css
Материал из Celadon | Wiki Shiptest
Дополнительные действия
.button {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 10px;
margin: 5px;
background-color: #f8f9fa;
border: 1px solid #a2a9b1;
border-radius: 4px;
cursor: pointer;
transition: all 0.3s ease;
text-align: center;
text-decoration: none;
position: relative;
overflow: hidden;
}
.button:hover {
background-color: #fff;
box-shadow: 0 0 12px 4px rgba(255, 215, 0, 0.8);
border-color: #ffcc00;
transform: translateY(-2px);
}
.button-img {
margin-bottom: 8px;
transition: all 0.3s ease;
}
.button-img:hover {
transform: scale(1.1);
filter: brightness(1.2) drop-shadow(0 0 3px rgba(255, 215, 0, 0.6));
}
.button-text {
font-weight: bold;
transition: all 0.2s ease;
}
.button-text:hover {
color: #202122;
text-shadow: 0 0 2px rgba(255, 215, 0, 0.5);
}