MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 48: | Line 48: | ||
/* Change sidebar background color and text */ | /* Change sidebar background color and text */ | ||
#mw-panel, #mw-portlets { | #mw-panel, #mw-portlets { | ||
background-color: #111111; /* Background color */ | |||
color: #AFACA8; /* Text color */ | |||
} | |||
/* Change the Tools section */ | |||
#mw-control-portal, #mw-tools { | |||
background-color: #111111; /* Background color */ | background-color: #111111; /* Background color */ | ||
color: #AFACA8; /* Text color */ | color: #AFACA8; /* Text color */ | ||
| Line 81: | Line 87: | ||
} | } | ||
/* Change the | /* Change the sidebar portlet heading color */ | ||
.portlet-header { | .portlet-header { | ||
background-color: #222222; /* Dark background for portlet headers */ | background-color: #222222; /* Dark background for portlet headers */ | ||
| Line 97: | Line 97: | ||
background-color: #111111; /* Background color */ | background-color: #111111; /* Background color */ | ||
color: #AFACA8; /* Text color */ | color: #AFACA8; /* Text color */ | ||
} | |||
/* Change the site title and icon area */ | |||
#siteSub, #mw-head, #mw-logo { | |||
background-color: #111111; /* Dark background for site title and logo */ | |||
color: #AFACA8; /* Light text color */ | |||
} | |||
/* Change the main page logo */ | |||
#mw-logo img { | |||
max-height: 40px; /* Optional: Adjust the height of the logo */ | |||
} | |||
/* Change the vector header background */ | |||
.vector-header { | |||
background-color: #111111; /* Dark background for the header */ | |||
color: #AFACA8; /* Light text color */ | |||
} | } | ||
Revision as of 15:29, 8 October 2024
/* Change the background color of the entire page */
body {
background-color: #111111; /* Dark background color */
color: #AFACA8; /* Light font color for all text */
}
/* Change the main page title */
.firstHeading {
background-color: #111111; /* Background color (matches the body) */
color: #AFACA8; /* Text color */
padding: 10px; /* Optional: Add some padding */
}
/* Change the color and background of all headings (H1-H6) */
h1, h2, h3, h4, h5, h6 {
color: #AFACA8; /* Text color */
background-color: #111111; /* Background color */
padding: 5px; /* Optional: Add some padding */
}
/* Change the color of section headlines */
.mw-headline {
color: #AFACA8; /* Text color */
background-color: #111111; /* Background color */
padding: 5px; /* Optional: Add some padding */
}
/* Change link colors */
a {
color: #5C6969; /* Link color for empty links */
}
/* Change the color of visited links */
a:visited {
color: #89C5B7; /* Color for visited links */
}
/* Change link hover color */
a:hover {
color: #AFACA8; /* Light color on hover for visibility */
}
/* Change background color of the content area */
.mw-body {
background-color: #111111; /* Slightly different background for the content */
}
/* Change sidebar background color and text */
#mw-panel, #mw-portlets {
background-color: #111111; /* Background color */
color: #AFACA8; /* Text color */
}
/* Change the Tools section */
#mw-control-portal, #mw-tools {
background-color: #111111; /* Background color */
color: #AFACA8; /* Text color */
}
/* Change the appearance of the edit interface */
#wpTextbox1 {
background-color: #222222; /* Dark background for the editing text area */
color: #AFACA8; /* Text color for the editing area */
}
/* Change the button colors in the edit toolbar */
#mw-editform .mw-toolbar {
background-color: #111111; /* Background color for the toolbar */
color: #AFACA8; /* Text color for the toolbar */
}
/* Change the color of buttons */
button, input[type="submit"] {
background-color: #5C6969; /* Background color for buttons */
color: #AFACA8; /* Text color for buttons */
}
/* Change button hover color */
button:hover, input[type="submit"]:hover {
background-color: #89C5B7; /* Lighter background color on hover */
}
/* Change the background color of the editing summary box */
#wpSummary {
background-color: #222222; /* Dark background for the summary box */
color: #AFACA8; /* Text color for the summary box */
}
/* Change the sidebar portlet heading color */
.portlet-header {
background-color: #222222; /* Dark background for portlet headers */
color: #AFACA8; /* Text color for portlet headers */
}
/* Change the heading for the sidebar */
#p-personal, #p-namespaces, #p-views {
background-color: #111111; /* Background color */
color: #AFACA8; /* Text color */
}
/* Change the site title and icon area */
#siteSub, #mw-head, #mw-logo {
background-color: #111111; /* Dark background for site title and logo */
color: #AFACA8; /* Light text color */
}
/* Change the main page logo */
#mw-logo img {
max-height: 40px; /* Optional: Adjust the height of the logo */
}
/* Change the vector header background */
.vector-header {
background-color: #111111; /* Dark background for the header */
color: #AFACA8; /* Light text color */
}