MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
.category-button { | |||
. | transition: transform 0.2s ease-in-out; /* Smooth animation */ | ||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */ | |||
border-radius: 8px; /* Rounded corners */ | |||
overflow: hidden; /* Prevents image overflow on hover */ | |||
} | } | ||
.category-button:hover { | |||
. | transform: scale(1.05); /* Slight zoom on hover */ | ||
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Deeper shadow */ | |||
/* | |||
. | |||
} | } | ||
Revision as of 09:25, 16 November 2025
.category-button {
transition: transform 0.2s ease-in-out; /* Smooth animation */
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
border-radius: 8px; /* Rounded corners */
overflow: hidden; /* Prevents image overflow on hover */
}
.category-button:hover {
transform: scale(1.05); /* Slight zoom on hover */
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Deeper shadow */
}