Difference between revisions of "MediaWiki:Common.css"

From Filtered, Archived, Gaslit Wiki
Jump to navigation Jump to search
Line 1: Line 1:
/* Styles for tables with the class 'wikitable' */
+
/* CSS placed here will be applied to all skins */
table.wikitable {
+
 
     background-color: #252525; /* Match body background color */
+
/* Set body text color */
     color: #e6e6e6; /* Match body text color */
+
body {  
    border: 1px solid #444241; /* Border color */
+
     background: #252525;  
     border-collapse: collapse; /* Collapse borders */
+
     color: #e6e6e6 !important; /* Force text color */
    width: 100%; /* Full width of the container */
+
}
 +
 
 +
/* Background color of the content and title of pages */
 +
#content {
 +
     background-color: #252525;
 +
    color: #e6e6e6 !important; /* Force text color */
 +
}
 +
 
 +
/* Sets background color of the logo area  */
 +
#p-logo {
 +
    background-color: #252525;
 
}
 
}
  
/* Styles for table headers */
+
/* Navigation menu */
table.wikitable th {
+
#p-navigation {  
     background-color: #343434; /* Match content background color */
+
     background-color: #252525;  
    color: #e6e6e6; /* Match text color */
 
    border: 2px solid #e6e6e6; /* Border color for headers */
 
    padding: 8px; /* Padding inside header cells */
 
    text-align: left; /* Align text to the left */
 
 
}
 
}
  
/* Styles for table data cells */
+
/* Table of contents */
table.wikitable td {
+
.mw-parser-output .toc {
     background-color: #252525; /* Match body background color */
+
     background-color: #343434;  
    color: #e6e6e6; /* Match text color */
+
     border: 1px solid #444241;  
     border: 2px solid #e6e6e6; /* Border color for data cells */
 
    padding: 8px; /* Padding inside data cells */
 
 
}
 
}
  
/* Styles for even table rows */
+
/* Headings */
table.wikitable tr:nth-child(even) td {
+
h1, h2, h3 {
     background-color: #343434; /* Match content background color */
+
     color: #e6e6e6 !important; /* Force heading colors */
 
}
 
}
  
/* Styles for links within the table */
+
/* Links */
table.wikitable a {
+
a {
     color: #90b7f9; /* Match link color */
+
     color: #90b7f9;  
 +
}
 +
a:hover {
 +
    color: #c70039;
 
}
 
}
  
table.wikitable a:visited {
+
/* Top bar */
     color: #7a94bf; /* Adjusted for contrast */
+
#mw-head {
 +
    background-color: #252525;
 +
}
 +
#mw-head a {
 +
     color: #e6e6e6 !important; /* Force link color in top bar */
 
}
 
}
  
table.wikitable a:hover {
+
/* View, edit, history bar */
     color: #c70039; /* Match hover link color */
+
#ca-view,
     text-decoration: underline; /* Underline links on hover */
+
#ca-edit,
 +
#ca-history {
 +
    background-color: #7f7f7f;
 +
     color: #e6e6e6 !important; /* Force text color */
 +
}
 +
 
 +
/* Notable members table */
 +
.notable-members {
 +
    background-color: #343434 !important;
 +
     color: #e6e6e6 !important;
 +
}
 +
.notable-members th, .notable-members td {
 +
    border: 2px solid #e6e6e6;
 +
    color: #e6e6e6 !important; /* Force cell text color */
 
}
 
}

Revision as of 19:54, 4 May 2025

/* CSS placed here will be applied to all skins */

/* Set body text color */
body { 
    background: #252525; 
    color: #e6e6e6 !important; /* Force text color */
}

/* Background color of the content and title of pages */
#content { 
    background-color: #252525; 
    color: #e6e6e6 !important; /* Force text color */
}

/* Sets background color of the logo area  */
#p-logo { 
    background-color: #252525; 
}

/* Navigation menu */
#p-navigation { 
    background-color: #252525; 
}

/* Table of contents */
.mw-parser-output .toc {
    background-color: #343434; 
    border: 1px solid #444241; 
}

/* Headings */
h1, h2, h3 {
    color: #e6e6e6 !important; /* Force heading colors */
}

/* Links */
a {
    color: #90b7f9; 
}
a:hover {
    color: #c70039; 
}

/* Top bar */
#mw-head {
    background-color: #252525; 
}
#mw-head a {
    color: #e6e6e6 !important; /* Force link color in top bar */
}

/* View, edit, history bar */
#ca-view, 
#ca-edit, 
#ca-history {
    background-color: #7f7f7f; 
    color: #e6e6e6 !important; /* Force text color */
}

/* Notable members table */
.notable-members {
    background-color: #343434 !important; 
    color: #e6e6e6 !important; 
}
.notable-members th, .notable-members td {
    border: 2px solid #e6e6e6; 
    color: #e6e6e6 !important; /* Force cell text color */
}