MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
mNo edit summary
No edit summary
Line 901: Line 901:
     font-size: .92rem;
     font-size: .92rem;
   }
   }
}
.sf-link-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin-top: 10px;
}
.sf-link-stack a,
.sf-link-stack a:visited,
.sf-link-stack a.external,
.sf-link-stack a.external:visited {
  display: block;
  width: 100%;
  box-sizing: border-box;
  border-radius: 7px;
  padding: 7px 10px;
  text-align: left;
}
}

Revision as of 16:30, 9 July 2026

/* ============================================================
   Sinfar Wiki Visual System v2.0
   Used by redesigned player-resource / mechanics pages.
   ============================================================ */

/* ---------- Core Page Shell ---------- */

.sinfar-page {
	background: #0b090a;
	border: 1px solid #6f5730;
	color: #f4efe6;
	padding: 16px;
	box-shadow: 0 0 22px rgba(0,0,0,0.35);
	font-size: 14px;
	line-height: 1.5;
}

.sinfar-page a {
	color: #8fc6ff;
}

.sinfar-page code {
	background: #120d10;
	color: #f0d28a;
	border: 1px solid #6f5730;
	padding: 1px 4px;
}

/* ---------- Hero / Title Banner ---------- */

.sf-hero {
	text-align: center;
	border: 1px solid #8b6b3a;
	background: linear-gradient(180deg,#181214,#0b090a);
	padding: 12px 14px;
	margin-bottom: 10px;
}

.sf-title {
	font-family: Georgia, serif;
	font-size: 30px;
	letter-spacing: 3px;
	color: #d8b46a;
	text-shadow: 0 0 10px rgba(143,36,50,0.55);
}

.sf-subtitle {
	margin-top: 5px;
	color: #f4efe6;
}

/* ---------- Headings ---------- */

.sf-heading {
	font-family: Georgia, serif;
	font-size: 21px;
	color: #d8b46a;
	border-bottom: 1px solid #6f5730;
	padding-bottom: 4px;
	margin: 9px 0 5px 0;
}

.sf-heading:first-of-type {
	margin-top: 8px;
}

.sf-heading--gold { color: #d8b46a; border-bottom-color: #6f5730; }
.sf-heading--green { color: #91d38f; border-bottom-color: #446b35; }
.sf-heading--blue { color: #8fc6ff; border-bottom-color: #34577a; }
.sf-heading--red { color: #ff9c8f; border-bottom-color: #7a342f; }
.sf-heading--purple { color: #c49cff; border-bottom-color: #5b3b78; }

.sf-subheading {
	font-family: Georgia, serif;
	font-size: 18px;
	color: #f0d28a;
	margin-bottom: 6px;
}

/* ---------- Cards / Callouts ---------- */

.sf-card {
	background: #181214;
	border: 1px solid #6f5730;
	color: #f4efe6;
	padding: 10px 12px;
	margin-bottom: 8px;
}

.sf-card--gold {
	background: #181214;
	border-color: #6f5730;
}

.sf-card--green {
	background: #111a12;
	border-color: #446b35;
}

.sf-card--blue {
	background: #101820;
	border-color: #34577a;
}

.sf-card--red {
	background: #1a1010;
	border-color: #7a342f;
}

.sf-card--purple {
	background: #19111d;
	border-color: #5b3b78;
}

.sf-note {
	background: #120d10;
	border-left: 4px solid #d8b46a;
	color: #f4efe6;
	padding: 8px 10px;
	margin: 8px 0;
}

.sf-note--red {
	border-left-color: #8f2432;
}

.sf-label {
	color: #f0d28a;
	font-weight: bold;
}

.sf-muted {
	color: #c9bda9;
}

/* ---------- Grids ---------- */

.sf-grid-2,
.sf-grid-3,
.sf-grid-4,
.sf-grid-5 {
	display: grid;
	gap: 8px;
	margin-bottom: 8px;
}

.sf-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sf-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sf-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sf-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

@media screen and (max-width: 900px) {
	.sf-grid-4,
	.sf-grid-5 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media screen and (max-width: 650px) {
	.sf-grid-2,
	.sf-grid-3,
	.sf-grid-4,
	.sf-grid-5 {
		grid-template-columns: 1fr;
	}
}

/* ---------- Lists ---------- */

.sinfar-page ul,
.sinfar-page ol {
	margin: 6px 0 8px 0;
	padding-left: 22px;
}

.sinfar-page li {
	margin: 2px 0;
}

/* ---------- Tables ---------- */

.sf-table {
	width: 100%;
	border-collapse: collapse;
	color: #f4efe6;
	margin-bottom: 8px;
}

.sf-table th {
	color: #d8b46a;
	padding: 7px 8px;
	text-align: center;
}

.sf-table td {
	padding: 6px 8px;
}

.sf-table--gold {
	background: #181214;
	border: 1px solid #6f5730;
}

.sf-table--gold th {
	background: #2a2113;
	border-bottom: 1px solid #6f5730;
}

.sf-table--green {
	background: #111a12;
	border: 1px solid #446b35;
}

.sf-table--green th {
	background: #183618;
	border-bottom: 1px solid #446b35;
}

.sf-table--blue {
	background: #101820;
	border: 1px solid #34577a;
}

.sf-table--blue th {
	background: #17324a;
	border-bottom: 1px solid #34577a;
}

.sf-table--red {
	background: #1a1010;
	border: 1px solid #7a342f;
}

.sf-table--red th {
	background: #4a1717;
	border-bottom: 1px solid #7a342f;
}

.sf-table--purple {
	background: #19111d;
	border: 1px solid #5b3b78;
}

.sf-table--purple th {
	background: #301842;
	border-bottom: 1px solid #5b3b78;
}

.sf-name {
	color: #f0d28a;
}

.sf-value {
	color: #f4c96b;
	text-align: center;
}

.sf-good {
	color: #9fe6bd;
	text-align: center;
}

.sf-center {
	text-align: center;
}

/* Standard PP table column widths */
.sf-pp-table col.sf-col-name {
	width: 42%;
}

.sf-pp-table col.sf-col-pp {
	width: 8%;
}

/* Armor / property table column helpers */
.sf-armor-pp col.sf-col-armor-name { width: 30%; }
.sf-armor-pp col.sf-col-armor-type { width: 20%; }
.sf-armor-pp col.sf-col-armor-ac { width: 15%; }
.sf-armor-pp col.sf-col-armor-dex { width: 20%; }
.sf-armor-pp col.sf-col-armor-pp { width: 15%; }

.sf-property-table col.sf-col-property { width: 42%; }
.sf-property-table col.sf-col-bonus { width: 18%; }
.sf-property-table col.sf-col-max { width: 20%; }
.sf-property-table col.sf-col-cost { width: 20%; }

/* ---------- Collapsible Dockets ---------- */

.sf-docket {
	width: 100%;
	background: #181214;
	color: #f4efe6;
	border: 1px solid #6f5730;
	margin: 9px 0 8px 0;
}

.sf-docket th {
	background: #2a2113;
	color: #d8b46a;
	font-family: Georgia, serif;
	font-size: 21px;
	text-align: left;
	padding: 9px 12px;
	border-bottom: 1px solid #6f5730;
}

.sf-docket td {
	background: #0f0b0d;
	color: #f4efe6;
	padding: 10px 12px;
}

.sf-docket--green {
	border-color: #446b35;
}

.sf-docket--green th {
	background: #183618;
	border-bottom-color: #446b35;
}

.sf-docket--blue {
	border-color: #34577a;
}

.sf-docket--blue th {
	background: #17324a;
	border-bottom-color: #34577a;
}

.sf-docket--red {
	border-color: #7a342f;
}

.sf-docket--red th {
	background: #4a1717;
	border-bottom-color: #7a342f;
}

.sf-docket--purple {
	border-color: #5b3b78;
}

.sf-docket--purple th {
	background: #301842;
	border-bottom-color: #5b3b78;
}

/* ---------- Footer ---------- */

.sf-footer {
	margin-top: 14px;
	padding: 12px 14px;
	text-align: center;
	background: #120d10;
	border-top: 1px solid #6f5730;
	color: #f4efe6;
}

/* ============================================================
   Sinfar Wiki Visual System v2.1 Utility Patch
   Add below v2.0. Keeps Feat Changes as baseline.
   ============================================================ */

/* ---------- Link Consistency ---------- */

.sinfar-page a,
.sinfar-page a:visited,
.sinfar-page a.external,
.sinfar-page a.external:visited {
	color: #72a7ff;
}

.sinfar-page a:hover {
	color: #9fc4ff;
	text-decoration: underline;
}

/* ---------- Utility Panels ---------- */

.sf-panel {
	background: #181214;
	border: 1px solid #6f5730;
	color: #f4efe6;
	padding: 12px 14px;
	margin-bottom: 8px;
	line-height: 1.55;
}

.sf-panel--intro {
	border-left: 4px solid #8f2432;
}

.sf-warning {
	background: #120d10;
	border: 1px solid #8f2432;
	color: #f4efe6;
	padding: 12px 14px;
	margin-bottom: 8px;
	line-height: 1.55;
}

.sf-codebox {
	background: #21171a;
	border: 1px solid #6f5730;
	color: #f4efe6;
	font-family: monospace;
	padding: 8px 10px;
	margin: 8px 0;
	overflow-wrap: anywhere;
}

/* ---------- Compact Landing Utility ---------- */

.sf-card-title {
	color: #f0d28a;
	font-weight: bold;
}

.sf-card-link {
	margin-top: 10px;
}

/* ---------- Performance Preference ---------- */

.sinfar-page * {
	box-sizing: border-box;
}

.sf-page {
  color: #f4efe6;
  line-height: 1.45;
}

.sf-hero-compact {
  background: linear-gradient(135deg, #21150f, #3a2417);
  border: 1px solid rgba(216,180,106,.45);
  border-radius: 10px;
  padding: 14px 18px;
  margin: 0 0 12px 0;
}

.sf-hero-compact h1 {
  color: #f0d28a;
  margin: 0 0 4px 0;
  font-size: 1.85rem;
}

.sf-hero-compact p {
  margin: 0;
  color: #f4efe6;
}

.sf-eyebrow {
  color: #d8b46a;
  text-transform: uppercase;
  font-size: .75rem;
  letter-spacing: .08em;
  font-weight: 700;
}

.sf-quickbar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 0 0 14px 0;
}

.sf-quickbar div,
.sf-pathline,
.sf-note {
  background: rgba(18,14,12,.72);
  border: 1px solid rgba(216,180,106,.24);
  border-left: 4px solid #d8b46a;
  border-radius: 7px;
  padding: 7px 10px;
}

.sf-section-title {
  color: #f0d28a;
  border-bottom: 1px solid rgba(216,180,106,.35);
  margin: 18px 0 8px;
  padding-bottom: 3px;
}

.sf-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: rgba(18,14,12,.72);
  border: 1px solid rgba(216,180,106,.25);
  margin-bottom: 12px;
}

.sf-table th {
  color: #f0d28a;
  background: rgba(216,180,106,.14);
  border-bottom: 1px solid rgba(216,180,106,.35);
  padding: 8px 10px;
  text-align: left;
}

.sf-table td {
  color: #f4efe6;
  border-bottom: 1px solid rgba(244,239,230,.08);
  padding: 7px 10px;
  vertical-align: top;
}

.sf-channel-table th:nth-child(1),
.sf-channel-table td:nth-child(1) {
  width: 14%;
}

.sf-channel-table th:nth-child(2),
.sf-channel-table td:nth-child(2) {
  width: 31%;
}

.sf-channel-table th:nth-child(3),
.sf-channel-table td:nth-child(3) {
  width: 37%;
}

.sf-channel-table th:nth-child(4),
.sf-channel-table td:nth-child(4) {
  width: 18%;
}

.sf-badge {
  display: inline-block;
  border-radius: 999px;
  padding: 2px 7px;
  margin: 1px 2px 1px 0;
  font-size: .78rem;
  font-weight: 700;
  white-space: nowrap;
}

.sf-badge-ic { background: #2f5d3a; color: #eaffef; }
.sf-badge-ooc { background: #334e7a; color: #eef4ff; }
.sf-badge-dm { background: #6f3b3b; color: #fff0f0; }
.sf-badge-range { background: #5f4c27; color: #fff2c2; }
.sf-badge-area { background: #60456f; color: #f7eaff; }
.sf-badge-support { background: #4e5563; color: #f0f3f8; }
.sf-badge-best { background: #6a5423; color: #fff0bd; }

.sf-rule {
  border-left: 4px solid #9f4b3e;
  background: rgba(80,30,25,.30);
  border-radius: 7px;
  padding: 7px 10px;
  margin: 6px 0;
}

.sf-footerlinks {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(216,180,106,.28);
  color: #d8b46a;
}

@media screen and (max-width: 720px) {
  .sf-quickbar {
    grid-template-columns: 1fr;
  }

  .sf-table {
    table-layout: auto;
    font-size: .92rem;
  }

  .sf-channel-table th:nth-child(n),
  .sf-channel-table td:nth-child(n) {
    width: auto;
  }
}
.sf-chan {
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0,0,0,.75);
}

.sf-chan-shout   { color: #feef50; }
.sf-chan-dm      { color: #f67271; }
.sf-chan-event   { color: #ab23f2; }
.sf-chan-action  { color: #b56a23; }
.sf-chan-ooc     { color: #b1a2bd; }
.sf-chan-pvp     { color: #fe5f2e; }
.sf-chan-sex     { color: #f520e1; }
.sf-chan-build   { color: #b7f520; }
.sf-chan-ffa     { color: #20bff0; }

.sf-chan-talk    { color: #fefefe; }
.sf-chan-whisper { color: #b0b0b0; }
.sf-chan-quiet   { color: #404040; }
.sf-chan-silent  { color: #303030; }
.sf-chan-yell    { color: #d92324; }
.sf-chan-party   { color: #fefefe; }
.sf-start-status {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 0 0 14px 0;
}

.sf-start-status div {
  background: rgba(18,14,12,.72);
  border: 1px solid rgba(216,180,106,.24);
  border-radius: 8px;
  padding: 8px 10px;
}

.sf-start-status b {
  color: #f0d28a;
}

.sf-start-status span {
  color: #f4efe6;
}

.sf-decision-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.sf-decision {
  background: rgba(18,14,12,.72);
  border: 1px solid rgba(216,180,106,.26);
  border-radius: 10px;
  padding: 12px;
}

.sf-decision-primary {
  border-color: rgba(240,210,138,.58);
  background: linear-gradient(135deg, rgba(60,38,20,.88), rgba(18,14,12,.78));
}

.sf-decision-kicker {
  color: #d8b46a;
  text-transform: uppercase;
  font-size: .72rem;
  letter-spacing: .07em;
  font-weight: 700;
}

.sf-decision h3 {
  color: #f0d28a;
  margin: 4px 0 6px;
}

.sf-decision p {
  margin: 0 0 9px;
  color: #f4efe6;
}

.sf-link-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sf-link-stack a {
  display: inline-block;
  background: rgba(216,180,106,.12);
  border: 1px solid rgba(216,180,106,.28);
  border-radius: 999px;
  padding: 3px 8px;
}

.sf-action-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sf-progress-line {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin: 0 0 14px;
}

.sf-progress-line div {
  background: rgba(18,14,12,.72);
  border: 1px solid rgba(216,180,106,.22);
  border-radius: 9px;
  padding: 8px;
  text-align: center;
}

.sf-progress-line b {
  display: inline-block;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  line-height: 24px;
  background: rgba(216,180,106,.24);
  color: #f0d28a;
  margin-bottom: 4px;
}

.sf-progress-line span {
  display: block;
  color: #f4efe6;
  font-size: .88rem;
}

.sf-alert {
  border-radius: 8px;
  padding: 9px 11px;
  margin: 10px 0;
}

.sf-alert b {
  display: block;
  color: #f0d28a;
  margin-bottom: 3px;
}

.sf-alert span {
  color: #f4efe6;
}

.sf-alert-warning {
  border-left: 4px solid #d8a447;
  background: rgba(94,63,18,.35);
  border-top: 1px solid rgba(216,180,106,.22);
  border-right: 1px solid rgba(216,180,106,.22);
  border-bottom: 1px solid rgba(216,180,106,.22);
}

.sf-setup-table th:nth-child(1),
.sf-setup-table td:nth-child(1) {
  width: 24%;
}

.sf-setup-table th:nth-child(2),
.sf-setup-table td:nth-child(2) {
  width: 52%;
}

.sf-setup-table th:nth-child(3),
.sf-setup-table td:nth-child(3) {
  width: 24%;
}

@media screen and (max-width: 820px) {
  .sf-start-status,
  .sf-decision-grid,
  .sf-progress-line {
    grid-template-columns: 1fr;
  }
}
/* ============================================================
   Sinfar Wiki Visual System v2.2
   App-Style Utility Page Authority Patch
   Add at very bottom of MediaWiki:Common.css.
   ============================================================ */

/* ---------- New Page Authority ---------- */

.sf-page {
  color: #f4efe6;
  line-height: 1.45;
}

.sf-page * {
  box-sizing: border-box;
}

/* ---------- Notes: detach from quickbar inheritance ---------- */

.sf-note {
  background: rgba(18,14,12,.72);
  border: 1px solid rgba(216,180,106,.24);
  border-left: 4px solid #d8b46a;
  border-radius: 7px;
  padding: 8px 11px;
  margin: 10px 0;
  color: #f4efe6;
}

/* ---------- Decision Card Link Shelves ---------- */

.sf-link-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin-top: 10px;
}

.sf-link-stack a,
.sf-link-stack a:visited,
.sf-link-stack a.external,
.sf-link-stack a.external:visited {
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: rgba(216,180,106,.10);
  border: 1px solid rgba(216,180,106,.28);
  border-radius: 7px;
  padding: 7px 10px;
  color: #8fc6ff;
  text-align: left;
  font-weight: 700;
  text-decoration: none;
}

.sf-link-stack a:hover {
  background: rgba(216,180,106,.17);
  border-color: rgba(240,210,138,.45);
  color: #b8d6ff;
  text-decoration: none;
}

/* Optional: prevent support shelves from becoming huge */
.sf-decision .sf-link-stack {
  max-width: 280px;
}

/* ---------- Primary Download Row ---------- */

.sf-action-row {
  display: grid;
  grid-template-columns: minmax(0, max-content) auto;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.sf-action-row a,
.sf-action-row a:visited,
.sf-action-row a.external,
.sf-action-row a.external:visited {
  display: inline-block;
  background: rgba(216,180,106,.12);
  border: 1px solid rgba(216,180,106,.30);
  border-radius: 7px;
  padding: 8px 12px;
  color: #8fc6ff;
  font-weight: 800;
  text-decoration: none;
}

.sf-action-row a:hover {
  background: rgba(216,180,106,.18);
  color: #b8d6ff;
  text-decoration: none;
}

/* ---------- Table Authority ---------- */

.sf-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: rgba(18,14,12,.72);
  border: 1px solid rgba(216,180,106,.25);
  margin-bottom: 12px;
}

.sf-table th {
  color: #f0d28a;
  background: rgba(216,180,106,.14);
  border-bottom: 1px solid rgba(216,180,106,.35);
  padding: 8px 10px;
  text-align: left;
}

.sf-table td {
  color: #f4efe6;
  border-bottom: 1px solid rgba(244,239,230,.08);
  padding: 7px 10px;
  vertical-align: top;
}

/* ---------- Mobile Safety ---------- */

@media screen and (max-width: 820px) {
  .sf-start-status,
  .sf-decision-grid,
  .sf-progress-line,
  .sf-quickbar {
    grid-template-columns: 1fr;
  }

  .sf-action-row {
    grid-template-columns: 1fr;
  }

  .sf-decision .sf-link-stack {
    max-width: none;
  }

  .sf-table {
    table-layout: auto;
    font-size: .92rem;
  }
}
.sf-link-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin-top: 10px;
}

.sf-link-stack a,
.sf-link-stack a:visited,
.sf-link-stack a.external,
.sf-link-stack a.external:visited {
  display: block;
  width: 100%;
  box-sizing: border-box;
  border-radius: 7px;
  padding: 7px 10px;
  text-align: left;
}