MediaWiki:Common.css

From Squidgy
Revision as of 18:58, 17 April 2025 by Squidgy (talk | contribs)
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: '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;
}

/* Remove sidebar background for a cleaner look */
#mw-panel {
  background: #def;
}

/* Tighter, minimal tabs – clean top alignment */
#p-views {
  padding: 0;
  margin: 0 0 10px 0;
  border: none;
}

/* Individual tab buttons */
#p-views li {
  display: inline-block;
  margin: 0 2px;
  padding: 0;
  border: none;
}

/* Tab links */
#p-views li a {
  background-color: #007a8c;
  color: white !important;
  padding: 3px 10px 4px 10px;
  border-radius: 6px 6px 0 0;
  border: 1px solid #00606e;
  border-bottom: none;
  text-decoration: none !important;
  font-weight: bold;
  font-size: 0.95em;
  line-height: 1.2em;
}

/* Active tab */
#p-views li.selected a {
  background-color: #e3f2f1;
  color: #003344 !important;
  border-bottom: 1px solid #e3f2f1;
}

/* Remove any default padding from the container to prevent doubling */
#contentSub {
  margin: 0;
  padding