MediaWiki:Common.css

From Pokemon Revolution Online Wiki
Revision as of 20:41, 4 March 2025 by Keita (talk | contribs)
Jump to navigation Jump to search

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.
/* CSS placed here will be applied to all skins */

.pro-table {
    background-color: #333333;
    border: 5px solid #000000;
    border-radius: 20px;
    padding: 3px;
    cellspacing: 2px;
    cellpadding: 2px;
    border-spacing: 5px 5px;
    color: white;
}

.pro-table-header {
    background-color: #1B1A1A;
    color: #FFB600;
    border-radius: 30px;
    border: 1px solid #000000;
    font-weight: bold;
    font-size: 125%;
    text-align: center;
    padding: 4px;
}

.pro-table-header-cell {
    padding: 7px;
    border: 3px solid #000000;
}

.pro-table-row {
    background-color: #DDD;
    color: #000000;
}

.divRow {
    display: table;
    width: 100%;
    text-align: center;
    table-layout: fixed; 
    border-spacing: 10px; 
}
.divColumn {
    display: table-cell;
    background-color: white; 
}

.circular-icon {
    width: 55px;
    height: 55px;
    border-radius: 35px;
    border: 3px solid #000000;
    background-color: white;
    text-align: center;
    padding: 5px;
    align: left;
}

.pro-table-cell {
    background-color: #666666;
    border-radius: 20px;
    border: 1px solid #000000;
    padding: 4px;
}

.informational-box {
margin-left: 15px;
margin-top: 5px;
margin-bottom: 5px;
cellspacing: 2px;
float: right;
text-align: center;
padding: 3px;
}

.top-align {
    vertical-align: top;
}

.middle-align {
    vertical-align: middle;
}

.tab {
  text-align: center;
}

