MediaWiki:Common.css: Difference between revisions

From Pixelrus
Jump to navigation Jump to search
No edit summary
m (Set Pixelrus_Logo2a.png as the primary wiki logo)
Line 34: Line 34:
     cursor: pointer;                    /* makes it obvious you can tap */
     cursor: pointer;                    /* makes it obvious you can tap */
}
}
/* Pixelrus primary logo */
.mw-logo-icon {
  content: url("https://wiki.pixelrus.net/images/thumb/7/71/Pixelrus_Logo2a.png/300px-Pixelrus_Logo2a.png") !important;
  width: 50px;
  height: 50px;
  object-fit: contain;
}
#p-logo a {
  background-image: url("https://wiki.pixelrus.net/images/thumb/7/71/Pixelrus_Logo2a.png/300px-Pixelrus_Logo2a.png") !important;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
/* End Pixelrus primary logo */

Revision as of 07:38, 3 August 2026

.hidden-small{
  font-size:85%;
  font-weight:400;
  margin-top:2px;          /* small gap under ability name */
}

.pixelated {
  image-rendering: crisp-edges;    /* Firefox, older browsers */
  image-rendering: pixelated;      /* Chrome, modern browsers */
}

.tabs-container{
  width: fit-content;
}

.tabs{
  width: fit-content;
}
/* ─── Pokémon infobox tabs float ───────────────────────── */
.tabs-pkmn {
  float: right;
  clear: both;
  display: inline-block !important; /* shrink-wrap to content */
  width: auto           !important; /* override any 100% width */
  margin: 0 0 1em 1em;            /* match your infobox spacing */
}

.px-section            { margin: 1.25em 0; }
.px-section-heading    {
    margin: 0;
    padding-bottom: .25em;
    border-bottom: 1px solid #a2a9b1;   /* same grey as Wikipedia */
    font-weight: bold;
    cursor: pointer;                    /* makes it obvious you can tap */
}

/* Pixelrus primary logo */
.mw-logo-icon {
  content: url("https://wiki.pixelrus.net/images/thumb/7/71/Pixelrus_Logo2a.png/300px-Pixelrus_Logo2a.png") !important;
  width: 50px;
  height: 50px;
  object-fit: contain;
}

#p-logo a {
  background-image: url("https://wiki.pixelrus.net/images/thumb/7/71/Pixelrus_Logo2a.png/300px-Pixelrus_Logo2a.png") !important;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
/* End Pixelrus primary logo */