User:FakerofDeadlock/common.css: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
/* Global background and text color */
/* General Background Color for Sidebar and Tools */
body, #content, #bodyContent, .mw-body, .mw-body-content, .mw-page-container {
#mw-panel,
     background-color: #f3e2c7 !important; /* Lighter tan background */
.vector-menu-content,
    color: #3a2e2b !important;  /* Dark brown text */
.vector-menu-portal,
.vector-menu-portal-body,
#p-logo {
     background-color: #a68955 !important; /* Darker brown color */
}
}


/* Header styling */
/* Fine-tuning for Sidebar */
#p-logo, .page-header, .mw-header, .vector-header, #mw-head, .vector-menu-tabs, .vector-menu-tabs-container, .mw-portlet, .vector-tabs, .vector-tabs-container {
.portal,
     background-color: #f3e2c7 !important;
.vector-menu,
    color: #3a2e2b !important;
.vector-menu-content,
    border-bottom: none !important; /* Removes any bottom border that could create a white line */
#p-tb,
#p-tb ul,
#p-navigation {
     background-color: #a68955 !important; /* Ensure consistent sidebar color */
}
}


/* Header links */
/* Edit Button */
.vector-menu-tabs a, .vector-menu-tabs a:visited {
#ca-edit a,
     color: #8b4513 !important; /* SaddleBrown links */
#ca-edit a:visited {
     background-color: #a68955 !important; /* Darker brown for edit button */
    color: #fff !important; /* White text for visibility */
    border-color: #a68955 !important;
}
}


/* Search bar styling */
#ca-edit a:hover {
#p-search, #simpleSearch {
     background-color: #876A42 !important; /* Slightly darker brown on hover */
     background-color: #f3e2c7 !important;
     border-color: #876A42 !important;
     color: #3a2e2b !important;
}
}


/* Ensure all headings use the correct color */
/* Category Section Background */
h1, h2, h3, h4, h5, h6 {
#catlinks,
     color: #3a2e2b !important;
#catlinks ul {
     background-color: #a68955 !important; /* Matching sidebar color */
    padding: 10px; /* Optional padding */
}
}


/* Sidebar specific styling */
/* Content Area Background (if needed) */
#mw-panel, .vector-menu-content {
#content,
     background-color: #d1bfa3 !important; /* Darker tan/brown sidebar */
#bodyContent,
     color: #3a2e2b !important; /* Dark brown text */
.mw-body-content {
     background-color: #f1e4c6 !important; /* Tan color to match the rest of the page */
     color: #000 !important; /* Ensure text is readable */
}
}


/* Fix for darker brown not applying fully */
/* Ensure Top Tabs (Main Page, Discussion, etc.) are Styled */
#mw-head-base, #mw-head, .vector-header-container {
#p-cactions .vector-menu-content,
     background-color: #d1bfa3 !important;
#p-cactions .vector-menu-heading,
#p-cactions .vector-menu-heading .vector-tab {
     background-color: #a68955 !important; /* Darker brown for tabs */
    color: #fff !important; /* White text */
}
}


/* Styling for buttons (tabs) */
#p-cactions .vector-tab a,
#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 {
#p-cactions .vector-tab a:visited {
    background-color: #d1bfa3 !important;  /* Darker tan/brown background */
     color: #fff !important; /* White text on tabs */
     color: #3a2e2b !important; /* Dark 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 {
/* Remove the White Background Issue in Certain Elements */
     background-color: #c2a679 !important; /* Slightly darker on hover */
.skin-vector #p-cactions .vector-menu-content {
     background-color: #a68955 !important;
}
}


/* Styling for links */
.vector-menu-tabs li {
a {
     background-color: #a68955 !important;
    color: #8b4513 !important;  /* SaddleBrown links */
     border-color: #a68955 !important;
}
 
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 {
    background-color: #f3e2c7 !important;
    color: #3a2e2b !important;
}
}

Revision as of 20:48, 30 August 2024

/* General Background Color for Sidebar and Tools */
#mw-panel,
.vector-menu-content,
.vector-menu-portal,
.vector-menu-portal-body,
#p-logo {
    background-color: #a68955 !important; /* Darker brown color */
}

/* Fine-tuning for Sidebar */
.portal,
.vector-menu,
.vector-menu-content,
#p-tb,
#p-tb ul,
#p-navigation {
    background-color: #a68955 !important; /* Ensure consistent sidebar color */
}

/* Edit Button */
#ca-edit a,
#ca-edit a:visited {
    background-color: #a68955 !important; /* Darker brown for edit button */
    color: #fff !important; /* White text for visibility */
    border-color: #a68955 !important;
}

#ca-edit a:hover {
    background-color: #876A42 !important; /* Slightly darker brown on hover */
    border-color: #876A42 !important;
}

/* Category Section Background */
#catlinks,
#catlinks ul {
    background-color: #a68955 !important; /* Matching sidebar color */
    padding: 10px; /* Optional padding */
}

/* Content Area Background (if needed) */
#content,
#bodyContent,
.mw-body-content {
    background-color: #f1e4c6 !important; /* Tan color to match the rest of the page */
    color: #000 !important; /* Ensure text is readable */
}

/* Ensure Top Tabs (Main Page, Discussion, etc.) are Styled */
#p-cactions .vector-menu-content,
#p-cactions .vector-menu-heading,
#p-cactions .vector-menu-heading .vector-tab {
    background-color: #a68955 !important; /* Darker brown for tabs */
    color: #fff !important; /* White text */
}

#p-cactions .vector-tab a,
#p-cactions .vector-tab a:visited {
    color: #fff !important; /* White text on tabs */
}

/* Remove the White Background Issue in Certain Elements */
.skin-vector #p-cactions .vector-menu-content {
    background-color: #a68955 !important;
}

.vector-menu-tabs li {
    background-color: #a68955 !important;
    border-color: #a68955 !important;
}