MediaWiki:Common.css

From Yaoi House Wiki
Revision as of 15:13, 11 January 2026 by Admin (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.
/* Wikipedia-style Person Infobox */
.infobox-person {
    float: right;
    margin: 0 0 1em 1em;
    width: 22em;
    border: 1px solid #a2a9b1;
    background-color: #f8f9fa;
    font-size: 88%;
    line-height: 1.5em;
    border-spacing: 3px;
}

.infobox-person-title {
    text-align: center;
    font-size: 125%;
    font-weight: bold;
    background-color: #d3e3f4;
    padding: 0.5em;
}

.infobox-person-image {
    text-align: center;
    padding: 0.5em 0;
    background-color: #f8f9fa;
}

.infobox-person-caption {
    text-align: center;
    font-size: 90%;
    padding: 0 0.5em 0.5em 0.5em;
}

.infobox-person-table {
    width: 100%;
    border-collapse: collapse;
}

.infobox-person-table tr {
    vertical-align: top;
}

.infobox-person-label {
    padding: 0.2em 0.5em;
    font-weight: bold;
    text-align: left;
    width: 30%;
    background-color: #f8f9fa;
}

.infobox-person-data {
    padding: 0.2em 0.5em;
    text-align: left;
    background-color: #f8f9fa;
}

.infobox-person-header {
    text-align: center;
    font-weight: bold;
    background-color: #e0e0e0;
    padding: 0.3em;
    font-size: 100%;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .infobox-person {
        float: none;
        margin: 0 auto 1em auto;
    }
}