MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Created page with "→General body tweaks: body { font-family: 'Verdana', 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: #0..." |
No edit summary |
||
| Line 1: | Line 1: | ||
/* General body tweaks */ | /* General body tweaks */ | ||
body { | body { | ||
font-family: ' | font-family: 'Museo', sans-serif; | ||
background-color: #e3f2f1; | background-color: #e3f2f1; | ||
color: #111; | color: #111; | ||
Revision as of 18:53, 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;
}
/* Nav tabs (like View / Edit / History) */
#p-views li a {
background: #007a8c;
color: white !important;
padding: 4px 10px;
border-radius: 6px;
}
#p-views li.selected a {
background: #004e59;
}
/* Main link styles */
a {
color: #007a8c;
font-weight: bold;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
/* Infobox (like Bulbapedia) */
.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;
}
/* Remove sidebar background for a cleaner look */
#mw-panel {
background: #def;
}