MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 95: | Line 95: | ||
color: #aaffff; | color: #aaffff; | ||
} | } | ||
/* 🎯 HIDE THE SIDEBAR ONLY */ | |||
/* | |||
#mw-panel { | #mw-panel { | ||
display: none; | display: none; | ||
} | } | ||
/* Expand content | /* 📏 Expand content full width now that sidebar is gone */ | ||
#content { | #content { | ||
margin-left: 0; | margin-left: 0; | ||
max-width: 100%; | |||
padding: 2em; | |||
} | } | ||
/* ✨ Optional: shrink padding inside content area for neater look */ | |||
/* Optional: | |||
#bodyContent { | #bodyContent { | ||
padding-left: 0; | padding-left: 0; | ||
} | } | ||
Revision as of 19:10, 17 April 2025
/* General body tweaks */
body {
font-family: 'Museo', sans-serif;
background-color: #e3f2f1;
color: #111;
}
/* Page title */
.firstHeading {
font-size: 28px;
color: #003344;
font-weight: bold;
border-bottom: 2px solid #ccc;
margin-bottom: 20px;
}
/* Content area */
#content {
background-color: #ffffff;
border-radius: 10px;
padding: 25px;
box-shadow: 0 0 10px rgba(0,0,0,0.05);
}
/* Headings */
h1, h2, h3, h4 {
font-weight: bold;
color: #003344;
border-bottom: 1px solid #ccc;
padding-bottom: 4px;
margin-top: 30px;
}
/* Main link styles */
a {
color: #007a8c;
font-weight: bold;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
/* Infobox */
.infobox {
border: 2px solid #bbb;
background: #f9f9f9;
padding: 8px;
float: right;
margin: 0 0 10px 20px;
width: 250px;
font-size: 90%;
border-radius: 6px;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.infobox th {
background-color: #cceeee;
text-align: left;
padding: 4px;
}
.infobox td {
padding: 4px 8px;
}
/* Table tweaks */
table.wikitable {
border: 1px solid #ccc;
background-color: #fff;
border-collapse: collapse;
}
table.wikitable th, table.wikitable td {
border: 1px solid #ccc;
padding: 8px;
}
table.wikitable th {
background-color: #def;
font-weight: bold;
}
/* Footer cleanup */
#footer {
font-size: 12px;
background: #00606e;
color: white;
padding: 20px;
}
#footer a {
color: #aaffff;
}
/* 🎯 HIDE THE SIDEBAR ONLY */
#mw-panel {
display: none;
}
/* 📏 Expand content full width now that sidebar is gone */
#content {
margin-left: 0;
max-width: 100%;
padding: 2em;
}
/* ✨ Optional: shrink padding inside content area for neater look */
#bodyContent {
padding-left: 0;
}