Jump to content

From Noumenapedia
Revision as of 18:20, 16 September 2026 by Deleatur yhe (talk | contribs)

MediaWiki:Common.css

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 biography infobox */
.infobox {
    border: 1px solid #a2a9b1;
    border-spacing: 3px;
    background-color: #f8f9fa;
    color: #202122;
    margin: 0.5em 0 0.5em 1em;
    padding: 0.2em;
    width: 22em;
    float: right;
    clear: right;
    font-size: 88%;
    line-height: 1.5em;
}

.infobox caption,
.infobox-above {
    font-size: 125%;
    font-weight: bold;
    text-align: center;
}

.infobox th {
    text-align: left;
    vertical-align: top;
    white-space: normal;
}

.infobox td {
    vertical-align: top;
}

.infobox-above,
.infobox-header {
    text-align: center;
    font-weight: bold;
}

.infobox-above {
    background-color: #b0c4de;
    padding: 0.25em;
}

.infobox-native_name {
    text-align: center;
    font-size: 105%;
}

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

.infobox-image img {
    max-width: 100%;
    height: auto;
}

.infobox-caption {
    text-align: center;
    font-size: 90%;
    line-height: 1.25em;
    padding: 0.2em 0.3em;
}

.infobox-header {
    background-color: #b0c4de;
    padding: 0.2em;
}

.infobox th[scope="row"] {
    background-color: transparent;
    font-weight: bold;
}

.infobox td {
    padding: 0.15em 0.3em;
}

/* Prevent long titles or links from forcing the box too wide */
.infobox a {
    overflow-wrap: anywhere;
}

/* Small screens */
@media screen and (max-width: 720px) {
    .infobox {
        width: 100%;
        max-width: 100%;
        margin: 0.5em 0;
        float: none;
        clear: both;
        box-sizing: border-box;
    }
}