User:FakerofDeadlock/common.css

From Deadlock Wiki
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)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* Global background and text color */
body, #content, #bodyContent, .mw-body, .mw-body-content, .mw-page-container {
    background-color: #f3e2c7 !important;  /* Lighter tan background */
    color: #3a2e2b !important;  /* Dark brown text */
}

/* Header styling */
#p-logo, .page-header, .mw-header, .vector-header, #mw-head, .vector-menu-tabs, .vector-menu-tabs-container, .mw-portlet, .vector-tabs, .vector-tabs-container, #p-personal, .vector-user-links, #right-navigation, #left-navigation {
    background-color: #d1bfa3 !important;  /* Darker tan background */
    color: #3a2e2b !important;
    border-bottom: none !important; /* Removes any bottom border that could create a white line */
}

/* Header links */
.vector-menu-tabs a, .vector-menu-tabs a:visited, .vector-user-links a, .vector-user-links a:visited, #right-navigation a, #right-navigation a:visited, #left-navigation a, #left-navigation a:visited {
    background-color: #d1bfa3 !important;  /* Darker tan background for top buttons */
    color: #3a2e2b !important;  /* Dark brown text */
    border-color: #8b4513 !important;  /* Matching border color */
}

.vector-menu-tabs a:hover, .vector-user-links a:hover, #right-navigation a:hover, #left-navigation a:hover {
    background-color: #c2a679 !important;  /* Slightly darker on hover */
}

/* Search bar styling */
#p-search, #simpleSearch, #p-search #searchButton, .vector-search-box-input, #searchButton, .vector-search-icon {
    background-color: #d1bfa3 !important; /* Darker tan background for search bar */
    color: #3a2e2b !important;
}

/* Ensure all headings use the correct color */
h1, h2, h3, h4, h5, h6 {
    color: #3a2e2b !important;
}

/* Sidebar specific styling */
#mw-panel, .vector-menu-content, #mw-head-base, .vector-menu-content-list, .vector-menu {
    background-color: #d1bfa3 !important;  /* Darker tan/brown sidebar */
    color: #3a2e2b !important;  /* Dark brown text */
}

/* Styling for buttons (tabs) */
#ca-nstab-main a, #ca-talk a, #ca-view a, #ca-edit a, #ca-viewsource a, #ca-history a, #ca-watch a, #ca-unwatch a, .vector-menu-content-list a {
    background-color: #d1bfa3 !important;  /* Darker tan/brown background */
    color: #8b4513 !important;  /* Chocolate brown text */
    border-color: #8b4513 !important;  /* Matching border color */
}

#ca-nstab-main a:hover, #ca-talk a:hover, #ca-view a:hover, #ca-edit a:hover, #ca-viewsource a:hover, #ca-history a:hover, #ca-watch a:hover, #ca-unwatch a:hover, .vector-menu-content-list a:hover {
    background-color: #c2a679 !important;  /* Slightly darker on hover */
}

/* Styling for links */
a {
    color: #8b4513 !important;  /* SaddleBrown links */
}

a:visited {
    color: #a0522d !important;  /* Sienna visited links */
}

/* Footer and other containers */
#footer, .footer, .mw-footer, .footer-places {
    background-color: #f3e2c7 !important;
    color: #3a2e2b !important;
}

/* Input and form fields */
input, textarea, select {
    background-color: #f3e2c7 !important;
    color: #3a2e2b !important;
}

/* Ensure tables and infoboxes are styled */
table, th, td {
    background-color: #f3e2c7 !important;
    color: #3a2e2b !important;
}

/* Special elements like navigation boxes */
.navbox, .toc, .infobox, .wikitable, .catlinks, .category-buttons {
    background-color: #d1bfa3 !important;  /* Darker tan background for special elements */
    color: #3a2e2b !important;
}

/* Specific fix for any remaining areas */
.vector-search-box-input, .vector-search-box, .vector-menu-dropdown, #p-tb, .vector-menu, .vector-menu-portal {
    background-color: #d1bfa3 !important;  /* Darker tan background for remaining areas */
    color: #3a2e2b !important;
}

/* Fix for "More" button and other elements */
#p-cactions .vector-menu-dropdown-noicon, #p-cactions .vector-menu-dropdown, .vector-menu-dropdown-noicon, .vector-menu-content, #p-cactions .vector-menu, .vector-search-icon, .vector-search-input {
    background-color: #d1bfa3 !important;  /* Darker tan background */
    color: #8b4513 !important;  /* Chocolate brown text */
}

/* Fix for sliver on right side of sidebar */
#mw-panel, .vector-menu-content {
    background-color: #d1bfa3 !important;  /* Darker tan background */
}