MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* Default button style */ | |||
.nav-pill { | .nav-pill { | ||
display: inline-block; | display: inline-block; | ||
text-align: center; | text-align: center; | ||
margin: 0.5em; | margin: 0.5em; | ||
border-radius: 8px; | |||
padding: 5px; | |||
width: 120px; | |||
transition: transform 0.3s ease, box-shadow 0.3s ease; | |||
cursor: pointer; | cursor: pointer; | ||
color: gold; | |||
font-weight: bold; | |||
text-shadow: 1px 1px 2px black; | |||
} | } | ||
/* Hover effect */ | |||
.nav-pill:hover { | .nav-pill:hover { | ||
transform: scale(1.1); | transform: scale(1.1); | ||
box-shadow: 0 0 15px gold; | |||
} | |||
/* Image container */ | |||
.nav-pill-img-container { | |||
overflow: hidden; | |||
border-radius: 4px; | |||
} | } | ||
.nav-pill-img { | .nav-pill-img { | ||
max-width: | max-width: 100%; | ||
display: block; | display: block; | ||
transition: transform 0.3s ease; | |||
} | } | ||
.nav-pill- | .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; | |||
} | } | ||
Revision as of 09:18, 16 November 2025
/* 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;
}