Tags: Manual revert Reverted |
Tags: Blanking Manual revert |
| (75 intermediate revisions by the same user not shown) |
| Line 1: |
Line 1: |
| /* ========================================
| |
| CORA TO WIKI - PINK THEME SYSTEM
| |
| Designed for Vector Legacy 2010
| |
| Responsive, Modern, Elegant Design
| |
| ======================================== */
| |
|
| |
|
| /* MAIN THEME VARIABLES */
| |
| :root {
| |
| /* BRAND COLORS - Pink Palette */
| |
| --primary-pink: #ff6b9d;
| |
| --secondary-pink: #ffc3e0;
| |
| --accent-pink: #ff8fb0;
| |
| --light-pink: #fff0f7;
| |
| --dark-pink: #d63384;
| |
| --pink-gradient: linear-gradient(135deg, #ff6b9d 0%, #ffc3e0 100%);
| |
| --pink-glass: rgba(255, 107, 157, 0.15);
| |
| --pink-shadow: rgba(255, 107, 157, 0.3);
| |
| --pink-border: rgba(255, 107, 157, 0.2);
| |
|
| |
| /* NEUTRAL COLORS */
| |
| --text-primary: #2d2d2d;
| |
| --text-secondary: #666666;
| |
| --text-muted: #999999;
| |
| --background-primary: #ffffff;
| |
| --background-secondary: #fafafa;
| |
| --background-tertiary: #f5f5f5;
| |
| --border-color: #e0e0e0;
| |
| --border-light: #f0f0f0;
| |
|
| |
| /* LAYOUT VARIABLES */
| |
| --sidebar-width: 220px;
| |
| --content-margin: calc(var(--sidebar-width) + 20px);
| |
| --border-radius: 12px;
| |
| --border-radius-small: 8px;
| |
| --spacing-xs: 4px;
| |
| --spacing-sm: 8px;
| |
| --spacing-md: 16px;
| |
| --spacing-lg: 24px;
| |
| --spacing-xl: 32px;
| |
|
| |
| /* SHADOWS AND EFFECTS */
| |
| --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.05);
| |
| --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.1);
| |
| --shadow-heavy: 0 8px 32px rgba(0, 0, 0, 0.15);
| |
| --shadow-pink: 0 4px 20px var(--pink-shadow);
| |
| --shadow-pink-hover: 0 8px 30px var(--pink-shadow);
| |
| --blur-glass: blur(10px);
| |
|
| |
| /* TRANSITIONS */
| |
| --transition-fast: 0.15s ease;
| |
| --transition-normal: 0.3s ease;
| |
| --transition-slow: 0.5s ease;
| |
| }
| |
|
| |
| /* GLOBAL BASE STYLES */
| |
| * {
| |
| box-sizing: border-box;
| |
| }
| |
|
| |
| body {
| |
| font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif !important;
| |
| line-height: 1.6 !important;
| |
| color: var(--text-primary) !important;
| |
| background: var(--pink-gradient) !important;
| |
| background-attachment: fixed !important;
| |
| margin: 0 !important;
| |
| padding: 0 !important;
| |
| min-height: 100vh !important;
| |
| }
| |
|
| |
| /* MAIN CONTENT CONTAINER */
| |
| body.skin-vector-legacy #content,
| |
| body.skin-vector-legacy .mw-body {
| |
| background: var(--background-primary) !important;
| |
| border: 1px solid var(--border-light) !important;
| |
| border-radius: var(--border-radius) !important;
| |
| box-shadow: var(--shadow-medium) !important;
| |
| /* Removed margin-left to avoid conflicts; handled in cora-sidebar-vector.css */
| |
| margin-top: var(--spacing-lg) !important;
| |
| margin-bottom: var(--spacing-lg) !important;
| |
| margin-right: var(--spacing-lg) !important;
| |
| padding: var(--spacing-xl) !important;
| |
| position: relative !important;
| |
| backdrop-filter: var(--blur-glass) !important;
| |
| overflow: visible !important;
| |
| }
| |
|
| |
| #content::before,
| |
| .mw-body::before {
| |
| content: '' !important;
| |
| position: absolute !important;
| |
| top: -1px !important;
| |
| left: -1px !important;
| |
| right: -1px !important;
| |
| bottom: -1px !important;
| |
| background: var(--pink-gradient) !important;
| |
| border-radius: var(--border-radius) !important;
| |
| z-index: -1 !important;
| |
| opacity: 0.1 !important;
| |
| }
| |
|
| |
| /* HEADINGS STYLE */
| |
| h1, h2, h3, h4, h5, h6 {
| |
| color: var(--primary-pink) !important;
| |
| font-weight: 700 !important;
| |
| margin-bottom: var(--spacing-md) !important;
| |
| margin-top: var(--spacing-lg) !important;
| |
| }
| |
|
| |
| h1 {
| |
| background: var(--pink-gradient) !important;
| |
| -webkit-background-clip: text !important;
| |
| -webkit-text-fill-color: transparent !important;
| |
| background-clip: text !important;
| |
| font-size: 2.5em !important;
| |
| }
| |
|
| |
| /* LINKS */
| |
| a {
| |
| color: var(--primary-pink) !important;
| |
| text-decoration: none !important;
| |
| transition: var(--transition-normal) !important;
| |
| }
| |
|
| |
| a:hover {
| |
| color: var(--dark-pink) !important;
| |
| text-decoration: underline !important;
| |
| }
| |
|
| |
| /* BUTTONS */
| |
| .mw-ui-button,
| |
| .oo-ui-buttonElement-button,
| |
| button {
| |
| background: var(--pink-gradient) !important;
| |
| color: white !important;
| |
| border: none !important;
| |
| border-radius: var(--border-radius-small) !important;
| |
| padding: var(--spacing-sm) var(--spacing-md) !important;
| |
| font-weight: 600 !important;
| |
| cursor: pointer !important;
| |
| transition: var(--transition-normal) !important;
| |
| box-shadow: var(--shadow-light) !important;
| |
| }
| |
|
| |
| .mw-ui-button:hover,
| |
| .oo-ui-buttonElement-button:hover,
| |
| button:hover {
| |
| transform: translateY(-2px) !important;
| |
| box-shadow: var(--shadow-pink-hover) !important;
| |
| }
| |
|
| |
| /* TABLES */
| |
| table.wikitable,
| |
| .mw-datatable {
| |
| background: var(--background-primary) !important;
| |
| border: 1px solid var(--border-light) !important;
| |
| border-radius: var(--border-radius-small) !important;
| |
| box-shadow: var(--shadow-light) !important;
| |
| overflow: hidden !important;
| |
| }
| |
|
| |
| table.wikitable th,
| |
| .mw-datatable th {
| |
| background: var(--secondary-pink) !important;
| |
| color: var(--text-primary) !important;
| |
| font-weight: 700 !important;
| |
| padding: var(--spacing-md) !important;
| |
| border-bottom: 2px solid var(--primary-pink) !important;
| |
| }
| |
|
| |
| table.wikitable td,
| |
| .mw-datatable td {
| |
| padding: var(--spacing-md) !important;
| |
| border-bottom: 1px solid var(--border-light) !important;
| |
| }
| |
|
| |
| table.wikitable tr:hover,
| |
| .mw-datatable tr:hover {
| |
| background: var(--light-pink) !important;
| |
| }
| |
|
| |
| /* NOTE: Sidebar styling moved to cora-sidebar-vector.css to avoid conflicts */
| |
|
| |
| /* RESPONSIVE DESIGN */
| |
| @media screen and (max-width: 1200px) {
| |
| :root {
| |
| --sidebar-width: 200px;
| |
| --content-margin: 220px;
| |
| }
| |
| }
| |
|
| |
| @media screen and (max-width: 1024px) {
| |
| :root {
| |
| --sidebar-width: 180px;
| |
| --content-margin: 200px;
| |
| }
| |
|
| |
| body.skin-vector-legacy #content,
| |
| body.skin-vector-legacy .mw-body {
| |
| margin-right: var(--spacing-md) !important;
| |
| padding: var(--spacing-lg) !important;
| |
| }
| |
| }
| |
|
| |
| @media screen and (max-width: 768px) {
| |
| body.skin-vector-legacy #content,
| |
| body.skin-vector-legacy .mw-body {
| |
| /* Do not set margin-left at mobile; sidebar file controls it */
| |
| margin-right: var(--spacing-md) !important;
| |
| margin-top: var(--spacing-md) !important;
| |
| padding: var(--spacing-lg) !important;
| |
| }
| |
| }
| |
|
| |
| @media screen and (max-width: 480px) {
| |
| :root {
| |
| --border-radius: 8px;
| |
| --spacing-xl: 16px;
| |
| --spacing-lg: 12px;
| |
| }
| |
|
| |
| body.skin-vector-legacy #content,
| |
| body.skin-vector-legacy .mw-body {
| |
| /* Replace shorthand margin to avoid overriding left offset from sidebar */
| |
| margin-top: var(--spacing-sm) !important;
| |
| margin-right: var(--spacing-sm) !important;
| |
| margin-bottom: var(--spacing-sm) !important;
| |
| /* intentionally omit margin-left here */
| |
| padding: var(--spacing-md) !important;
| |
| border-radius: var(--border-radius-small) !important;
| |
| }
| |
|
| |
| h1 {
| |
| font-size: 1.8em !important;
| |
| }
| |
|
| |
| /* Removed portal margin overrides to avoid leaking sidebar rules here */
| |
| /* #mw-panel .portal, #mw-panel .vector-menu-portal { margin: 0 var(--spacing-sm) var(--spacing-md) !important; } */
| |
| }
| |
|
| |
| /* ACCESSIBILITY IMPROVEMENTS */
| |
| @media (prefers-reduced-motion: reduce) {
| |
| * {
| |
| animation-duration: 0.01ms !important;
| |
| animation-iteration-count: 1 !important;
| |
| transition-duration: 0.01ms !important;
| |
| }
| |
| }
| |
|
| |
| @media (prefers-contrast: high) {
| |
| :root {
| |
| --primary-pink: #d63384;
| |
| --text-primary: #000000;
| |
| --border-color: #333333;
| |
| }
| |
| }
| |
|
| |
| /* PRINT STYLES */
| |
| @media print {
| |
| /* Hide chrome elements for print; scoped to Vector Legacy */
| |
| body.skin-vector-legacy #mw-panel,
| |
| body.skin-vector-legacy #mw-head,
| |
| body.skin-vector-legacy .vector-menu-tabs,
| |
| body.skin-vector-legacy #footer {
| |
| display: none !important;
| |
| }
| |
|
| |
| body.skin-vector-legacy #content,
| |
| body.skin-vector-legacy .mw-body {
| |
| margin: 0 !important;
| |
| padding: 0 !important;
| |
| box-shadow: none !important;
| |
| border: none !important;
| |
| background: white !important;
| |
| }
| |
|
| |
| body { background: white !important; }
| |
| * { color: black !important; }
| |
| }
| |
|
| |
| /* ANIMATION KEYFRAMES */
| |
| @keyframes fadeInUp {
| |
| from {
| |
| opacity: 0;
| |
| transform: translateY(20px);
| |
| }
| |
| to {
| |
| opacity: 1;
| |
| transform: translateY(0);
| |
| }
| |
| }
| |
|
| |
| @keyframes pulse {
| |
| 0%, 100% {
| |
| opacity: 1;
| |
| }
| |
| 50% {
| |
| opacity: 0.7;
| |
| }
| |
| }
| |
|
| |
| @keyframes slideInLeft {
| |
| from {
| |
| transform: translateX(-100%);
| |
| }
| |
| to {
| |
| transform: translateX(0);
| |
| }
| |
| }
| |
|
| |
| /* UTILITY CLASSES */
| |
| .fade-in {
| |
| animation: fadeInUp 0.6s ease-out;
| |
| }
| |
|
| |
| .pulse {
| |
| animation: pulse 2s infinite;
| |
| }
| |
|
| |
| .glass-effect {
| |
| background: rgba(255, 255, 255, 0.8) !important;
| |
| backdrop-filter: var(--blur-glass) !important;
| |
| border: 1px solid var(--pink-border) !important;
| |
| }
| |
|
| |
| .pink-gradient-text {
| |
| background: var(--pink-gradient) !important;
| |
| -webkit-background-clip: text !important;
| |
| -webkit-text-fill-color: transparent !important;
| |
| background-clip: text !important;
| |
| }
| |
|
| |
| /* SPECIAL ELEMENTS */
| |
| .mw-editsection {
| |
| color: var(--accent-pink) !important;
| |
| font-size: 0.8em !important;
| |
| }
| |
|
| |
| .mw-headline {
| |
| border-bottom: 2px solid var(--pink-border) !important;
| |
| padding-bottom: var(--spacing-sm) !important;
| |
| }
| |
|
| |
| /* FORM ELEMENTS */
| |
| input[type="text"],
| |
| input[type="search"],
| |
| textarea,
| |
| select {
| |
| border: 2px solid var(--border-light) !important;
| |
| border-radius: var(--border-radius-small) !important;
| |
| padding: var(--spacing-sm) var(--spacing-md) !important;
| |
| font-family: inherit !important;
| |
| transition: var(--transition-fast) !important;
| |
| }
| |
|
| |
| input[type="text"]:focus,
| |
| input[type="search"]:focus,
| |
| textarea:focus,
| |
| select:focus {
| |
| border-color: var(--primary-pink) !important;
| |
| outline: none !important;
| |
| box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.2) !important;
| |
| }
| |