MediaWiki:Eclipse.css
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* Modern Eclipse Tab Container */
.eclipse-modern-container {
max-width: 1000px;
margin: 0 auto;
padding: 20px;
background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
border-radius: 20px;
box-shadow: 0 8px 32px rgba(255, 107, 157, 0.08);
}
/* Modern Stats Grid */
.eclipse-stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 20px;
margin: 30px 0;
}
.eclipse-stat-card {
background: rgba(255, 255, 255, 0.9);
border: 1px solid rgba(255, 107, 157, 0.15);
border-radius: 16px;
padding: 25px 20px;
text-align: center;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
overflow: hidden;
}
.eclipse-stat-card::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 107, 157, 0.1), transparent);
transition: left 0.6s ease;
}
.eclipse-stat-card:hover::before {
left: 100%;
}
.eclipse-stat-card:hover {
transform: translateY(-8px) scale(1.02);
box-shadow: 0 12px 40px rgba(255, 107, 157, 0.2);
border-color: #ff6b9d;
}
.eclipse-stat-icon {
font-size: 2.5rem;
margin-bottom: 15px;
display: block;
}
.eclipse-stat-title {
font-size: 14px;
font-weight: 600;
color: #666666;
text-transform: uppercase;
letter-spacing: 1px;
margin-bottom: 8px;
}
.eclipse-stat-value {
font-size: 24px;
font-weight: 800;
background: linear-gradient(135deg, #ff6b9d, #d63384);
border: 2px solid rgba(255, 111, 163, 0.18);
border-radius: 14px;
border-color: rgba(255, 107, 157, 0.4);
box-shadow: 0 4px 12px rgba(255, 111, 163, 0.15);
}
/* Modern Content Cards */
.eclipse-content-card {
background: rgba(255, 255, 255, 0.95);
border: 1px solid rgba(255, 107, 157, 0.1);
border-radius: 20px;
padding: 30px;
margin: 25px 0;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
transition: all 0.3s ease;
position: relative;
}
.eclipse-content-card:hover {
transform: translateY(-2px);
box-shadow: 0 8px 30px rgba(255, 107, 157, 0.15);
border-color: rgba(255, 107, 157, 0.3);
}
.eclipse-card-header {
display: flex;
align-items: center;
margin-bottom: 20px;
padding-bottom: 15px;
border-bottom: 2px solid rgba(255, 107, 157, 0.1);
}
.eclipse-card-icon {
width: 50px;
height: 50px;
background: linear-gradient(135deg, #ff6b9d, #d63384);
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
margin-right: 15px;
font-size: 24px;
color: white;
}
.eclipse-card-title {
font-size: 22px;
font-weight: 700;
color: #2d2d2d;
margin: 0;
}
/* Modern Step List */
.eclipse-step-container {
position: relative;
padding-left: 0;
}
.eclipse-step {
display: flex;
align-items: flex-start;
margin-bottom: 30px;
position: relative;
}
.eclipse-step-number {
width: 50px;
height: 50px;
background: linear-gradient(135deg, #ff6b9d, #d63384);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-weight: 800;
font-size: 18px;
margin-right: 20px;
flex-shrink: 0;
box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
position: relative;
z-index: 2;
}
.eclipse-step-content {
flex: 1;
padding-top: 5px;
}
.eclipse-step-title {
font-size: 20px;
font-weight: 700;
color: #2d2d2d;
margin-bottom: 10px;
}
.eclipse-step-description {
color: #666666;
line-height: 1.6;
margin-bottom: 8px;
}
.eclipse-step-description:last-child {
margin-bottom: 0;
}
/* Connection Line Between Steps */
.eclipse-step:not(:last-child)::after {
content: '';
position: absolute;
left: 24px;
top: 50px;
width: 2px;
height: calc(100% - 20px);
background: linear-gradient(180deg, #ff6b9d, rgba(255, 107, 157, 0.3));
z-index: 1;
}
/* Modern Item Cards Grid */
.eclipse-items-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 20px;
margin: 25px 0;
}
.eclipse-item-card {
background: rgba(255, 255, 255, 0.9);
border: 1px solid rgba(255, 107, 157, 0.15);
border-radius: 16px;
padding: 25px;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}
.eclipse-item-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 4px;
background: linear-gradient(90deg, #ff6b9d, #ff8fb0);
transform: scaleX(0);
transition: transform 0.3s ease;
}
.eclipse-item-card:hover::before {
transform: scaleX(1);
}
.eclipse-item-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 30px rgba(255, 107, 157, 0.2);
border-color: #ff6b9d;
}
.eclipse-item-title {
font-size: 18px;
font-weight: 700;
color: #2d2d2d;
margin-bottom: 12px;
}
.eclipse-item-description {
color: #666666;
line-height: 1.5;
}
/* Modern Warning Box */
.eclipse-warning {
background: linear-gradient(135deg, rgba(255, 165, 0, 0.1), rgba(255, 193, 7, 0.05));
border: 1px solid rgba(255, 165, 0, 0.3);
border-left: 5px solid #ff9800;
border-radius: 16px;
padding: 25px;
margin: 25px 0;
position: relative;
}
.eclipse-warning-header {
display: flex;
align-items: center;
margin-bottom: 15px;
}
.eclipse-warning-icon {
font-size: 24px;
margin-right: 12px;
color: #ff9800;
}
.eclipse-warning-title {
font-size: 20px;
font-weight: 700;
color: #e65100;
margin: 0;
}
.eclipse-warning-list {
list-style: none;
padding: 0;
margin: 0;
}
.eclipse-warning-list li {
padding: 8px 0;
padding-left: 30px;
position: relative;
color: #2d2d2d;
line-height: 1.5;
}
.eclipse-warning-list li::before {
content: '⚠️';
position: absolute;
left: 0;
top: 8px;
font-size: 16px;
}
html[data-theme="dark"] .eclipse-modern-container { background: linear-gradient(135deg, #121a29 0%, #101625 100%); border-radius: 20px; box-shadow: 0 6px 24px rgba(123,187,255,.22); border: 1px solid rgba(159,208,255,.20) }
html[data-theme="dark"] .eclipse-stats-grid { gap: 20px }
html[data-theme="dark"] .eclipse-stat-card { background: #141c2a; border: 1px solid rgba(159,208,255,.20); box-shadow: 0 6px 24px rgba(123,187,255,.18) }
html[data-theme="dark"] .eclipse-stat-card:hover { border-color: rgba(159,208,255,.35); box-shadow: 0 12px 36px rgba(123,187,255,.25) }
html[data-theme="dark"] .eclipse-stat-title { color: #a8c6e8 }
html[data-theme="dark"] .eclipse-stat-icon { color: #cfe6ff }
html[data-theme="dark"] .eclipse-stat-value { background: linear-gradient(135deg, #274c77, #1b2b41); color: #cfe6ff; border-color: rgba(159,208,255,.30); box-shadow: 0 4px 12px rgba(39,76,119,.25) }
html[data-theme="dark"] .eclipse-content-card { background: #141c2a; border: 1px solid rgba(159,208,255,.18); box-shadow: 0 6px 24px rgba(123,187,255,.18) }
html[data-theme="dark"] .eclipse-card-header { border-bottom-color: rgba(159,208,255,.15) }
html[data-theme="dark"] .eclipse-card-icon { background: linear-gradient(135deg, #274c77, #1b2b41); color: #ffffff }
html[data-theme="dark"] .eclipse-card-title { color: #cfe6ff }
html[data-theme="dark"] .eclipse-step-number { background: linear-gradient(135deg, #274c77, #1b2b41); color: #ffffff; box-shadow: 0 4px 15px rgba(39,76,119,.30) }
html[data-theme="dark"] .eclipse-step-title { color: #cfe6ff }
html[data-theme="dark"] .eclipse-step-description { color: #a8c6e8 }
html[data-theme="dark"] .eclipse-step:not(:last-child)::after { background: linear-gradient(180deg, #274c77, rgba(39,76,119,0.4)) }
html[data-theme="dark"] .eclipse-items-grid { gap: 20px }
html[data-theme="dark"] .eclipse-item-card { background: #141c2a; border: 1px solid rgba(159,208,255,.20); box-shadow: 0 6px 24px rgba(123,187,255,.18) }
html[data-theme="dark"] .eclipse-item-title { color: #cfe6ff }
html[data-theme="dark"] .eclipse-item-description { color: #a8c6e8 }
html[data-theme="dark"] .eclipse-item-card:hover { border-color: rgba(159,208,255,.35); box-shadow: 0 12px 36px rgba(123,187,255,.25) }
html[data-theme="dark"] .eclipse-warning { background: linear-gradient(135deg, rgba(255, 193, 7, 0.08), rgba(255, 193, 7, 0.04)); border: 1px solid rgba(255, 193, 7, 0.30); border-left-color: #ffc107; color: #cfe6ff }
html[data-theme="dark"] .eclipse-warning-header { border-bottom-color: rgba(255, 193, 7, 0.25) }
html[data-theme="dark"] .eclipse-warning-icon { color: #ffc107 }
html[data-theme="dark"] .eclipse-warning-title { color: #ffd56b }
html[data-theme="dark"] .eclipse-warning-list li { color: #cfe6ff }
html[data-theme="dark"] span.tb { background: #1a2332; color: #9fd0ff; border: 1px solid rgba(159,208,255,.25); box-shadow: 0 2px 6px rgba(123,187,255,.25); border-radius: 10px; padding: 4px 8px }
html[data-theme="dark"] .step-tab { background: #141c2a; color: #cfe6ff; border: 1px solid rgba(159,208,255,.25) }
html[data-theme="dark"] .nav-step { background: #0f1422; color: #cfe6ff; border: 1px solid rgba(159,208,255,.20) }
html[data-theme="dark"] .guide-card { background: #141c2a; color: #cfe6ff; border: 1px solid rgba(159,208,255,.18) }
html[data-theme="dark"] .quest-type-content { background: #121a29; color: #cfe6ff; border: 1px solid rgba(159,208,255,.18) }
html[data-theme="dark"] .quest-type-header { color: #9fd0ff; border-bottom: 2px solid rgba(159,208,255,.35) }
html[data-theme="dark"] .tip-card { background: rgba(20,26,38,.92); border: 1px solid rgba(159,208,255,.18); color: #cfe6ff; box-shadow: 0 6px 24px rgba(123,187,255,.18) }