MediaWiki:Common.css
From IUO Tome of Knowledge
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)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* === Global === */
body {
background-color: #121212;
color: #e0e0e0; /* light main text for readability */
}
/* === Links === */
a {
color: #ffcc66; /* bright accent for links */
text-decoration: none;
}
a:visited {
color: #ff9900; /* distinguish visited links */
}
a:hover {
color: #ffc966;
text-decoration: underline;
}
/* === Main Content === */
#content, #bodyContent, #mw-content-text, .mw-parser-output {
background-color: #1c1c1c;
padding: 20px;
border-radius: 6px;
color: #e0e0e0;
}
.mw-parser-output p,
.mw-parser-output li {
color: #e0e0e0;
}
/* Headings */
.mw-parser-output h1,
.mw-parser-output h2,
.mw-parser-output h3 {
color: #ffcc66;
border-bottom: 1px solid #333;
padding-bottom: 4px;
}
/* === Sidebar / Navigation === */
#column-one, #sidebar, .portlet {
background-color: #1b1b1b;
border: 1px solid #333;
border-radius: 4px;
padding: 10px;
color: #e0e0e0;
}
.portlet h3 {
color: #ffcc66;
}
.portlet a {
color: #ff9900;
}
.portlet a:hover {
color: #ffc966;
}
/* === Search / Buttons === */
input.searchButton,
button,
.mw-button {
background-color: #2a2a2a;
border: 1px solid #444;
color: #ff9900;
border-radius: 4px;
}
input.searchButton:hover,
button:hover,
.mw-button:hover {
background-color: #3a3a3a;
}
/* === Footer === */
#footer {
background-color: #121212;
color: #ccc;
border-top: 1px solid #333;
padding: 15px;
}
#footer a {
color: #ff9900;
}
#footer a:hover {
color: #ffc966;
}
/* === Notices / Alerts === */
#siteNotice {
background-color: #222;
color: #ffcc66;
border-left: 4px solid #ffcc66;
padding: 8px 12px;
margin-bottom: 10px;
border-radius: 4px;
}
/* === Tables === */
table {
background-color: #1c1c1c;
color: #e0e0e0;
border: 1px solid #333;
}
th {
background-color: #2a2a2a;
color: #ffcc66;
border-bottom: 1px solid #444;
}
td {
border-bottom: 1px solid #333;
}
