MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
Blanked the page Tags: Blanking Manual revert |
No edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
/* Nav Pill Buttons */ | |||
.nav-pill { | |||
display: inline-block; | |||
width: 150px; /* adjust width */ | |||
height: 150px; /* adjust height */ | |||
margin: 10px; | |||
text-align: center; | |||
vertical-align: middle; | |||
line-height: 150px; /* center text vertically */ | |||
font-weight: bold; | |||
font-size: 1.1em; | |||
color: white; | |||
text-decoration: none; | |||
background-size: cover; | |||
background-position: center; | |||
border-radius: 10px; | |||
transition: transform 0.3s ease, filter 0.3s ease; | |||
} | |||
/* Hover effects */ | |||
.nav-pill:hover { | |||
transform: scale(1.1); | |||
filter: brightness(1.2); | |||
} | |||
Revision as of 08:54, 16 November 2025
/* Nav Pill Buttons */
.nav-pill {
display: inline-block;
width: 150px; /* adjust width */
height: 150px; /* adjust height */
margin: 10px;
text-align: center;
vertical-align: middle;
line-height: 150px; /* center text vertically */
font-weight: bold;
font-size: 1.1em;
color: white;
text-decoration: none;
background-size: cover;
background-position: center;
border-radius: 10px;
transition: transform 0.3s ease, filter 0.3s ease;
}
/* Hover effects */
.nav-pill:hover {
transform: scale(1.1);
filter: brightness(1.2);
}