Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css

MediaWiki interface page
Revision as of 07:23, 1 May 2026 by Aztl (talk | contribs)

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.
/* CSS placed here will be applied to all skins */

/* GRID */
.av-guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

/* CARD BASE */
.av-guide-card {
  position: relative;
  padding: 18px;
  border-radius: 14px;

  /* Dark-mode default (glass style) */
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(6px);

  border: 1px solid rgba(255,255,255,0.12);

  box-shadow:
    0 4px 16px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.06);

  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* ACCENT STRIPE */
.av-guide-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(
    to bottom,
    #24e3d3,
    #12b1a3
  );
}

/* HOVER (DARK DEFAULT) */
.av-guide-card:hover {
  transform: translateY(-2px);

  box-shadow:
    0 8px 24px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.08);
}

/* LIGHT MODE OVERRIDES */
.skin-theme-clientpref-day .av-guide-card {
  background: rgba(255,255,255,0.7);

  border: 1px solid rgba(0,0,0,0.08);

  box-shadow:
    0 4px 12px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.6);
}

.skin-theme-clientpref-day .av-guide-card:hover {
  box-shadow:
    0 8px 20px rgba(0,0,0,0.12),
    inset 0 1px 0 rgba(255,255,255,0.7);
}

/* TEXT SPACING */
.av-guide-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.av-guide-card p:last-child {
  margin-bottom: 0;
}