MediaWiki:Common.css

From AnarchyMU Wiki
Revision as of 14:39, 14 March 2026 by Admin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.
/* AnarchyMU wiki homepage layout */

.guide-hero {
  background: linear-gradient(180deg, rgba(18, 19, 25, 0.95) 0%, rgba(11, 12, 17, 0.98) 100%);
  border: 1px solid #332711;
  border-radius: 16px;
  padding: 24px;
  margin: 12px 0 24px 0;
}

.guide-hero h1 {
  margin: 0 0 10px 0;
  color: #f1c36b;
}

.guide-hero p {
  margin: 0;
  line-height: 1.7;
  color: #e8dcc0;
}

.cta-panel {
  background: linear-gradient(180deg, rgba(18, 19, 25, 0.95) 0%, rgba(11, 12, 17, 0.98) 100%);
  border: 1px solid #332711;
  border-radius: 16px;
  padding: 22px;
  margin: 18px 0 30px 0;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.cta-panel-title {
  font-size: 24px;
  font-weight: 700;
  color: #e2b45d;
  margin: 0 0 8px 0;
}

.cta-panel-text {
  color: #e8dcc0;
  margin: 0 0 18px 0;
  line-height: 1.6;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 18px 0 8px 0;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  height: 52px;
  padding: 0 22px;
  border-radius: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
  background: linear-gradient(180deg, #f3d38a 0%, #d2a44a 48%, #8d5f1d 100%);
  border: 1px solid #6d4916;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 8px 18px rgba(0, 0, 0, 0.28);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.cta-link a {
  color: #1a140a !important;
  text-decoration: none !important;
  display: inline-block;
  width: 100%;
  text-align: center;
  line-height: 52px;
  font-weight: 700;
}

.cta-link:hover {
  transform: translateY(-2px);
  border-color: #9a6a22;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 12px 24px rgba(0, 0, 0, 0.34);
}

.cta-link.secondary {
  background: linear-gradient(180deg, #2b2d36 0%, #1a1b22 50%, #0f1015 100%);
  border: 1px solid #56401e;
}

.cta-link.secondary a {
  color: #f2e7d0 !important;
}

.cta-link.secondary:hover a {
  color: #ffd27a !important;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 20px 0 30px 0;
}

.guide-card {
  background: #0b0b0f;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  transition: all 0.2s ease;
  overflow: hidden;
}

.guide-card:hover {
  transform: translateY(-4px);
  border-color: #c89b3c;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.guide-card img {
  display: block;
  width: 100%;
  border-radius: 8px;
  margin: 0 auto 10px auto;
}

.event-card img {
  height: 260px;
  object-fit: cover;
  object-position: center;
}

.class-card img {
  height: 340px;
  object-fit: contain;
  object-position: center;
  background: #000;
}

.no-image {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #1a1c24 0%, #101219 100%);
}

.no-image a {
  color: #f2f2f2 !important;
  font-weight: 700;
  text-decoration: none !important;
}

.no-image a:hover {
  color: #d4af37 !important;
}

.guide-card a {
  color: #f2f2f2 !important;
  font-weight: 700;
  text-decoration: none;
}

.guide-card a:hover {
  color: #d4af37 !important;
  text-decoration: none;
}

@media (max-width: 1200px) {
  .guide-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

@media (max-width: 600px) {
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .cta-link {
    min-width: 100%;
  }
}

/* Timeless skin title position hotfix */
@media screen and (min-width: 851px) {
  #p-logo-text a,
  #p-logo-text a.long {
    position: static !important;
    right: auto !important;
    left: auto !important;
    top: auto !important;
    margin: 0 !important;
    text-decoration: none !important;
  }
}