Dragons: Rise of Berk Wiki
No edit summary
Tag: sourceedit
No edit summary
Tag: sourceedit
Line 18: Line 18:
 
padding: 3px;
 
padding: 3px;
 
}
 
}
  +
/*-------*/
 
 
/*Infobox*/
 
/*Infobox*/
  +
/*-------*/
  +
.portable-infobox {
  +
width: 270px !important;
  +
}
 
.pi-background {
 
.pi-background {
 
background: #f5f5f5 !important;
 
background: #f5f5f5 !important;

Revision as of 09:04, 5 August 2016

/*Background*/
.mediawiki {
    background-image: url('http://vignette3.wikia.nocookie.net/riseofberk/images/5/50/Wiki-background/revision/latest?cb=20140525062358');
    background-repeat: no-repeat!important;
    background-size:cover !important;
    background-position: center top!important;
    background-attachment: fixed!important;
    width:100%;
}

.i18ndoc {
    background-color: #FFF77D;
    border-bottom: 1px solid lightgrey;
    font-family: monospace;
    font-size: 8pt;
    height: 140px;
    overflow: auto;
    padding: 3px;
}
/*-------*/
/*Infobox*/
/*-------*/
.portable-infobox {
    width: 270px !important;
}
.pi-background {
    background: #f5f5f5 !important;
    border: 1px solid #ccc;
}
.portable-infobox .pi-data:not(:last-of-type) {
    border-bottom:1px solid #ccc !important;
}
.portable-infobox .pi-title {
    padding:10px !important;
    margin-bottom:2px !important;
}
.portable-infobox .pi-header {
    font-size: 14px !important;
    padding: 5px !important;
}
/*Only one Image*/
.portable-infobox .pi-image-thumbnail {
   width:100%;
   height:auto;
}
/*Infobox Tabber*/
.portable-infobox .pi-image-collection-tabs {
    text-align: center !important;
}
.portable-infobox .pi-image-collection-tabs li {
    padding: 5px 10px !important;
    margin-bottom: 3px !important;
}
.portable-infobox .pi-image-collection-tab-content {
    background:transparent;
    margin-bottom:5px;
}
/*Tabber in Infobox*/
.portable-infobox .tabberlive {
    margin: -5px -10px !important;
}
.portable-infobox .tabberlive ul {
    margin: 0 !important;
}
.portable-infobox .tabbernav {
    text-align: center;
    padding-bottom: 2px !important;
}
.portable-infobox .tabbertab .image-thumbnail img {
    width: 100%;
    height:auto;
}
.portable-infobox .pi-data-label {
    margin:auto;
    flex-basis: 100px;
}
.portable-infobox .pi-data-value {
    font-size: 12px;
    margin:auto;
}
.portable-infobox .pi-horizontal-group-item {
    text-align: center;
    border-left:1px solid #ccc !important;
}
.portable-infobox .pi-horizontal-group-item:nth-child(1) {
    border-left:none !important;
}
.portable-infobox .pi-horizontal-group-item:nth-child(2n) {
    background: none !important;
}



/*Template*/
table.Template {
    width: 250px;
    float: right;
    font-size: 85%;
    padding:5px;
}
table.Template td {
    vertical-align:central;
    padding:1px;
    border-top:1px solid #ccc;
}

/*Table Classes*/

table.Dragon_Progression {
    width:100%;
    text-align:center;
    font-size:90%;
    color:black;
    border-top: 1px solid;
    border-left: 1px solid;
}
table.Dragon_Progression th, table.Dragon_Progression td {
    border-bottom:1px solid;
    border-right:1px solid;
    padding:3px;
}
table.Dragon_Progression th  {
    background:#eeeeee;
}



table.Dragon_Statistics {
    width:100%;
    text-align:center;
    font-size:80%;
    color:black;
    border-top: 1px solid;
    border-left: 1px solid;
}
table.Dragon_Statistics th {
    background:#efefef;
}
table.Dragon_Statistics th, table.Dragon_Statistics td {
    border-bottom:1px solid;
    border-right:1px solid;
    padding:1px;
}

table.Dragon_Statistics td:nth-child(5),
table.Dragon_Progression td:nth-child(2) {
    background-color: #B8C7F1;
}
table.Dragon_Statistics td:nth-child(6),
table.Dragon_Progression td:nth-child(3) {
    background-color: #D7B379;
}
table.Dragon_Statistics td:nth-child(13),
table.Dragon_Progression td:nth-child(5) {
    background-color: #B6C1C1;
}

/*Quick Links*/
table.Quick_Links {
    text-align:center;
    width:80%;
    border:2px solid #f9cf20;
    border-radius:15px;
    background-color:rgba(255,255,255,0.5);
    padding:5px;
}
table.Quick_Links th {
    text-align:center;
    border:0px;
    border-radius: 10px;
    background-image: -webkit-linear-gradient(top, #fed589 25%, #fec356 75%);
    background-image: -moz-linear-gradient(top, #fed589 25%, #fec356 75%);
    color:black;
}
table.Quick_Links td {
    border:0px;
}
table.Quick_Links span {
    margin-top:2px;
    margin-bottom:2px;
}