MediaWiki:Common.css

From Machibarusu
Revision as of 17:46, 4 November 2022 by MCBRS (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)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* INFOBOX */

.infobox {
    background: #eee;
    border: 1px solid #aaa;
    float: right;
    margin: 0 0 1em 1em;
    padding: 1em;
    width: 400px;
}

.infobox-title {
    font-size: 1.5em;
    text-align: center;
}

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

.infobox th {
    text-align: left;
    vertical-align: top;
    width: 120px;
}

.infobox td {
    vertical-align: top;
}

/* CUSTOM HEADER */

.customheader {
    background: #FFD400;
    border: 1px solid transparent;
    border-radius: .3em;
    font-size: 130%;
    font-weight: bold;
    margin: 5px 0 10px;
    overflow: auto;
    padding: .3em .4em .2em;
    text-align: center;
}

/* CHARACTER FRAME */

.charframe {
    background: #FFF9E2;
    border: 2px solid #FFD400;
    float: center;
    display: flex;
    justify-content: center;
    margin: 0 0 0 0 auto;
    padding: 0;
    width: 135px;
}

.charframe-image {
    text-align: left;
}

.charframe-title {
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}

.charframe-subtitle {
    font-size: 12px;
    font-weight: bold;
    text-align: center;
}