MediaWiki:Common.css
From Ages of Conflict
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.
/* Body background color */
body {
background-color: #2b3a4d;
color: #ffffff;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
margin: 0;
padding: 0;
line-height: 1.6;
}
/* Header */
#mw-head {
background-color: #1f2c3c;
color: #ffffff;
padding: 10px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
/* Logo */
#p-logo a {
color: #ffffff;
font-size: 24px;
text-decoration: none;
}
/* Main content area */
#content {
background-color: #34495e;
padding: 30px;
margin-top: 20px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
border-radius: 8px;
}
/* Links */
a {
color: #3498db;
text-decoration: none;
transition: color 0.3s ease;
}
a:hover {
color: #2980b9;
text-decoration: underline;
}
/* Sidebar */
#mw-panel {
background-color: #1f2c3c;
color: #ffffff;
padding: 20px;
border-radius: 8px;
}
/* Sidebar links */
#mw-panel a {
color: #ffffff;
text-decoration: none;
transition: color 0.3s ease;
}
#mw-panel a:hover {
color: #f0f4f8;
}
/* Footer */
#footer {
background-color: #1f2c3c;
color: #ffffff;
padding: 20px 0;
text-align: center;
position: fixed;
bottom: 0;
width: 100%;
box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}
/* Table styling */
table {
width: 100%;
border-collapse: collapse;
}
table th, table td {
padding: 10px;
border: 1px solid #34495e;
}
table th {
background-color: #2b3a4d;
color: #ffffff;
}
/* Image styling */
img {
max-width: 100%;
height: auto;
display: block;
margin: 0 auto;
}
/* MediaWiki notices */
.mw-notice {
background-color: #34495e;
padding: 10px;
margin-bottom: 20px;
border: 1px solid #2b3a4d;
border-radius: 5px;
color: #ffffff;
}