MediaWiki:Common.css: Difference between revisions

From UO Icebound
Jump to navigation Jump to search
No edit summary
Tag: Manual revert
No edit summary
Line 1: Line 1:
/* General reset to apply the background and text color across the site */
/* General Page Background and Text */
body, #content, .mw-body-content, #mw-head, #mw-panel, #footer {
body {
     background-color: #111111 !important;
     background-color: #111111; /* Sets the background color for the entire page */
     color: #AFACA8 !important;
     color: #AFACA8; /* Sets the default text color */
}
}


/* Headers (H1-H6) */
/* Links Styling */
h1, h2, h3, h4, h5, h6 {
a {
     background-color: #111111;
     color: #89c5b7; /* Sets link color */
    color: #AFACA8;
    padding: 5px;
}
}


/* Links */
a {
    color: #5C6969; /* Link color */
    text-decoration: underline; /* Optional for underlined links */
}
a:visited {
a:visited {
     color: #89C5B7; /* Visited links color */
     color: #6b7e7e; /* Sets visited link color */
}
}
a:hover {
 
     color: #AFACA8; /* Hover color */
/* Headers */
#content h1, #content h2, #content h3, #content h4, #content h5, #content h6 {
     color: #AFACA8; /* Header text color */
}
}


/* Sidebars */
/* Sidebar */
#mw-panel, #mw-sidebar, .vector-sidebar, .vector-main-menu, .vector-pinned-container {
#mw-panel {
     background-color: #111111;
     background-color: #111111; /* Sidebar background */
     color: #AFACA8;
     color: #AFACA8; /* Sidebar text */
}
}
#mw-panel a, .vector-main-menu a, .vector-pinned-container a {
 
     color: #5C6969; /* Sidebar link color */
/* Sidebar Links */
#mw-panel a {
     color: #89c5b7;
}
}
#mw-panel a:hover, .vector-main-menu a:hover, .vector-pinned-container a:hover {
 
     color: #AFACA8; /* Sidebar link hover color */
#mw-panel a:visited {
     color: #6b7e7e;
}
}


/* Search Bar */
/* Action Containers (Top Bar: Messages, Edit, Read, View History) */
#searchInput {
#p-views, #p-cactions, #p-personal {
     background-color: #222222;
     background-color: #111111; /* Background of the action bar */
     color: #AFACA8;
     color: #AFACA8; /* Text color of the action bar */
}
}
#searchButton {
 
    background-color: #5C6969;
/* Action Containers Links */
     color: #AFACA8;
#p-views a, #p-cactions a, #p-personal a {
     color: #89c5b7;
}
}
#searchButton:hover {
 
     background-color: #89C5B7;
#p-views a:visited, #p-cactions a:visited, #p-personal a:visited {
     color: #6b7e7e;
}
}


/* Pinned Menus and Containers */
/* Pinned Menus */
.vector-pinned-container {
.vector-pinnable-header {
     background-color: #111111;
     background-color: #111111; /* Pinned menu background */
     color: #AFACA8;
     color: #AFACA8; /* Pinned menu text color */
}
}
.vector-pinned-container a {
 
     color: #5C6969;
/* Header (Top of Page) */
#mw-head {
    background-color: #111111; /* Header background color */
     color: #AFACA8; /* Header text color */
}
}
.vector-pinned-container a:hover {
 
     color: #AFACA8;
/* Containers */
#content, .mw-body, .vector-content, .mw-content-ltr {
    background-color: #111111; /* Background color for the main content area */
     color: #AFACA8; /* Text color for the main content area */
}
}


/* Header Bar */
/* Search Box */
#mw-head, #mw-header, .vector-header {
#searchInput {
     background-color: #111111;
     background-color: #111111; /* Search box background */
     color: #AFACA8;
     color: #AFACA8; /* Search box text color */
    border: 1px solid #AFACA8; /* Border color for the search box */
}
}


/* Footer */
/* Footer */
#footer {
#footer {
     background-color: #111111;
     background-color: #111111; /* Footer background */
     color: #AFACA8;
     color: #AFACA8; /* Footer text color */
}
}


/* Tables */
/* Logo Styling (Optional, responsive) */
table.wikitable {
#p-logo a img {
     background-color: #111111;
     max-width: 100%;
    color: #AFACA8;
     height: auto;
    border-color: #5C6969;
     width: auto;
}
table.wikitable th, table.wikitable td {
     background-color: #222222;
     color: #AFACA8;
}
}


/* Action Buttons */
/* Tables (Optional if you want to style tables specifically) */
.mw-ui-button, .mw-ui-progressive, .mw-ui-destructive {
.wikitable {
     background-color: #5C6969;
     background-color: #111111; /* Table background */
     color: #AFACA8;
     color: #AFACA8; /* Table text */
     border-color: #5C6969;
     border: 1px solid #AFACA8; /* Table border */
}
.mw-ui-button:hover, .mw-ui-progressive:hover, .mw-ui-destructive:hover {
    background-color: #89C5B7;
    color: #111111;
}
}


