Changes

From The Bakugan Wiki

MediaWiki:Common.css

5,277 bytes added, 02:53, 9 November 2018
Created page with "CSS placed here will be applied to all skins: CSS placed here will be applied to all skins: * Infobox *: .infobox { background: #ffffff; font-size: .85em..."
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */

/** Infobox **/
.infobox {
background: #ffffff;
font-size: .85em;
width: 300px;
margin: .5em 0 1em 1em;
border-collapse: collapse;
box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.1);
float: right;
}

.infobox .infobox-header {
color: #ffffff;
font-size: 1.15em;
line-height: 1.4em;
background: #246c97;
border-bottom: 0.5em solid #ffffff;
padding: .5em 0;
}

.infobox .infobox-subheader {
background: #6ba5c8;
color: #ffffff;
line-height: 2em;
border-top: 0.5em solid #ffffff;
border-bottom: 0.5em solid #ffffff;
}

.infobox .infobox-subheader a {
color: #ffffff;
}

.infobox .infobox-image {
text-align: center;
}

.infobox .infobox-image.bordered-image {
border: 1px solid #e4eaee;
border-bottom: none;
padding: .4em;
}

.infobox .infobox-image a.image + a.image {
margin-left: .1em;
}

.infobox .infobox-image img {
max-width: 300px;
height: auto;
}

.infobox th:not(.infobox-header):not(.infobox-subheader) {
text-align: right;
vertical-align: top;
border-left: 1px solid #e4eaee;
border-right: 0.175em solid #6ba5c8;
padding: 0.2em 0.5em;
}


/* Tabber start */
.tabber .tabbertab {
border: none;
padding: 0;
}

ul.tabbernav {
margin: 0;
padding: 3px 0;
border: 0;
/*border-bottom: 1px solid #CCC;*/
font: bold 14px Ariel, sans-serif !important;
}

ul.tabbernav li a {
border-radius: 4px !important;
padding: 3px .5em;
margin-left: 3px;
border: 1px solid #CCC;
background: #F2F7FF;
text-decoration: none;
line-height: 1;
}

ul.tabbernav li.tabberactive a {
background-color: #FFF;
border: 1px solid #7ec0ee !important;
}

ul.tabbernav li.tabberactive a:hover {
color: #000;
background: #FFF;
border: 1px solid #7ec0ee !important;
}
/* Tabber end */

/* used for vertical alignment of tabber contents */
#mw-content-text > .wikitable:first-child tr:nth-child(2) > td:nth-child(2) > div > .tabber {
min-height: 436px;
max-height: 1000px;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
}

#mw-content-text > .wikitable:first-child tr:nth-child(2) > td:nth-child(2) > div > .tabber > .tabbernav {
margin-bottom: auto;
}

#mw-content-text > .wikitable:first-child tr:nth-child(2) > td:nth-child(2) > div > .tabber > .tabbertab {
margin-bottom: auto;
}


/* Tooltip */
.tooltip {
position: relative;
display: inline;
border-bottom: 1px dotted black;
}

.tooltiptext {
visibility: hidden;
min-width: 250px;
padding: 12px 14px;
text-align: center;
position: absolute;
left: 50%;
bottom: calc(20px + 100%);
z-index: 99999;
background: #fff;
box-shadow: 0 2px 0 0 rgba(0,0,0,0.15);
border: 1px solid #a2a9b1;
border-radius: 2px;
font-weight: normal;
white-space: normal;
}

.tooltiptext:after,
.tooltiptext:before {
content: '';
position: absolute;
left: 50%;
border-style: solid;
}

.tooltiptext:after {
top: 100%;
bottom: auto;
width: 20px;
height: 20px;
background: #fff;
margin-top: -10px;
margin-left: -10px;
box-shadow: 1px 1px 0px #a2a9b1;
transform: rotate(45deg);
border-width: 0;
}

.tooltiptext:before {
top: 100%;
bottom: auto;
border-width: 18px;
margin-left: -18px;
border-color: rgba(0,0,0,0.15) transparent transparent transparent;
pointer-events: none;
}

.tooltip .tooltip .tooltiptext {
bottom: auto;
top: calc(20px + 100%);
}

.tooltip .tooltip .tooltiptext:after {
top: auto;
bottom: 100%;
border-width: 15px;
margin-left: -15px;
border-color: transparent transparent white transparent;
width: 0;
height: 0;
box-shadow: none;
background: none;
transform: none;
}

.tooltip .tooltip .tooltiptext:before {
top: auto;
bottom: 100%;
border-width: 16px;
margin-left: -16px;
border-color: transparent transparent #888 transparent;
}

.tooltiptext hr {
margin: 10px 0 12px;
position: relative;
background: none;
}

.tooltiptext hr:after {
content: '';
display: block;
width: 100%;
height: 1px !important;
position: absolute;
left: -14px;
background: #a2a9b1;
padding: 0 14px;
}

.tooltip:hover > .tooltiptext,
.tooltip.hover > .tooltiptext {
visibility: visible;
}

.tooltiptext {
opacity: 0;
transition: opacity 200ms ease, visibility 0s ease 200ms, transform 200ms ease;
transform: translate(-50%, 8px);
}

.tooltip .tooltip .tooltiptext {
transform: translate(-50%, -8px);
}

.tooltip:hover > .tooltiptext,
.tooltip.hover > .tooltiptext {
opacity: 1;
transition-delay: 0s;
transform: translate(-50%, 0);
}

.tooltiptext a { color: #0645ad; border-bottom: 0; }
.tooltiptext a:visited { color: #0b0080; }
.tooltiptext a:active { color: #faa700; }
.tooltiptext a:hover, a:focus { text-decoration: underline; }
.tooltiptext { color: #252525; }
.tooltiptext a.new { color: #ba0000; }

/* Remove .mw-body-content stacking context so the tooltip can
overlap with elements outside content area and be shown properly */
.mw-body-content { z-index: auto; }

.gridrec td {
background: white; padding: 4px;
}
.gridrectoptext td {
vertical-align: text-top;
}