MediaWiki:Common.css

Revision as of 09:13, 27 February 2025 by Oros (talk | contribs) (Created page with "General Infobox Styling: .infobox { width: 300px; Adjust width: background: #f7efe3; Soft parchment color: border: 2px solid #a67c52; A warm brown border: padding: 10px; margin: 0 10px 10px 0; border-radius: 10px; Soft rounded corners: box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2); Subtle shadow: } Table styling inside the infobox: .infobox th { background: #a67c52; Brownish header: color: white;...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.
/* General Infobox Styling */
.infobox {
    width: 300px; /* Adjust width */
    background: #f7efe3; /* Soft parchment color */
    border: 2px solid #a67c52; /* A warm brown border */
    padding: 10px;
    margin: 0 10px 10px 0;
    border-radius: 10px; /* Soft rounded corners */
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow */
}

/* Table styling inside the infobox */
.infobox th {
    background: #a67c52; /* Brownish header */
    color: white; /* White text */
    text-align: left;
    padding: 8px;
    font-weight: bold;
    border-bottom: 2px solid #8c6239;
}

/* Table cells (data) */
.infobox td {
    padding: 8px;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
}

/* Image Styling */
.infobox img {
    width: 100%; /* Ensure image fits the box */
    border-radius: 5px;
    border: 1px solid #8c6239;
    margin-top: 5px;
}