MediaWiki:Common.css

From Frutiger Space Wikipedia!
Revision as of 03:40, 5 September 2025 by Hal.leo (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.
.mainpage-container {
    display: flex;
    flex-wrap: wrap;
    gap: 25px; 

.mainpage-left-col {
    flex: 3;
    min-width: 350px; 
}

.mainpage-right-col {
    flex: 2; /* Makes the right column take up less space */
    min-width: 300px;
}

.mainpage-module {
    background-color: var(--fa-glass-bg);
    border: 1px solid var(--fa-glass-border);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px; /* Space between modules in the same column */
    overflow: hidden; /* Important for keeping border-radius on the header */
}

.mainpage-module-header {
    background: linear-gradient(to bottom, var(--fa-sky-blue-light), var(--fa-sky-blue-medium));
    padding: 10px 15px;
    color: white;
    font-size: 1.2em;
    font-weight: bold;
    text-shadow: 0 1px 1px rgba(0,0,0,0.25);
    border-bottom: 1px solid var(--fa-sky-blue-dark);
}

.mainpage-module-content {
    padding: 15px;
    font-size: 0.95em;
    line-height: 1.6;
}

/* Specific styling for lists inside modules */
.mainpage-module-content ul {
    list-style-type: disc;
    margin-left: 20px;
}

/* HIDE THE DEFAULT TITLE ON THE MAIN PAGE */
body.page-Main_Page h1.firstHeading {
    display: none;
}