MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Tag: Rollback |
No edit summary |
||
| Line 1: | Line 1: | ||
/* | /* ═══════════════════════════════════════════════════════ | ||
TimeRO Wiki – Clean & Safe Design System | |||
═══════════════════════════════════════════════════════ */ | |||
/ | |||
/* | /* ── Fonts ─────────────────────────────────────────── */ | ||
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;700;900&family=Rajdhani:wght@400;500;700&display=swap'); | |||
/* ── Root Wrapper ─────────────────────────────────── */ | |||
font- | .timero-wiki-root { | ||
font-family: 'Rajdhani', system-ui, sans-serif; | |||
} | } | ||
/* | /* Titles */ | ||
.timero-wiki-root h2 { | |||
font-family: 'Barlow Condensed', sans-serif; | |||
border: none; | |||
margin-bottom: 10px; | |||
} | } | ||
/* | /* ── Layout Sections ─────────────────────────────── */ | ||
.timero-section { | |||
margin: 40px 0; | |||
} | } | ||
/* | /* ── Grid System ────────────────────────────────── */ | ||
.timero-grid { | |||
display: grid; | |||
gap: 20px; | |||
} | } | ||
.timero-grid-2 { grid-template-columns: repeat(2, 1fr); } | |||
.timero-grid-3 { grid-template-columns: repeat(3, 1fr); } | |||
.timero-grid-4 { grid-template-columns: repeat(4, 1fr); } | |||
/* ── Cards ───────────────────────────────────────── */ | |||
.timero-card { | |||
background: rgba(15, 20, 30, 0.85); | |||
border: 1px solid rgba(0, 212, 255, 0.15); | |||
border-radius: 16px; | |||
padding: 20px; | |||
transition: all 0.25s ease; | |||
} | } | ||
.timero-card:hover { | |||
transform: translateY(-5px); | |||
box-shadow: 0 15px 40px rgba(0, 212, 255, 0.2); | |||
border-color: rgba(0, 212, 255, 0.4); | |||
} | } | ||
/* ── Buttons ─────────────────────────────────────── */ | |||
.timero-btn { | |||
display: inline-block; | |||
padding: 10px 18px; | |||
border-radius: 10px; | |||
font-weight: 600; | |||
background: linear-gradient(135deg, #00d4ff, #7b2cff); | |||
color: white !important; | |||
text-decoration: none; | |||
transition: all 0.2s ease; | |||
} | } | ||
.timero-btn:hover { | |||
transform: translateY(-3px); | |||
box-shadow: 0 10px 25px rgba(0, 212, 255, 0.4); | |||
} | } | ||
/* ── Hero Section ───────────────────────────────── */ | |||
.timero-hero { | |||
padding: 60px 30px; | |||
border-radius: 20px; | |||
/* | |||
border | |||
text-align: center; | text-align: center; | ||
background: linear-gradient(135deg, #0f172a, #1e293b); | |||
border: 1px solid rgba(0, 212, 255, 0.15); | |||
margin-bottom: 40px; | |||
} | } | ||
.timero-hero h1 { | |||
font-size: 42px; | |||
margin-bottom: 10px; | |||
} | } | ||
.timero-hero p { | |||
opacity: 0.85; | |||
} | } | ||
/* ── Glow Animation ─────────────────────────────── */ | |||
@keyframes timero-glow { | |||
0%,100% { box-shadow: 0 0 10px rgba(0,212,255,0.2); } | |||
50% { box-shadow: 0 0 25px rgba(0,212,255,0.5); } | |||
} | } | ||
/* ── Responsive ─────────────────────────────────── */ | |||
@media (max-width: 900px) { | |||
.timero-grid-4 { grid-template-columns: repeat(2, 1fr); } | |||
.timero-grid-3 { grid-template-columns: repeat(2, 1fr); } | |||
/* | |||
} | |||
. | |||
} | |||
} | } | ||
@media (max-width: 600px) { | |||
.timero-grid-4, | |||
.timero-grid-3, | |||
.timero-grid-2 { | |||
grid-template-columns: 1fr; | |||
. | |||
} | } | ||
} | } | ||
Revision as of 18:33, 12 April 2026
/* ═══════════════════════════════════════════════════════
TimeRO Wiki – Clean & Safe Design System
═══════════════════════════════════════════════════════ */
/* ── Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;700;900&family=Rajdhani:wght@400;500;700&display=swap');
/* ── Root Wrapper ─────────────────────────────────── */
.timero-wiki-root {
font-family: 'Rajdhani', system-ui, sans-serif;
}
/* Titles */
.timero-wiki-root h2 {
font-family: 'Barlow Condensed', sans-serif;
border: none;
margin-bottom: 10px;
}
/* ── Layout Sections ─────────────────────────────── */
.timero-section {
margin: 40px 0;
}
/* ── Grid System ────────────────────────────────── */
.timero-grid {
display: grid;
gap: 20px;
}
.timero-grid-2 { grid-template-columns: repeat(2, 1fr); }
.timero-grid-3 { grid-template-columns: repeat(3, 1fr); }
.timero-grid-4 { grid-template-columns: repeat(4, 1fr); }
/* ── Cards ───────────────────────────────────────── */
.timero-card {
background: rgba(15, 20, 30, 0.85);
border: 1px solid rgba(0, 212, 255, 0.15);
border-radius: 16px;
padding: 20px;
transition: all 0.25s ease;
}
.timero-card:hover {
transform: translateY(-5px);
box-shadow: 0 15px 40px rgba(0, 212, 255, 0.2);
border-color: rgba(0, 212, 255, 0.4);
}
/* ── Buttons ─────────────────────────────────────── */
.timero-btn {
display: inline-block;
padding: 10px 18px;
border-radius: 10px;
font-weight: 600;
background: linear-gradient(135deg, #00d4ff, #7b2cff);
color: white !important;
text-decoration: none;
transition: all 0.2s ease;
}
.timero-btn:hover {
transform: translateY(-3px);
box-shadow: 0 10px 25px rgba(0, 212, 255, 0.4);
}
/* ── Hero Section ───────────────────────────────── */
.timero-hero {
padding: 60px 30px;
border-radius: 20px;
text-align: center;
background: linear-gradient(135deg, #0f172a, #1e293b);
border: 1px solid rgba(0, 212, 255, 0.15);
margin-bottom: 40px;
}
.timero-hero h1 {
font-size: 42px;
margin-bottom: 10px;
}
.timero-hero p {
opacity: 0.85;
}
/* ── Glow Animation ─────────────────────────────── */
@keyframes timero-glow {
0%,100% { box-shadow: 0 0 10px rgba(0,212,255,0.2); }
50% { box-shadow: 0 0 25px rgba(0,212,255,0.5); }
}
/* ── Responsive ─────────────────────────────────── */
@media (max-width: 900px) {
.timero-grid-4 { grid-template-columns: repeat(2, 1fr); }
.timero-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
.timero-grid-4,
.timero-grid-3,
.timero-grid-2 {
grid-template-columns: 1fr;
}
}