MediaWiki:Common.css

MediaWiki interface page
Revision as of 05:18, 20 May 2024 by Wikiuser (talk | contribs)

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 {
    background-color: #333; /* Dark background color */
    color: #ddd; /* Light text color */
    border: 1px solid #555; /* Border color */
    padding: 10px;
    margin: 10px 0;
    border-radius: 8px;
}

.infobox .header {
    background-color: #444; /* Darker background for header */
    color: #fff; /* White text color for header */
    font-size: 1.2em;
    padding: 5px;
    border-radius: 8px 8px 0 0;
}

.infobox .field {
    display: flex;
    margin: 5px 0;
}

.infobox .label {
    flex: 1;
    font-weight: bold;
}

.infobox .value {
    flex: 2;
}

.infobox .image img {
    border: 1px solid #555; /* Border for image */
    border-radius: 5px;
}