MediaWiki:Common.css
MediaWiki interface page
More actions
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* Default button style */
.nav-pill {
display: inline-block;
text-align: center;
margin: 0.5em;
border-radius: 8px;
padding: 5px;
width: 120px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
cursor: pointer;
color: gold;
font-weight: bold;
text-shadow: 1px 1px 2px black;
}
/* Hover effect */
.nav-pill:hover {
transform: scale(1.1);
box-shadow: 0 0 15px gold;
}
/* Image container */
.nav-pill-img-container {
overflow: hidden;
border-radius: 4px;
}
.nav-pill-img {
max-width: 100%;
display: block;
transition: transform 0.3s ease;
}
.nav-pill:hover .nav-pill-img {
transform: scale(1.2);
}
/* Branded button examples */
/* Races button */
.nav-races {
background: linear-gradient(135deg, #8B0000, #FFD700); /* Blood & gold */
border: 2px solid #FFD700;
}
/* Classes button */
.nav-classes {
background: linear-gradient(135deg, #4B0082, #FFA500); /* Purple & orange */
border: 2px solid #FFA500;
}
/* Server Story button */
.nav-story {
background: linear-gradient(135deg, #000000, #B22222); /* Black & crimson */
border: 2px solid #B22222;
}
/* Careers button */
.nav-careers {
background: linear-gradient(135deg, #006400, #ADFF2F); /* Dark green & lime */
border: 2px solid #ADFF2F;
}
/* Player Guides button */
.nav-guides {
background: linear-gradient(135deg, #191970, #00BFFF); /* Midnight blue & sky blue */
border: 2px solid #00BFFF;
}
/* Interactive Map button */
.nav-map {
background: linear-gradient(135deg, #8B4513, #DEB887); /* SaddleBrown & Burlywood */
border: 2px solid #DEB887;
}