MediaWiki:Common.css: Difference between revisions
From Noe's Woes
Noelle Jade (talk | contribs) (Created page with "→CSS placed here will be applied to all skins: →Global dark mode: body { background-color: #121212; color: #E0E0E0; } a { color: #1E90FF; →Light blue for links: } a:visited { color: #8A2BE2; →Purple for visited links: } →Header background and text color: #mp-upper, #firstHeading, .skin-vector-main-header { background-color: #1E1E1E; color: #FFFFFF; } →Navigation bar: #p-navigation { background-color: #1E1E1E; co...") |
Noelle Jade (talk | contribs) (Blanked the page) Tag: Blanking |
||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ |
|||
/* Global dark mode */ |
|||
body { |
|||
background-color: #121212; |
|||
color: #E0E0E0; |
|||
} |
|||
a { |
|||
color: #1E90FF; /* Light blue for links */ |
|||
} |
|||
a:visited { |
|||
color: #8A2BE2; /* Purple for visited links */ |
|||
} |
|||
/* Header background and text color */ |
|||
#mp-upper, #firstHeading, .skin-vector-main-header { |
|||
background-color: #1E1E1E; |
|||
color: #FFFFFF; |
|||
} |
|||
/* Navigation bar */ |
|||
#p-navigation { |
|||
background-color: #1E1E1E; |
|||
color: #E0E0E0; |
|||
} |
|||
#p-navigation a { |
|||
color: #E0E0E0; |
|||
} |
|||
#p-navigation a:hover { |
|||
color: #1E90FF; |
|||
} |
|||
/* Footer */ |
|||
#footer { |
|||
background-color: #1E1E1E; |
|||
color: #E0E0E0; |
|||
} |
|||
/* Links in tables, list items, etc */ |
|||
table, .wikitable { |
|||
background-color: #1E1E1E; |
|||
color: #E0E0E0; |
|||
} |
|||
/* Form elements */ |
|||
input, select, textarea { |
|||
background-color: #333; |
|||
color: #E0E0E0; |
|||
border: 1px solid #444; |
|||
} |
|||
/* Darken the page background */ |
|||
#content { |
|||
background-color: #181818; |
|||
} |
|||
/* Dark mode specific styles for images and media */ |
|||
img { |
|||
border: 1px solid #444; |
|||
} |
|||
/* Optional: To handle hover effects and transitions for smooth change */ |
|||
a, button { |
|||
transition: color 0.3s ease, background-color 0.3s ease; |
|||
} |
|||