MediaWiki:Common.css

From Lumenpedia
Revision as of 23:12, 26 June 2024 by Gaeto (talk | contribs) (Created page with "→‎General page background: body { background-color: #f0f8ff; →‎Light blue background: } →‎Header background: #content h1, #content h2 { background-color: #4682b4; →‎Steel blue for headers: color: white; padding: 10px; border-radius: 5px; } →‎Link colors: a { color: #1e90ff; →‎Dodger blue for links: } a:visited { color: #104e8b; →‎Darker blue for visited links: } →‎Box styling for the images: div[style*="display: inl...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.
/* General page background */
body {
    background-color: #f0f8ff; /* Light blue background */
}

/* Header background */
#content h1, #content h2 {
    background-color: #4682b4; /* Steel blue for headers */
    color: white;
    padding: 10px;
    border-radius: 5px;
}

/* Link colors */
a {
    color: #1e90ff; /* Dodger blue for links */
}

a:visited {
    color: #104e8b; /* Darker blue for visited links */
}

/* Box styling for the images */
div[style*="display: inline-block; margin: 10px;"] {
    background-color: #87cefa; /* Light sky blue for boxes */
    border: 2px solid #4682b4; /* Steel blue border */
    border-radius: 10px;
    padding: 10px;
}

/* Text styling within boxes */
div[style*="display: inline-block; margin: 10px;"] p {
    color: #000080; /* Navy for text */
    font-weight: bold;
}