MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 78: | 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;
}