/* Drop-down Menus */
/* Button Styling */
.mw-ui-dropdown, .mw-dropdown-content {
input[type="submit"], input[type="button"], button {
     background-color: #111111;
     background-color: #111111;
     color: #AFACA8;
     color: #AFACA8;
     border: 1px solid #5C6969;
     border: 1px solid #AFACA8;
}
.mw-ui-dropdown a, .mw-dropdown-content a {
    color: #5C6969;
}
.mw-ui-dropdown a:hover, .mw-dropdown-content a:hover {
    color: #AFACA8;
}
}


/* Notifications, Alerts, and Other Actions */
/* Message Boxes (Optional) */
.vector-menu-content-list, .mw-notification-area {
.mw-message-box {
     background-color: #111111;
     background-color: #111111;
     color: #AFACA8;
     color: #AFACA8;
}
.vector-menu-content-list a, .mw-notification-area a {
    color: #5C6969;
}
.vector-menu-content-list a:hover, .mw-notification-area a:hover {
    color: #AFACA8;
}
/* Top bar (tabs) - Messages, Discussion, Edit, View History, etc. */
#p-views, .vector-menu-tabs, .vector-view-actions, .vector-tab-content {
    background-color: #111111 !important;
    color: #AFACA8 !important;
}
/* Individual tabs */
#p-views ul li, .vector-menu-tabs li, .vector-view-actions li {
    background-color: #111111 !important;
}
#p-views ul li a, .vector-menu-tabs li a, .vector-view-actions li a {
    color: #5C6969 !important;
}
/* Hover state for the tabs */
#p-views ul li a:hover, .vector-menu-tabs li a:hover, .vector-view-actions li a:hover {
    color: #AFACA8 !important;
    background-color: #5C6969 !important;
}
/* Active tab */
#p-views ul li.selected a, .vector-menu-tabs li.selected a, .vector-view-actions li.selected a {
    color: #AFACA8 !important;
    background-color: #5C6969 !important;
}
}

Revision as of 21:49, 8 October 2024

/* General Page Background and Text */
body {
    background-color: #111111; /* Sets the background color for the entire page */
    color: #AFACA8; /* Sets the default text color */
}

/* Links Styling */
a {
    color: #89c5b7; /* Sets link color */
}

a:visited {
    color: #6b7e7e; /* Sets visited link color */
}

/* Headers */
#content h1, #content h2, #content h3, #content h4, #content h5, #content h6 {
    color: #AFACA8; /* Header text color */
}

/* Sidebar */
#mw-panel {
    background-color: #111111; /* Sidebar background */
    color: #AFACA8; /* Sidebar text */
}

/* Sidebar Links */
#mw-panel a {
    color: #89c5b7;
}

#mw-panel a:visited {
    color: #6b7e7e;
}

/* Action Containers (Top Bar: Messages, Edit, Read, View History) */
#p-views, #p-cactions, #p-personal {
    background-color: #111111; /* Background of the action bar */
    color: #AFACA8; /* Text color of the action bar */
}

/* Action Containers Links */
#p-views a, #p-cactions a, #p-personal a {
    color: #89c5b7;
}

#p-views a:visited, #p-cactions a:visited, #p-personal a:visited {
    color: #6b7e7e;
}

/* Pinned Menus */
.vector-pinnable-header {
    background-color: #111111; /* Pinned menu background */
    color: #AFACA8; /* Pinned menu text color */
}

/* Header (Top of Page) */
#mw-head {
    background-color: #111111; /* Header background color */
    color: #AFACA8; /* Header text color */
}

/* Containers */
#content, .mw-body, .vector-content, .mw-content-ltr {
    background-color: #111111; /* Background color for the main content area */
    color: #AFACA8; /* Text color for the main content area */
}

/* Search Box */
#searchInput {
    background-color: #111111; /* Search box background */
    color: #AFACA8; /* Search box text color */
    border: 1px solid #AFACA8; /* Border color for the search box */
}

/* Footer */
#footer {
    background-color: #111111; /* Footer background */
    color: #AFACA8; /* Footer text color */
}

/* Logo Styling (Optional, responsive) */
#p-logo a img {
    max-width: 100%;
    height: auto;
    width: auto;
}

/* Tables (Optional if you want to style tables specifically) */
.wikitable {
    background-color: #111111; /* Table background */
    color: #AFACA8; /* Table text */
    border: 1px solid #AFACA8; /* Table border */
}

/* Button Styling */
input[type="submit"], input[type="button"], button {
    background-color: #111111;
    color: #AFACA8;
    border: 1px solid #AFACA8;
}

/* Message Boxes (Optional) */
.mw-message-box {
    background-color: #111111;
    color: #AFACA8;
}