MediaWiki:Vector.css

From Eegmaster
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.
/* All CSS here will be loaded for users of the Vector skin */
/* =========================
   EEGMASTER THEME
   ========================= */

/* Page background */
body {
    background-color: #F4D35E;
}

/* Main content area */
.mw-body {
    background-color: #fff8dc; /* soft paper-like contrast */
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Logo sizing */
.mw-wiki-logo {
    background-size: contain;
    height: 50px;
    width: 180px;
}

#p-logo::after {
    content: "EEG Master";
    color: #F4D35E;
    font-weight: 600;
    font-size: 18px;
    margin-left: 10px;
}

/* Header (top bar) */
#mw-head {
    background-color: #0B0B0B;
}

/* Tabs (Read, Edit, View history) */
.vector-menu-tabs li a {
    color: #F4D35E;
}

.vector-menu-tabs li.selected a {
    border-bottom: 3px solid #F4D35E;
}

/* Sidebar */
#mw-panel {
    background-color: #0B0B0B;
    border-right: 2px solid #E6C34A;
}

/* Sidebar links */
#mw-panel a {
    color: #F4D35E;
    font-weight: 500;
}

/* Sidebar hover */
#mw-panel a:hover {
    color: #ffffff;
}

/* Page title */
.firstHeading {
    color: #0B0B0B;
    font-weight: bold;
}

/* Links */
a {
    color: #b8860b; /* darker gold for readability */
}

a:hover {
    color: #8a6a00;
}

/* Buttons */
.mw-ui-button {
    background-color: #0B0B0B;
    color: #F4D35E;
    border-radius: 6px;
    border: none;
}

.mw-ui-button:hover {
    background-color: #222;
}

/* Search box */
#searchInput {
    background-color: #fff;
    border: 2px solid #E6C34A;
    border-radius: 6px;
}


/* Subtle EEG-style background texture (optional) */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/wiki/images/eeg-pattern.png'); /* optional */
    opacity: 0.05;
    pointer-events: none;
}


/* =========================
   REMOVE DEFAULT WIKI TABS
   ========================= */

/* Hide namespace + action tabs */
#ca-nstab-main { display: none !important; }  /* Page */
#ca-view { display: none !important; }        /* Read */
#ca-history { display: none !important; }     /* View history */
#ca-talk { display: none !important; }        /* Discussion */
#ca-viewsource { display: none !important; }  /* View source */

/* Hide user talk (top right) */
#pt-talk { display: none !important; }

/* Optional: remove entire tab bar (cleaner UI) */
.vector-menu-tabs {
    display: none !important;
}

/*hide sidebar for anonymous (not logged in users)*/
#site-tools {
	display: none;
}
#page-tools {
	display: none;
}

/* =========================
   FOOTER FIX + EXPANSION
   ========================= */

/* Main footer container */
#footer {

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}



/* Left side links */
#footer-places {
    order: 1;
}

/* Right side logo */
#footer::after {
    order: 2;
}


/* Hide powered by MediaWiki */
#footer-poweredbyico {
    display: none;
}

/* Custom EEGMaster footer logo */
#footer::after {
    content: "";
    display: block;
    width: 140px;
    height: 40px;
    background-image: url('/wiki/resources/assets/EEGmasterLogo.png');
    background-size: contain;
    background-repeat: no-repeat;
    margin-top: 10px;
}

/* =========================
   EEGMASTER CARD SYSTEM
   ========================= */

:root {
    --eeg-yellow: #F4D35E;
    --eeg-gold: #E6C34A;
    --eeg-black: #0B0B0B;
    --eeg-bg: #FFF8DC;
}

/* Container grid */
.eeg-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

/* Card */
.eeg-card {
    background: var(--eeg-bg);
    border: 2px solid var(--eeg-black);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Card header */
.eeg-card-header {
    background: var(--eeg-black);
    color: var(--eeg-yellow);
    padding: 10px 15px;
    font-weight: bold;
    font-size: 16px;
}

/* Card body */
.eeg-card-body {
    padding: 15px;
    color: #111;
}

/* Section title inside cards */
.eeg-section {
    font-weight: bold;
    margin-top: 10px;
}

/* Lists */
.eeg-card ul {
    margin: 5px 0 10px 20px;
}

/* Special highlight blocks */
.eeg-highlight {
    background: #fff3b0;
    padding: 8px;
    border-left: 4px solid var(--eeg-gold);
    margin-top: 10px;
}

/* Mobile responsiveness */
@media (max-width: 800px) {
    .eeg-grid {
        grid-template-columns: 1fr;
    }
}