Toggle menu
20
62
5
836
Irontide Fantasy Roleplay
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Line 1: Line 1:
/* Default button style */
.category-button {
.nav-pill {
    transition: transform 0.2s ease-in-out; /* Smooth animation */
  display: inline-block;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  text-align: center;
    border-radius: 8px; /* Rounded corners */
  margin: 0.5em;
    overflow: hidden; /* Prevents image overflow on hover */
  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 */
.category-button:hover {
.nav-pill:hover {
    transform: scale(1.05); /* Slight zoom on hover */
  transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Deeper shadow */
  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;
}
}

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 */
}