MediaWiki:Mobile.css: Difference between revisions

fixing infoboxes on mobile
mNo edit summary
Tags: Mobile edit Mobile web edit
(fixing infoboxes on mobile)
Line 55: Line 55:
}
}


/* Portable infoboxes */
/* Infoboxes */
.portable-infobox {
.content .infobox {
    background-color: #000B10;
  background-color: #000;
    border-color: #3A4246;
}
.portable-infobox .pi-data > p {
    text-align: right;
    color: #E6E6E6;
    font-family: "Kurokane","Arial";
    width: 40%;
}
.portable-infobox .pi-data-label {
    display: none !important;
}
.portable-infobox .pi-horizontal-group .pi-data-label {
    display: revert !important;
    text-align: center !important;
    color: #E6E6E6;
}
.portable-infobox > p {
    background-color: #4A31FF;
    color: white;
    text-align: center;
    font-family: "Kurokane", "Arial";
    border: 0;
    margin: 0;
    font-size: 1.75em;
    line-height: 1.5;
    padding: var(--pi-item-spacing);
}
.portable-infobox .pi-title {
  display:none !important;
}
.oo-ui-tabSelectWidget-mobile .oo-ui-tabOptionWidget:last-child {
margin-right: 0 !important;
}
.oo-ui-tabSelectWidget-mobile::after {
display: none !important;
}
}