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: Difference between revisions

MediaWiki interface page
Created page with "CSS placed here will be applied to all skins: .av-guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 24px 0; } .av-guide-card { padding: 18px; border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; background: rgba(255,255,255,0.04); backdrop-filter: blur(6px); } .av-guide-card h3 { margin-top: 0; margin-bottom: 8px; } .av-guide-card p:last-child { margin-bottom: 0; }"
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
/* GRID */
.av-guide-grid {
.av-guide-grid {
   display: grid;
   display: grid;
Line 7: Line 9:
}
}


/* CARD BASE */
.av-guide-card {
.av-guide-card {
  position: relative;
   padding: 18px;
   padding: 18px;
  border: 1px solid rgba(255,255,255,0.12);
   border-radius: 14px;
   border-radius: 14px;
  /* Dark-mode default (glass style) */
   background: rgba(255,255,255,0.04);
   background: rgba(255,255,255,0.04);
   backdrop-filter: blur(6px);
   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 {
.av-guide-card h3 {
   margin-top: 0;
   margin-top: 0;
Line 22: Line 78:
.av-guide-card p:last-child {
.av-guide-card p:last-child {
   margin-bottom: 0;
   margin-bottom: 0;
}
/* SOLANDU */
@font-face {
  font-family: 'Solandu';
  src: url('/resources/assets/solandu.woff2') format('woff2');
}
.solandu {
  font-family: 'Solandu', sans-serif;
}
}

Latest revision as of 00:30, 2 May 2026

/* 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;
}

/* SOLANDU */
@font-face {
  font-family: 'Solandu';
  src: url('/resources/assets/solandu.woff2') format('woff2');
}

.solandu {
  font-family: 'Solandu', sans-serif;
}