MediaWiki:Common.css

From Azmarin Wiki
Revision as of 09:35, 24 June 2025 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.
/* CSS placed here will be applied to all skins */

@import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');

.mw-body {
    border-color: transparent;
    box-shadow: 0 0.25em 0.6em -0.15em rgba(0, 0, 0, 0.15);
    margin-top: 0;
    background:#fbfbfb#
}

#mw-page-base {
    background-image: none;
}

body.page-Main_Page .firstHeading{
    display: none;
}

body.page-Main_Page .mw-parser-output{
    max-width: 75em;
    margin: 0 auto;
}

.mw-body-content h1,
.mw-body-content h2,
.mw-body-content h3,
.mw-body-content h4,
.mw-body-content h5{
    font-family: "PT Serif", serif;
}

body.page-Main_Page h1 {
    font-weight:700;
    font-size:2.5em;
    border: none;
}

.az-infobox {
    font-size: 0.85em;
    width: 300px;
    margin: 0.5em 0 1em 1em;
    border-collapse: collapse;
    box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.1);
    float: right;
    table-layout: auto;
    background: var(--body-light);
    border: 1px solid #000;
    word-break: break-word;
}

.az-infobox .infobox-header,
.az-infobox .infobox-subheader{
    color: #fff;
    font-size: 1.15em;
    line-height: 1.4em;
    background: #2e293c;
    padding: 0.5em 0;
    white-space: normal;
}

.az-infobox .infobox-subheader{
    background: #4a4566;
}

.az-infobox tr td:first-child{
    font-weight: bold;
    text-align: right;
    padding-right:8px;
    width:35%;
}

.item-info {
    display: flex;
    align-items: flex-start; /* Align image and text at the top */
    margin: 10px 0;
}

.item-info img {
    margin-right: 10px; /* Space between image and text */
}