MediaWiki:Common.css: Difference between revisions

From Harrison County Wiki
Jump to navigationJump to search
No edit summary
Tags: Manual revert Reverted
No edit summary
Tag: Reverted
Line 78: Line 78:
   background-color: transparent !important;
   background-color: transparent !important;
   color: inherit !important;
   color: inherit !important;
}
/* Force dark theme globally */
body, .mw-body, .content {
    background-color: #202122 !important;
    color: white !important;
}
/* Make links visible on dark background */
a, a:visited {
    color: #79b8ff !important;
}
/* Infobox forced dark style */
.infobox-settlement {
    background-color: #202122 !important;
    color: white !important;
    border-color: #444 !important;
}
/* Infobox header */
.infobox-settlement .infobox-header {
    background-color: #202122 !important;
    color: white !important;
}
}

Revision as of 20:01, 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;
}

/* Force dark theme globally */
body, .mw-body, .content {
    background-color: #202122 !important;
    color: white !important;
}

/* Make links visible on dark background */
a, a:visited {
    color: #79b8ff !important;
}

/* Infobox forced dark style */
.infobox-settlement {
    background-color: #202122 !important;
    color: white !important;
    border-color: #444 !important;
}

/* Infobox header */
.infobox-settlement .infobox-header {
    background-color: #202122 !important;
    color: white !important;
}