MediaWiki:Eclipse.css: Difference between revisions

From CoraTO Wiki - Official Wiki
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: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
   background: var(--bg);
   border-radius: 20px;
   border-radius: 20px;
   box-shadow: 0 8px 32px rgba(255, 107, 157, 0.08);
   box-shadow: 0 8px 32px var(--shadow-soft);
}
}


Line 19: Line 19:


.eclipse-stat-card {
.eclipse-stat-card {
   background: rgba(255, 255, 255, 0.9);
   background: var(--bg-1);
   border: 1px solid rgba(255, 107, 157, 0.15);
   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 rgba(255, 107, 157, 0.2);
   box-shadow: 0 12px 40px var(--shadow-medium);
   border-color: #ff6b9d;
   border-color: var(--border-strong);
}
}


Line 59: Line 59:
   font-size: 14px;
   font-size: 14px;
   font-weight: 600;
   font-weight: 600;
   color: #666666;
   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: linear-gradient(135deg, #ff6b9d, #d63384);
   background: var(--primary);
   border: 2px solid rgba(255, 111, 163, 0.18);
   border: 2px solid var(--border);
   border-radius: 14px;
   border-radius: 14px;
   border-color: rgba(255, 107, 157, 0.4);
   border-color: var(--border-strong);
   box-shadow: 0 4px 12px rgba(255, 111, 163, 0.15);
   box-shadow: 0 4px 12px var(--shadow-soft);
}
}


/* Modern Content Cards */
/* Modern Content Cards */
.eclipse-content-card {
.eclipse-content-card {
   background: rgba(255, 255, 255, 0.95);
   background: var(--bg-1);
   border: 1px solid rgba(255, 107, 157, 0.1);
   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 rgba(0, 0, 0, 0.05);
   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 rgba(255, 107, 157, 0.15);
   box-shadow: 0 8px 30px var(--shadow-medium);
   border-color: rgba(255, 107, 157, 0.3);
   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 rgba(255, 107, 157, 0.1);
   border-bottom: 2px solid var(--border);
}
}


Line 104: Line 104:
   width: 50px;
   width: 50px;
   height: 50px;
   height: 50px;
   background: linear-gradient(135deg, #ff6b9d, #d63384);
   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: white;
   color: var(--text-strong);
}
}


Line 117: Line 117:
   font-size: 22px;
   font-size: 22px;
   font-weight: 700;
   font-weight: 700;
   color: #2d2d2d;
   color: var(--heading);
   margin: 0;
   margin: 0;
}
}
Line 137: Line 137:
   width: 50px;
   width: 50px;
   height: 50px;
   height: 50px;
   background: linear-gradient(135deg, #ff6b9d, #d63384);
   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: white;
   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 rgba(255, 107, 157, 0.3);
   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: #2d2d2d;
   color: var(--heading);
   margin-bottom: 10px;
   margin-bottom: 10px;
}
}


.eclipse-step-description {
.eclipse-step-description {
   color: #666666;
   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: linear-gradient(180deg, #ff6b9d, rgba(255, 107, 157, 0.3));
   background: var(--primary);
   z-index: 1;
   z-index: 1;
}
}
Line 195: Line 195:


.eclipse-item-card {
.eclipse-item-card {
   background: rgba(255, 255, 255, 0.9);
   background: var(--bg-1);
   border: 1px solid rgba(255, 107, 157, 0.15);
   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: linear-gradient(90deg, #ff6b9d, #ff8fb0);
   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 rgba(255, 107, 157, 0.2);
   box-shadow: 0 10px 30px var(--shadow-medium);
   border-color: #ff6b9d;
   border-color: var(--border-strong);
}
}


Line 231: Line 231:
   font-size: 18px;
   font-size: 18px;
   font-weight: 700;
   font-weight: 700;
   color: #2d2d2d;
   color: var(--heading);
   margin-bottom: 12px;
   margin-bottom: 12px;
}
}


.eclipse-item-description {
.eclipse-item-description {
   color: #666666;
   color: var(--text-muted);
   line-height: 1.5;
   line-height: 1.5;
}
}
Line 291: Line 291:
   font-size: 16px;
   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) }

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;
}