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
Tag: Reverted
No edit summary
Tag: Reverted
Line 1: Line 1:
/* Nav Pills Container */
.nav-pill-container {
.nav-pill-container {
  display: flex;
    display: flex;
  flex-direction: column;
    flex-direction: column;
  align-items: center;
    align-items: center;
  justify-content: center;
    gap: 20px;
}
}


/* Each row of nav pills */
.nav-pill-row {
.nav-pill-row {
  display: flex;
    display: flex;
  justify-content: center;
    justify-content: center;
  margin-bottom: 20px; /* space between rows */
    gap: 30px;
}
}


/* Nav Pill Buttons */
.nav-pill {
.nav-pill {
  display: inline-block;
    text-align: center;
  width: 150px;
    overflow: hidden;
  height: 150px;
    border-radius: 8px;
  margin: 10px;
    transition: transform 0.3s;
  text-align: center;
  vertical-align: middle;
  line-height: 150px;
  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 {
.nav-pill:hover {
  transform: scale(1.1);
    transform: scale(1.05);
  filter: brightness(1.2);
}
 
.nav-pill-image img {
    max-width: 100px;
    height: auto;
    display: block;
}
}

Revision as of 09:01, 16 November 2025

.nav-pill-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.nav-pill-row {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.nav-pill {
    text-align: center;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s;
}

.nav-pill:hover {
    transform: scale(1.05);
}

.nav-pill-image img {
    max-width: 100px;
    height: auto;
    display: block;
}