MediaWiki:Vector.css: Difference between revisions

From QME Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
/* All CSS here will be loaded for users of the Vector skin */
/* All CSS here will be loaded for users of the Vector skin */


/* Base styles: Dark background for the overall page, head base, and page base */
/* -------------------------------------------------------- */
/* 1. Global / Base Styles */
/* -------------------------------------------------------- */
 
/* Dark background for the overall page, top header strip, and page background */
body,
body,
#mw-head-base,
#mw-head-base,
Line 9: Line 13:
}
}


/* Main content area styling */
/* General link styles (fallback for links not covered by more specific rules) */
a {
    color: #7aa06e; /* Dull aqua green for unvisited links */
}
a:visited {
    color: #cccccc; /* Light grey for visited links */
}
a:hover {
    color: #a3be8c; /* A light green for hover */
}
 
/* -------------------------------------------------------- */
/* 2. Main Content Area (#content) */
/* -------------------------------------------------------- */
 
#content {
#content {
     background-color: #2a2a2a; /* A slightly lighter dark gray for contrast with body */
     background-color: #2a2a2a; /* A slightly lighter dark gray for contrast with body */
Line 24: Line 42:
#content h6 {
#content h6 {
     color: #f0f0f0; /* Slightly lighter headings */
     color: #f0f0f0; /* Slightly lighter headings */
}
/* Style for the Table of Contents heading */
.mw-toc-heading {
    color: #f0f0f0; /* Set a light color for the heading text */
    background-color: #3a3a3a; /* Set a dark background color for the heading */
    /* You might also want to adjust padding or borders if they look off */
    /* padding: 0.5em 1em; */
    /* border: 1px solid #555; */
}
/* Ensure links are visible and styled as requested on dark background */
/* General link styles (might be overridden by more specific rules) */
a {
    color: #7aa06e; /* Dull aqua green for unvisited links */
}
a:visited {
    color: #cccccc; /* Light grey for visited links */
}
a:hover {
    color: #a3be8c; /* A light green for hover */
}
}


/* *** NEW: More specific link styles for links inside the main content area *** */
/* Specific link styles for links inside the main content area */
#content a {
#content a {
     color: #7aa06e; /* Dull aqua green for unvisited links within content */
     color: #7aa06e; /* Dull aqua green for unvisited links within content */
Line 55: Line 54:
     color: #a3be8c; /* Light green on hover for links within content */
     color: #a3be8c; /* Light green on hover for links within content */
}
}
/* Style for general text in the footer */
 
/* -------------------------------------------------------- */
/* 3. Table of Contents (TOC) */
/* -------------------------------------------------------- */
 
/* Style for the Table of Contents heading */
.mw-toc-heading {
    color: #f0f0f0;        /* Set a light color for the heading text */
    background-color: #3a3a3a; /* Set a dark background color for the heading */
}
 
/* -------------------------------------------------------- */
/* 4. Footer */
/* -------------------------------------------------------- */
 
/* Style for the footer area */
#footer {
#footer {
     background-color: #1a1a1a; /* Match your body background for consistency */
     background-color: #1a1a1a; /* Match your body background for consistency */
Line 61: Line 75:
}
}


/* You may also need to target specific elements within the footer,
/* Specific link styles within the footer */
  like links or list items, if they don't change */
#footer a {
#footer a {
     color: #7aa06e; /* Dull aqua green for unvisited links in footer */
     color: #7aa06e; /* Dull aqua green for unvisited links in footer */
Line 73: Line 86:
}
}


/* If the footer has specific list items (e.g., li), you might need to target them too */
/* Specific list item text color within the footer */
#footer li {
#footer li {
     color: #e0e0e0;
     color: #e0e0e0;
}
}
/* If the above still doesn't work for certain links, use developer tools
  to find their exact selector and add another, even more specific rule. */

Revision as of 21:00, 29 June 2025

/* All CSS here will be loaded for users of the Vector skin */

/* -------------------------------------------------------- */
/* 1. Global / Base Styles */
/* -------------------------------------------------------- */

/* Dark background for the overall page, top header strip, and page background */
body,
#mw-head-base,
#mw-page-base {
    background-color: #1a1a1a; /* Very dark gray, almost black */
    color: #e0e0e0;            /* Light gray for default text */
}

/* General link styles (fallback for links not covered by more specific rules) */
a {
    color: #7aa06e; /* Dull aqua green for unvisited links */
}
a:visited {
    color: #cccccc; /* Light grey for visited links */
}
a:hover {
    color: #a3be8c; /* A light green for hover */
}

/* -------------------------------------------------------- */
/* 2. Main Content Area (#content) */
/* -------------------------------------------------------- */

#content {
    background-color: #2a2a2a; /* A slightly lighter dark gray for contrast with body */
    color: #e0e0e0;            /* Light gray for text within the content area */
    border-color: #444;        /* Darker border if there's one around the content */
}

/* Headings within content */
#content h1,
#content h2,
#content h3,
#content h4,
#content h5,
#content h6 {
    color: #f0f0f0; /* Slightly lighter headings */
}

/* Specific link styles for links inside the main content area */
#content a {
    color: #7aa06e; /* Dull aqua green for unvisited links within content */
}
#content a:visited {
    color: #cccccc; /* Light grey for visited links within content */
}
#content a:hover {
    color: #a3be8c; /* Light green on hover for links within content */
}

/* -------------------------------------------------------- */
/* 3. Table of Contents (TOC) */
/* -------------------------------------------------------- */

/* Style for the Table of Contents heading */
.mw-toc-heading {
    color: #f0f0f0;         /* Set a light color for the heading text */
    background-color: #3a3a3a; /* Set a dark background color for the heading */
}

/* -------------------------------------------------------- */
/* 4. Footer */
/* -------------------------------------------------------- */

/* Style for the footer area */
#footer {
    background-color: #1a1a1a; /* Match your body background for consistency */
    color: #e0e0e0;            /* Light gray for general text in the footer */
}

/* Specific link styles within the footer */
#footer a {
    color: #7aa06e; /* Dull aqua green for unvisited links in footer */
}
#footer a:visited {
    color: #cccccc; /* Light grey for visited links in footer */
}
#footer a:hover {
    color: #a3be8c; /* Light green on hover in footer */
}

/* Specific list item text color within the footer */
#footer li {
    color: #e0e0e0;
}
By using this site, you agree to the Terms of Use. © 1996–2025 The Quincy Examiner / MTB. All rights reserved.