Tags: Manual revert Reverted |
Tags: Blanking Manual revert |
| (77 intermediate revisions by the same user not shown) |
| Line 1: |
Line 1: |
| /* MainPage2 responsive styles - Vector Legacy friendly, pink theme */
| |
| :root {
| |
| --pink-50: #fff0f6;
| |
| --pink-100: #ffd9e9;
| |
| --pink-200: #ffb3cf;
| |
| --pink-300: #ff8cb6;
| |
| --pink-400: #ff6fa3;
| |
| --pink-500: #ff4f91;
| |
| --pink-600: #e93c81;
| |
| --pink-700: #d02f72;
| |
| --pink-800: #b32561;
| |
| --pink-900: #8d1c4b;
| |
| --ink-900: #222;
| |
| --ink-700: #444;
| |
| --ink-500: #666;
| |
| --surface: #ffffff;
| |
| --border: rgba(0,0,0,0.08);
| |
| --shadow: 0 6px 24px rgba(255, 79, 145, 0.18);
| |
| --radius-lg: 20px;
| |
| --radius-md: 14px;
| |
| --radius-sm: 10px;
| |
| --container-max: 1200px;
| |
| }
| |
|
| |
|
| * { box-sizing: border-box; }
| |
| html, body { height: 100%; }
| |
| body {
| |
| margin: 0;
| |
| font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
| |
| color: var(--ink-900);
| |
| background: linear-gradient(135deg, var(--pink-50), var(--pink-100) 40%, var(--pink-200));
| |
| }
| |
|
| |
| .mw-page-scope { padding: 16px; }
| |
|
| |
| /* Utility banner (keeps MediaWiki file syntax intact) */
| |
| .utility-banner { position: relative; min-height: 48px; }
| |
| .utility-banner > * { position: absolute; top: 0; right: 8px; }
| |
|
| |
| /* Hero */
| |
| .hero {
| |
| background: rgba(255,255,255,0.85);
| |
| border: 2px solid rgba(255, 111, 163, 0.18);
| |
| border-radius: var(--radius-lg);
| |
| max-width: var(--container-max);
| |
| margin: 0 auto 16px auto;
| |
| box-shadow: var(--shadow);
| |
| backdrop-filter: blur(10px);
| |
| }
| |
| .hero-inner { padding: clamp(18px, 3vw, 36px); text-align: center; }
| |
| .hero-title {
| |
| margin: 8px 0 4px 0;
| |
| font-size: clamp(22px, 4vw, 36px);
| |
| font-weight: 800;
| |
| background: linear-gradient(135deg, var(--pink-500), var(--pink-700));
| |
| -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
| |
| }
| |
| .hero-subtitle { color: var(--ink-500); font-size: clamp(14px, 2.2vw, 18px); }
| |
| .status-pill {
| |
| display: inline-block; margin-top: 10px; padding: 8px 14px; border-radius: 999px; font-weight: 700;
| |
| color: #fff; background: linear-gradient(135deg, var(--pink-500), var(--pink-700));
| |
| }
| |
|
| |
| /* Tabs */
| |
| .nav-tabs {
| |
| display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center;
| |
| background: rgba(255,255,255,0.9);
| |
| border: 2px solid rgba(255, 111, 163, 0.18);
| |
| border-radius: var(--radius-lg);
| |
| max-width: var(--container-max);
| |
| margin: 0 auto 16px auto; padding: 8px;
| |
| box-shadow: var(--shadow);
| |
| }
| |
| .nav-tab {
| |
| appearance: none; border: 0; cursor: pointer;
| |
| padding: 12px 16px; border-radius: var(--radius-md); font-weight: 700;
| |
| color: var(--ink-700); background: rgba(255,255,255,0.8);
| |
| border: 2px solid transparent; min-width: 120px; flex: 1 1 160px;
| |
| transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
| |
| }
| |
| .nav-tab:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--pink-900); }
| |
| .nav-tab.active { background: linear-gradient(135deg, var(--pink-500), var(--pink-700)); color: #fff; }
| |
| .nav-tab .short-text { display: none; }
| |
|
| |
| /* Content */
| |
| .content { max-width: var(--container-max); margin: 0 auto; }
| |
| .tab-content {
| |
| display: none; background: rgba(255,255,255,0.98); border-radius: var(--radius-lg);
| |
| border: 2px solid rgba(255, 111, 163, 0.18); box-shadow: var(--shadow);
| |
| padding: clamp(16px, 3vw, 36px);
| |
| }
| |
| .tab-content.active { display: block; animation: fadeIn .35s ease; }
| |
| @keyframes fadeIn { from { opacity: 0; transform: translateY(8px);} to { opacity: 1; transform: translateY(0);} }
| |
|
| |
| .section-header { text-align: center; margin-bottom: clamp(12px, 2.5vw, 24px); }
| |
| .section-header h2 {
| |
| margin: 0; font-size: clamp(20px, 3vw, 28px); color: var(--ink-900);
| |
| border-bottom: 2px solid var(--pink-500); display: inline-block; padding-bottom: 6px;
| |
| }
| |
| .section-lead { margin-top: 6px; color: var(--ink-500); font-size: clamp(13px, 2vw, 16px); }
| |
|
| |
| /* Highlights */
| |
| .highlights-grid {
| |
| display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(10px, 2vw, 16px);
| |
| }
| |
| .card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
| |
| .card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
| |
| .card-media { text-align: center; padding-top: 6px; }
| |
| .card-body { padding: 10px 12px; }
| |
| .card-title { margin: 0; font-size: clamp(14px, 2.2vw, 18px); color: var(--ink-900); text-align: center; }
| |
|
| |
| /* Info grid */
| |
| .info-grid { display: grid; gap: clamp(10px, 2vw, 16px); grid-template-columns: repeat(3, 1fr); margin-top: clamp(12px, 2.5vw, 24px); }
| |
| .info-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: clamp(12px, 2.5vw, 18px); }
| |
| .inline-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 14px; }
| |
| .inline-list li { white-space: nowrap; }
| |
|
| |
| /* Table-like responsive columns */
| |
| .wikitable-like { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
| |
| .wikitable-like .column { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 16px; }
| |
| .wikitable-like ul { margin: 0; padding-left: 18px; }
| |
|
| |
| /* Sidebar */
| |
| .sidebar { margin-top: 16px; }
| |
| .sidebar-inner { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 16px; box-shadow: var(--shadow); }
| |
| .sidebar-title { margin: 0 0 8px 0; font-size: clamp(16px, 2.5vw, 20px); }
| |
| .sidebar-list { margin: 0; padding-left: 18px; }
| |
|
| |
| /* Footer */
| |
| .tab-footer { display: flex; justify-content: center; margin-top: clamp(12px, 2.5vw, 24px); }
| |
| .back-to-top { display: inline-block; padding: 10px 16px; font-weight: 700; border-radius: 999px; text-decoration: none; color: #fff; background: linear-gradient(135deg, var(--pink-500), var(--pink-700)); }
| |
|
| |
| /* Responsiveness */
| |
| @media (max-width: 1200px) {
| |
| .highlights-grid { grid-template-columns: repeat(3, 1fr); }
| |
| }
| |
| @media (max-width: 900px) {
| |
| .nav-tab { flex: 1 1 44%; min-width: 44%; }
| |
| .highlights-grid { grid-template-columns: repeat(2, 1fr); }
| |
| .info-grid { grid-template-columns: repeat(2, 1fr); }
| |
| }
| |
| @media (max-width: 600px) {
| |
| .nav-tab { flex: 1 1 100%; min-width: 100%; }
| |
| .nav-tab .full-text { display: none; }
| |
| .nav-tab .short-text { display: inline; }
| |
| .highlights-grid { grid-template-columns: 1fr; }
| |
| .info-grid { grid-template-columns: 1fr; }
| |
| .wikitable-like { grid-template-columns: 1fr; }
| |
| }
| |