Difference between revisions of "MediaWiki:Common.css"

From Pokémon Revolution Online Wiki
Jump to navigation Jump to search
Line 70: Line 70:
  
 
.tab {
 
.tab {
   overflow: hidden;
+
   text-align: center;
 
}
 
}
  
.tab button {
+
.tab td {
   border-top-left-radius: 25px;
+
   background-color: #f1f1f1;
  border-top-right-radius: 25px;
 
 
   float: left;
 
   float: left;
   border: none;
+
   border: 1px solid {{#var:border}};
 
   outline: none;
 
   outline: none;
 
   cursor: pointer;
 
   cursor: pointer;
Line 83: Line 82:
 
   transition: 0.3s;
 
   transition: 0.3s;
 
   font-size: 17px;
 
   font-size: 17px;
 +
  border-radius: 25px 25px 1px 1px;
 
}
 
}
  
.tab button:hover {
+
.tab td:hover {
   background-color: #FFF;
+
   background-color: #ddd;
 +
  text-decoration: underline;
 
}
 
}
  
.tab button.active {
+
.tab td.active {
   text-decoration: underline;
+
   background-color: {{#var:background}};
 +
  font-weight: bold;
 +
  color: {{#var:border}};
 
}
 
}
  
 
.tabcontent {
 
.tabcontent {
 
   display: none;
 
   display: none;
 +
  background-color: none;
 +
  border: none;
 +
  border-top: none;
 
}
 
}
  

Revision as of 23:53, 30 June 2020

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

.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 {
  background-color: #f1f1f1;
  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 {
  background-color: #ddd;
  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;
}