MediaWiki:Common.css

From Squidgy
Revision as of 18:52, 17 April 2025 by Squidgy (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.
/* 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: #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;
}