.tab td {
  float: left;
  border: 1px solid {{#var:border}};
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-size: 17px;
  border-radius: 25px 25px 1px 1px;
}

.tab td:hover {
  text-decoration: underline;
}

.tab td.active {
  background-color: {{#var:background}};
  font-weight: bold; 
  color: {{#var:border}};
}

.tabcontent {
  display: none;
  background-color: none;
  border: none;
  border-top: none;
}

#n-PRO-Wiki-Discord a {
    background-image: url("https://i.imgur.com/4TeLNLE.png");
    background-position: left;
    color: white !important;
    background-repeat: no-repeat;
    font-size: 10px;
    font-weight: bold;
    border-radius: 25px;
    border: 1px solid #2b44a1;
    background-color: #7289da;
    display: block;
    position: relative;
    padding-left: 32px;
    padding-bottom: 7px;
    padding-top: 7px;
    padding-right: 7px;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
    transition: 0.2s ease;
}

.collapsible span.collapsible-toggle {
    float: right;
}

.border-top-radius {
  border-top-right-radius: 25px;
  border-top-left-radius: 25px;
}

.border-bottom-radius {
  border-bottom-right-radius: 25px;
  border-bottom-left-radius: 25px;
}

colgroup {
  display: table-column-group;
}

col {
  display: table-column;
}

.4w td {
  width: 4%;
}




/* KEITA'S HOME PAGE */

.mw-parser-output .home-grid {
    display: grid;
    grid: auto-flow dense/repeat(auto-fit,minmax(18.75rem,1fr));
    grid-auto-rows: minmax(4.875rem,auto);
    grid-gap: var(--space-sm);
}


@media only screen and (max-width: 1030px) {
	.mw-parser-output .home-grid {
        row-gap: 1rem;
        column-gap: var(--space-sm);
        grid: auto-flow dense/repeat(auto-fit,minmax(28%,1fr));
        grid-auto-rows: minmax(4.875rem,auto);
	}
}

@media only screen and (max-width: 720px) {
	.mw-parser-output .home-grid {
        row-gap: 1rem;
        column-gap: var(--space-sm);
        grid: auto-flow dense/repeat(auto-fit,minmax(48%,1fr));
        grid-auto-rows: minmax(4.175rem,auto);
	}
}


.mw-parser-output .home-card {
    position: relative;
    padding: var(--space-md);
    background: var(--color-surface-1);
    border: 1px solid var(--border-color-base);
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.04), 0 3px 6px rgba(0,0,0,0.0575);
    font-size: 0.875rem;
}


.mw-parser-output .home-card--button a {
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
    padding: 0 var(--space-md);
    background: transparent;
    color: #fff;
    font-weight: 500;
}

.mw-parser-output .home-card__background {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #242a31;
    border-radius: 8px;
}



.mw-parser-output .home-card.home-card--button {
    overflow: hidden;
    padding: 0;
    background: #242a31;
    border: 0;
}


.mw-parser-output .home-card__foreground {
    position: absolute;
    top: 40%;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-xxs);
    color: #fff;
    line-height: var(--line-height-xs);
    pointer-events: none;
    font-size: 1.20rem;
    font-weight: 700;
}

.mw-parser-output .home-card__foreground2 {
    position: absolute;
    top: 50%;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-xxs);
    color: #fff;
    line-height: var(--line-height-xs);
    pointer-events: none;
    font-size: 1.20rem;
    font-weight: 500;
}



.mw-parser-output .home-card--button .home-card__background a {
    padding: 0;
}


.mw-parser-output .home-card__background:after {
    position: absolute;
    pointer-events: none;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: block;
    background: linear-gradient(to right,#000,transparent 63%);
    content: "";
}

.mw-parser-output .home-card__foreground {
  
}

.mw-parser-output excavation > home-card__background img {
    object-fit: contain;
    object-position: center;
    width: 100%;
    height: 100%;
}

.mw-parser-output .home-card__background img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}


/* TEST FOR 2ND IMAGE */

.mw-parser-output .home-card__background2 img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}

.mw-parser-output .home-card__background2 {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 8px;
}

.mw-parser-output .home-card__background2:after {
    position: absolute;
    pointer-events: none;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: block;
    background: linear-gradient(to right,#000,transparent 63%);
    content: "";
}


/* SIDE MENU AREA MAPS */

.table-container {
    width:420px;
    border-radius: 25px; 
    padding: 5px; 
    text-align: center;
}


.AreaMapName {
    border-radius: 25px; 
    font-weight: bold; 
    font-size: 20px;
}

.MapsInfoBox {
    text-align: center; 
    width: 100%; 
    padding: 6px; 
}

.LocationInfoBox {
    border-radius: 25px; 
}


.LocationHeader {
    margin-bottom: 5px; 
    font-weight: bold;
}

.CategoryInfoBox {
    border-radius: 25px; 
    margin: auto auto; 
}


.Table-CategoryInfoBox {
    width: 100%; 
    padding: 7px;
}

.CategoryHeaders {
    margin-bottom: 5px; 
    margin: auto auto; 
    font-weight: bold; 
    font-size: 18px;
}

.CategoryCell-CellContainer {
    border-radius: 25px; 
    padding: 5px;
}

.CategoryCell-Title {
    border-radius: 25px; 
    font-weight: bold; 
    padding: 3px; 
    margin-bottom: 7px;
}

.CategoryCell-ValueInfo {
    background-color: #FFFFFF; 
    border-radius: 25px; 
    padding: 3px;
}

.AdjacentMapsNorth {
    background-color:#FFFFFF; 
    border-radius: 100px 100px 1px 1px; 
    margin: auto auto; 
    padding: 5px;
}

.AdjacentMapsWest {
    background-color:#FFFFFF; 
    border-radius: 100px 1px 1px 100px; 
    padding: 5px;
}

.AdjacentMapsNameCenter {
    background-color:#FFFFFF; 
    margin: auto auto; 
    padding: 5px;
}

.AdjacentMapsEast {
    background-color:#FFFFFF; 
    border-radius: 1px 100px 100px 1px; 
    padding: 5px; 
}


.AdjacentMapsSouth {
    background-color:#FFFFFF; 
    border-radius: 1px 1px 100px 100px; 
    padding: 8px;
}



/* KEITA MENU CARD BUTTONS UPDATED */


.mw-parser-output .grid-menu {
    display:grid;
    max-width: 1080px;
    margin: 0 auto;
}

.mw-parser-output .menu__homepage {
    display: grid;
    gap: .5rem;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}


.mw-parser-output .menu-homepage__cards {
    color: white;
    position:relative;
    display: grid;
    width: 350px;
    height: 90px;
    background-size:cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
    transition: all .23s cubic-bezier(0.4, 0, 1, 1) !important;
    cursors: pointer;
}


.mw-parser-output .menu-homepage__cards:nth-child(1) {
    background-image: url(/images/4/42/Newtest.png);
    background-size:cover;
    background-position: center;
    background-repeat: no-repeat;
}

.mw-parser-output .menu-homepage__cards:nth-child(2) {
    background-image: url(/images/1/1f/Excavationcard2.png);
    background-size:cover;
    background-position: center;
    background-repeat: no-repeat;
}

.mw-parser-output .menu-homepage__cards:nth-child(3) {
    background-image: url(/images/5/50/Testdungeon3.png);
    background-size:cover;
    background-position: center;
    background-repeat: no-repeat;
}

.mw-parser-output .menu-homepage__cards:nth-child(4) {
    background-image: url(/images/b/b8/Eventform.png);
    background-size:cover;
    background-position: center;
    background-repeat: no-repeat;
}

.mw-parser-output .menu-homepage__cards:nth-child(5) {
    background-image: url(/images/0/07/Storywalkt.png);
    background-size:cover;
    background-position: center;
    background-repeat: no-repeat;
}

.mw-parser-output .menu-homepage__cards:nth-child(6) {
    background-image: url(/images/1/1a/Schooltest.png);
    background-size:cover;
    background-position: center;
    background-repeat: no-repeat;
}

.mw-parser-output .menu-homepage__cards::after {
    position:absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: block;
    background: linear-gradient(to right, #000 15%, transparent 70%);
    content: "";
    border-radius: 10px;
    cursor: pointer;
}

.mw-parser-output .menu-homepage__cards:hover,
.mw-parser-output .menu-homepage__cards:focus {
  box-shadow: 0 0.55em 0.5em -0.4em black;
  transform: translateY(-0.15em);
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) { /* Tablet */
    .mw-parser-output .menu-homepage__cards {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        margin: 0 auto;
    }
}

@media (max-width: 480px) { /* Mobile */
    .mw-parser-output .menu-homepage__cards {
        grid-template-columns: 1fr;
        margin: 0 auto;
    }
}

.mw-parser-output .card-category {
    z-index: 3;
    color:white;
    margin: 0;
    position: absolute;
    top: 55%;
    padding-left: 16px;
    font-family: 'Inter', sans-serif;
    font-size: 1.243rem;
    font-weight: 700;
    transition: all .30s cubic-bezier(0.4, 0, 1, 1) !important;
}

.menu-headers {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    font-weight: bold;
    margin-block-end: 0;
    color: black;
}

.wiki-home-introduction {
    margin-block-start: 0;
    margin-block-end: 0;
    text-align: center;
}

.first-header {
    margin-top: 1.5rem;
}


/* REMOVES THE DUMB ZOOM-IN EFFECT WHEN HOVERING IMAGES. CODED VERY BAD CAUSE IMAGE IS RESTRICTED INTO A SMALL SPACE, SO THE ZOOM IN JUST DOES NOT ZOOM BUT CUT THE IMAGE MAKING IT NOT USEFUL TO ITS SCOPE */
  figure[typeof~='mw:File'] > a:first-child:hover:not( .lazy ):not( .new ) img,
  figure[typeof~='mw:File/Frameless'] > a:first-child:hover:not( .lazy ):not( .new ) img,
  figure[typeof~='mw:File/Thumb'] > a:first-child:hover:not( .lazy ):not( .new ) img,
  figure[typeof~='mw:File/Frame'] > a:first-child:hover:not( .lazy ):not( .new ) img,
  figure[typeof~='mw:File'] > a:first-child:hover:not( .lazy ):not( .new ) source,
  figure[typeof~='mw:File/Frameless'] > a:first-child:hover:not( .lazy ):not( .new ) source,
  figure[typeof~='mw:File/Thumb'] > a:first-child:hover:not( .lazy ):not( .new ) source,
  figure[typeof~='mw:File/Frame'] > a:first-child:hover:not( .lazy ):not( .new ) source {
    transform: none !important;
  }




/* --------------------------------------------------------------- */
/* --------------------------------------------------------------- */
/* --------------------------------------------------------------- */
/* --------------------------------------------------------------- */
/* -------------------------KEITA AREA TEMPLATE-------------------------------------- */
/* -------------------------KEITA AREA TEMPLATE-------------------------------------- */

.infobox {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgb(0 0 0 / 30%);
  border: 1px solid rgb(0 0 0 / 60%);
  max-width: 360px;
  margin: 20px auto;
  overflow: hidden;
  animation: fadeIn 1s ease-in-out;
  padding-bottom: 15px;
}
.infobox-header {
  background-color: #d1c17d;
  color: #000000;
  font-weight: bold;
  padding: 8px;
  text-align: center;
  font-size: 1.5em;
}

.infobox-section {
  padding: 15px 15px 15px 15px; /* Padding applied to sections */
  margin-block-start: -10px;
}
.infobox-section h3 {
  margin: 0;
  font-size: 1.2em;
  color: #333;
}
.infoxbox_table_container {
  border-radius: 8px; /* Curved borders for the table container */
  overflow: hidden; /* Ensures the table respects the rounded corners */
  border: 2px solid #000000; /* Border for the container */
  margin-top: 4px;
padding: 0;
}
.infobox-section table {
  width: 100%;
  border-spacing: 0; /* Remove spacing between cells */
}
.infobox-section table td {
  padding: 8px;
  border: 1px solid #000000; /* Black border for all cells */
}
/* Remove outer borders to respect rounded corners */
.infobox-section table tr:first-child td {
  border-top: none;
}
.infobox-section table tr:last-child td {
  border-bottom: none;
}
.infobox-section table td:first-child {
  border-left: none;
}
.infobox-section table td:last-child {
  border-right: none;
}
.infobox-section table td:first-child {
  font-weight: bold;
  width: 50%; /* Adjust width for the key column */
  background-color: #d1c17d; /* Background color for left cells */
  color: #333; /* Text color for left cells */
}
.infobox-section table td:last-child {
  text-align: right;
}

.single-map > pre {
padding: 0 !important;
margin: 0 !important;
border: 0px;
object-fit: contain;
max-width: 100%;
display: block;
height: auto;
}

.infobox pre {
all: unset !important;
}

.map-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
  border-bottom: 2px solid rgb(0 0 0 / 60%);
}

.map-image > a > img {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin: 0;
    padding: 0;
}


.minimap {
  margin-block-start: 8px;
  border: 1px solid rgb(0 0 0 / 60%);
  border-radius: 8px;
  margin-top: 0;
  background-color: #d1c17d;
}
.MinimapLocation {
  font-size: 1rem;
  font-weight: bold;
  text-align-last: center;
  margin: 0;
  padding-top: 4px;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (min-width: 600px) {
  .infobox {
    max-width: 400px;
  }
}

.grid-keita {
  grid-template-columns:
    minmax(80px, 90px) minmax(40px, 50px) minmax(50px, 50px)
    minmax(40px, 50px) minmax(80px, 90px);
  display: grid;
  gap: 0.25rem;
  word-break: break-word;
}

.box {
  background-color: #d1c17d;
  height: auto;
  display: grid;
  place-items: center;
  padding: 8px;
  text-align: center;
  border-radius: 8px;
  border: 2px solid #000000;
}

.north,
.south {
  grid-column: 2 / 5;
}

.west {
  grid-column: 1 / 3;
}

.east {
  grid-column: 4/ 6;
}

.plus {
  display: grid;
  place-items: center;
}

.plus img {
  width: 40px;
height: 40px;
}

.center-grid-keita {
  display: flex;
  justify-content: center;
  padding-left: 15px;
  padding-right: 15px;
  font-weight: bold;
  font-size: 1rem;
}

/* --------------------------------------------------------------- */
/* --------------------------------------------------------------- */
/* --------------------------------------------------------------- */


/* --------------------------------------------------------------- */
/* --------------------------------------------------------------- */
COUNTERPARTS/EVENT-FORM HEADERS STYLING


li[id="toc-Valentine's_Day-themed_Pokémon"] > a > div.citizen-toc__text > span.citizen-toc__heading {
font-size: 0.95rem !important;
font-weight: bold !important;
}

li#toc-Valentine\'s_Day-themed_Pokémon > a > div.citizen-toc__text > span.citizen-toc__heading {
font-size: 0.95rem !important;
font-weight: bold !important;
}


li#toc-Easter-themed_Pokémon > a > div.citizen-toc__text > span.citizen-toc__heading {
font-size: 0.95rem;
font-weight: bold;
}

li#toc-Christmas-themed_Pokémon > a > div.citizen-toc__text > span.citizen-toc__heading {
font-size: 0.95rem;
font-weight: bold;
}

li#toc-May_4th_Star_Wars_Event > a > div.citizen-toc__text > span.citizen-toc__heading {
font-size: 0.95rem;
font-weight: bold;
}

li#toc-Summer-themed_Pokémon > a > div.citizen-toc__text > span.citizen-toc__heading {
font-size: 0.95rem;
font-weight: bold;
}

li#toc-Halloween-themed_Pokémon > a > div.citizen-toc__text > span.citizen-toc__heading {
font-size: 0.95rem;
font-weight: bold;
}

li#toc-Christmas-themed_Pokémon > a > div.citizen-toc__text > span.citizen-toc__heading {
font-size: 0.95rem;
font-weight: bold;
}

.citizen-toc__listItem.citizen-toc-level--1 > a > div.citizen-toc__text > span.citizen-toc__heading {
font-size: 0.95rem;
font-weight: bold;
color: red;
}


/* --------------------------------------------------------------- */
/* --------------------------------------------------------------- */
/* -------------------------KeitaNPCLineup + Correlated Template -------------------------------------- */

@media (max-width: 470px) {
    .KeitaNPCMove_td > td,
    .moves-table th {
        padding: 0 !important;
    }
}