MediaWiki:Eclipse.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 5: | Line 5: | ||
margin: 0 auto; | margin: 0 auto; | ||
padding: 20px; | padding: 20px; | ||
background: | background: var(--bg); | ||
border-radius: 20px; | border-radius: 20px; | ||
box-shadow: 0 8px 32px | box-shadow: 0 8px 32px var(--shadow-soft); | ||
} | } | ||
| Line 19: | Line 19: | ||
.eclipse-stat-card { | .eclipse-stat-card { | ||
background: | background: var(--bg-1); | ||
border: 1px solid | border: 1px solid var(--border); | ||
border-radius: 16px; | border-radius: 16px; | ||
padding: 25px 20px; | padding: 25px 20px; | ||
| Line 46: | Line 46: | ||
.eclipse-stat-card:hover { | .eclipse-stat-card:hover { | ||
transform: translateY(-8px) scale(1.02); | transform: translateY(-8px) scale(1.02); | ||
box-shadow: 0 12px 40px | box-shadow: 0 12px 40px var(--shadow-medium); | ||
border-color: | border-color: var(--border-strong); | ||
} | } | ||
| Line 59: | Line 59: | ||
font-size: 14px; | font-size: 14px; | ||
font-weight: 600; | font-weight: 600; | ||
color: | color: var(--text-muted); | ||
text-transform: uppercase; | text-transform: uppercase; | ||
letter-spacing: 1px; | letter-spacing: 1px; | ||
| Line 68: | Line 68: | ||
font-size: 24px; | font-size: 24px; | ||
font-weight: 800; | font-weight: 800; | ||
background: | background: var(--primary); | ||
border: 2px solid | border: 2px solid var(--border); | ||
border-radius: 14px; | border-radius: 14px; | ||
border-color: | border-color: var(--border-strong); | ||
box-shadow: 0 4px 12px | box-shadow: 0 4px 12px var(--shadow-soft); | ||
} | } | ||
/* Modern Content Cards */ | /* Modern Content Cards */ | ||
.eclipse-content-card { | .eclipse-content-card { | ||
background: | background: var(--bg-1); | ||
border: 1px solid | border: 1px solid var(--border); | ||
border-radius: 20px; | border-radius: 20px; | ||
padding: 30px; | padding: 30px; | ||
margin: 25px 0; | margin: 25px 0; | ||
box-shadow: 0 4px 20px | box-shadow: 0 4px 20px var(--shadow-soft); | ||
transition: all 0.3s ease; | transition: all 0.3s ease; | ||
position: relative; | position: relative; | ||
| Line 89: | Line 89: | ||
.eclipse-content-card:hover { | .eclipse-content-card:hover { | ||
transform: translateY(-2px); | transform: translateY(-2px); | ||
box-shadow: 0 8px 30px | box-shadow: 0 8px 30px var(--shadow-medium); | ||
border-color: | border-color: var(--border-strong); | ||
} | } | ||
| Line 98: | Line 98: | ||
margin-bottom: 20px; | margin-bottom: 20px; | ||
padding-bottom: 15px; | padding-bottom: 15px; | ||
border-bottom: 2px solid | border-bottom: 2px solid var(--border); | ||
} | } | ||
| Line 104: | Line 104: | ||
width: 50px; | width: 50px; | ||
height: 50px; | height: 50px; | ||
background: linear-gradient(135deg, | background: linear-gradient(135deg, var(--heading-gradient-start), var(--heading-gradient-end)); | ||
border-radius: 12px; | border-radius: 12px; | ||
display: flex; | display: flex; | ||
| Line 111: | Line 111: | ||
margin-right: 15px; | margin-right: 15px; | ||
font-size: 24px; | font-size: 24px; | ||
color: | color: var(--text-strong); | ||
} | } | ||
| Line 117: | Line 117: | ||
font-size: 22px; | font-size: 22px; | ||
font-weight: 700; | font-weight: 700; | ||
color: | color: var(--heading); | ||
margin: 0; | margin: 0; | ||
} | } | ||
| Line 137: | Line 137: | ||
width: 50px; | width: 50px; | ||
height: 50px; | height: 50px; | ||
background: | background: var(--primary); | ||
border-radius: 50%; | border-radius: 50%; | ||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
justify-content: center; | justify-content: center; | ||
color: | color: var(--text-strong); | ||
font-weight: 800; | font-weight: 800; | ||
font-size: 18px; | font-size: 18px; | ||
margin-right: 20px; | margin-right: 20px; | ||
flex-shrink: 0; | flex-shrink: 0; | ||
box-shadow: 0 4px 15px | box-shadow: 0 4px 15px var(--shadow-soft); | ||
position: relative; | position: relative; | ||
z-index: 2; | z-index: 2; | ||
| Line 160: | Line 160: | ||
font-size: 20px; | font-size: 20px; | ||
font-weight: 700; | font-weight: 700; | ||
color: | color: var(--heading); | ||
margin-bottom: 10px; | margin-bottom: 10px; | ||
} | } | ||
.eclipse-step-description { | .eclipse-step-description { | ||
color: | color: var(--text-muted); | ||
line-height: 1.6; | line-height: 1.6; | ||
margin-bottom: 8px; | margin-bottom: 8px; | ||
| Line 182: | Line 182: | ||
width: 2px; | width: 2px; | ||
height: calc(100% - 20px); | height: calc(100% - 20px); | ||
background: | background: var(--primary); | ||
z-index: 1; | z-index: 1; | ||
} | } | ||
| Line 195: | Line 195: | ||
.eclipse-item-card { | .eclipse-item-card { | ||
background: | background: var(--bg-1); | ||
border: 1px solid | border: 1px solid var(--border); | ||
border-radius: 16px; | border-radius: 16px; | ||
padding: 25px; | padding: 25px; | ||
| Line 211: | Line 211: | ||
right: 0; | right: 0; | ||
height: 4px; | height: 4px; | ||
background: | background: var(--primary); | ||
transform: scaleX(0); | transform: scaleX(0); | ||
transition: transform 0.3s ease; | transition: transform 0.3s ease; | ||
| Line 224: | Line 224: | ||
.eclipse-item-card:hover { | .eclipse-item-card:hover { | ||
transform: translateY(-5px); | transform: translateY(-5px); | ||
box-shadow: 0 10px 30px | box-shadow: 0 10px 30px var(--shadow-medium); | ||
border-color: | border-color: var(--border-strong); | ||
} | } | ||
| Line 231: | Line 231: | ||
font-size: 18px; | font-size: 18px; | ||
font-weight: 700; | font-weight: 700; | ||
color: | color: var(--heading); | ||
margin-bottom: 12px; | margin-bottom: 12px; | ||
} | } | ||
.eclipse-item-description { | .eclipse-item-description { | ||
color: | color: var(--text-muted); | ||
line-height: 1.5; | line-height: 1.5; | ||
} | } | ||
| Line 291: | Line 291: | ||
font-size: 16px; | font-size: 16px; | ||
} | } | ||
Latest revision as of 08:26, 2 January 2026
/* Modern Eclipse Tab Container */
.eclipse-modern-container {
max-width: 1000px;
margin: 0 auto;
padding: 20px;
background: var(--bg);
border-radius: 20px;
box-shadow: 0 8px 32px var(--shadow-soft);
}
/* 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: var(--bg-1);
border: 1px solid var(--border);
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 var(--shadow-medium);
border-color: var(--border-strong);
}
.eclipse-stat-icon {
font-size: 2.5rem;
margin-bottom: 15px;
display: block;
}
.eclipse-stat-title {
font-size: 14px;
font-weight: 600;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 1px;
margin-bottom: 8px;
}
.eclipse-stat-value {
font-size: 24px;
font-weight: 800;
background: var(--primary);
border: 2px solid var(--border);
border-radius: 14px;
border-color: var(--border-strong);
box-shadow: 0 4px 12px var(--shadow-soft);
}
/* Modern Content Cards */
.eclipse-content-card {
background: var(--bg-1);
border: 1px solid var(--border);
border-radius: 20px;
padding: 30px;
margin: 25px 0;
box-shadow: 0 4px 20px var(--shadow-soft);
transition: all 0.3s ease;
position: relative;
}
.eclipse-content-card:hover {
transform: translateY(-2px);
box-shadow: 0 8px 30px var(--shadow-medium);
border-color: var(--border-strong);
}
.eclipse-card-header {
display: flex;
align-items: center;
margin-bottom: 20px;
padding-bottom: 15px;
border-bottom: 2px solid var(--border);
}
.eclipse-card-icon {
width: 50px;
height: 50px;
background: linear-gradient(135deg, var(--heading-gradient-start), var(--heading-gradient-end));
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
margin-right: 15px;
font-size: 24px;
color: var(--text-strong);
}
.eclipse-card-title {
font-size: 22px;
font-weight: 700;
color: var(--heading);
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: var(--primary);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: var(--text-strong);
font-weight: 800;
font-size: 18px;
margin-right: 20px;
flex-shrink: 0;
box-shadow: 0 4px 15px var(--shadow-soft);
position: relative;
z-index: 2;
}
.eclipse-step-content {
flex: 1;
padding-top: 5px;
}
.eclipse-step-title {
font-size: 20px;
font-weight: 700;
color: var(--heading);
margin-bottom: 10px;
}
.eclipse-step-description {
color: var(--text-muted);
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: var(--primary);
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: var(--bg-1);
border: 1px solid var(--border);
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: var(--primary);
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 var(--shadow-medium);
border-color: var(--border-strong);
}
.eclipse-item-title {
font-size: 18px;
font-weight: 700;
color: var(--heading);
margin-bottom: 12px;
}
.eclipse-item-description {
color: var(--text-muted);
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;
}