MediaWiki:Common.css: Difference between revisions

From Harrison County Wiki
Jump to navigationJump to search
No edit summary
Tag: Reverted
No edit summary
Tags: Manual revert Reverted
Line 78: Line 78:
   background-color: transparent !important;
   background-color: transparent !important;
   color: inherit !important;
   color: inherit !important;
}
/* Light theme — either by default or explicit class */
.skin-theme-clientpref-light .infobox-settlement,
.view-light .infobox-settlement {
  background-color: #ffffff;
  color: #000000;
  border: 1px solid #a2a9b1;
}
.skin-theme-clientpref-light .infobox-settlement .infobox-header,
.view-light .infobox-settlement .infobox-header {
  background-color: #dcdcdc;
  color: black;
}
/* Dark theme */
.skin-theme-clientpref-night .infobox-settlement,
.view-dark .infobox-settlement {
  background-color: #202122;
  color: white;
  border: 1px solid #444;
}
.skin-theme-clientpref-night .infobox-settlement .infobox-header,
.view-dark .infobox-settlement .infobox-header {
  background-color: #202122;
  color: white;
}
}

Revision as of 19:59, 4 August 2025

/* ===== Ambox styles ===== /
.ambox {
  border: 1px solid #aaa;
  background-color: #f9f9f9 !important;
  padding: 10px 15px;
  margin: 1em 0;
  border-left: 6px solid #36c;
  box-shadow: 1px 1px 4px rgba(0,0,0,0.1);
  font-size: 90%;
  line-height: 1.4em;
  clear: both;
  display: table;
  width: 100%;
  color: black !important;
}

.ambox-notice {
  border-left-color: #36c;
}

.ambox-warning {
  border-left-color: #f28500;
  background-color: #fff8e5 !important;
}

.ambox-serious {
  border-left-color: #d33;
  background-color: #ffeaea !important;
}

.ambox-content {
  border-left-color: #6b4;
}

.ambox-delete {
  border-left-color: #b32424;
}

.ambox-move {
  border-left-color: #9932cc;
}

.ambox-protect {
  border-left-color: #00a;
}

.ambox-style {
  border-left-color: #f0c000;
}

.ambox-table {
  border-collapse: collapse;
  width: 100%;
  table-layout: fixed;
  background-color: transparent !important;
  color: inherit !important;
}

.ambox-image {
  width: 40px;
  vertical-align: middle;
  padding-right: 12px;
  text-align: center;
  background-color: transparent !important;
  color: inherit !important;
}

.ambox-text {
  vertical-align: middle;
  word-wrap: break-word;
  font-family: sans-serif, Arial, Helvetica;
  background-color: transparent !important;
  color: black !important;
}

/ Optional: Reset tables and cells inside ambox if your skin uses dark mode */
.ambox-table td {
  background-color: transparent !important;
  color: inherit !important;
}