MediaWiki:Common.css: Difference between revisions

From Harrison County Wiki
Jump to navigationJump to search
Replaced content with "/* ===== 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; }..."
Tags: Replaced Reverted
No edit summary
Tag: Reverted
Line 78: Line 78:
   background-color: transparent !important;
   background-color: transparent !important;
   color: inherit !important;
   color: inherit !important;
}
/* Light mode styles */
.infobox.geography.vcard {
  background: #f8f9fa;  /* Light gray background */
  border: 1px solid #aaa; /* Light border */
  border-radius: 4px;
  padding: 0.5em;
  color: #222;
}
body.skin-vector-dark .infobox.geography.vcard,
body.vector-dark .infobox.geography.vcard {
  background: #1a1a1a;
  border: 1px solid #444;
  color: #ddd;
}
.infobox.geography.vcard th {
  background: #e0e0e0;
  font-weight: bold;
}
body.skin-vector-dark .infobox.geography.vcard th,
body.vector-dark .infobox.geography.vcard th {
  background: #333;
  color: #eee;
}
}

Revision as of 02:30, 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;
}

/* Light mode styles */
.infobox.geography.vcard {
  background: #f8f9fa;  /* Light gray background */
  border: 1px solid #aaa; /* Light border */
  border-radius: 4px;
  padding: 0.5em;
  color: #222;
}

body.skin-vector-dark .infobox.geography.vcard,
body.vector-dark .infobox.geography.vcard {
  background: #1a1a1a; 
  border: 1px solid #444; 
  color: #ddd; 
}

.infobox.geography.vcard th {
  background: #e0e0e0;
  font-weight: bold;
}

body.skin-vector-dark .infobox.geography.vcard th,
body.vector-dark .infobox.geography.vcard th {
  background: #333;
  color: #eee;
}