MediaWiki:Fortune.css

From CoraTO Wiki - Official Wiki
Revision as of 21:23, 12 December 2025 by Noorisei (talk | contribs) (Created page with ".fortune-page { max-width: 1200px; margin: 0 auto; } .fortune-section { background: linear-gradient(135deg, rgba(255,107,157,.06), rgba(159,208,255,.06)); border: 1px solid #dbe0ff; border-radius: 12px; padding: 14px; margin: 16px 0; } .fortune-grid { display: grid; grid-template-columns: minmax(300px, 1.2fr) minmax(280px, .8fr); gap: 16px; } .quick-access h3 { margin: 0 0 8px; } .quick-access ul { list-style: none; padding: 0; margin: 0;...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.
.fortune-page {
  max-width: 1200px;
  margin: 0 auto;
}

.fortune-section {
  background: linear-gradient(135deg, rgba(255,107,157,.06), rgba(159,208,255,.06));
  border: 1px solid #dbe0ff;
  border-radius: 12px;
  padding: 14px;
  margin: 16px 0;
}

.fortune-grid {
  display: grid;
  grid-template-columns: minmax(300px, 1.2fr) minmax(280px, .8fr);
  gap: 16px;
}

.quick-access h3 {
  margin: 0 0 8px;
}

.quick-access ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px;
}

.quick-access li {
  margin: 0;
}

.quick-access a {
  display: block;
  background: linear-gradient(135deg, #5b8cff, #9fd0ff);
  border: 1px solid rgba(91, 140, 255, .35);
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(91, 140, 255, .18);
}

.quick-access a:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(91, 140, 255, .25);
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.chip {
  background: #f7f9ff;
  border: 1px solid #e1e8ff;
  color: #2d3d70;
  border-radius: 14px;
  padding: 8px 12px;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  gap: 8px;
}

.chip span {
  font-weight: 500;
  color: #445;
}

.chip-none {
  background: #fff3f3;
  border-color: #ffd3d3;
  color: #a33;
}

.chip-beginner {
  background: linear-gradient(135deg, #eaf6ff, #d6ecff);
  border-color: #cfe8ff;
  color: #1e5d8f;
}

.chip-type {
  background: linear-gradient(135deg, #f2ffe8, #dff6c7);
  border-color: #d9f1c7;
  color: #3f6b16;
}

.chip-royal {
  background: linear-gradient(135deg, #fff0f7, #ffd3e3);
  border-color: #ffd3e3;
  color: #9b2b5c;
}

.chip-special {
  background: linear-gradient(135deg, #f5f0ff, #e4d7ff);
  border-color: #e4d7ff;
  color: #5b3aa8;
}

.point-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.point-list li {
  position: relative;
  padding-left: 24px;
  margin: 8px 0;
}

.point-list li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: linear-gradient(135deg, #5b8cff, #ff6b9d);
}

.fortune-steps .feature-list {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}

.fortune-steps .feature-list li {
  margin: 10px 0;
}

.step-line {
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: linear-gradient(135deg, #5b8cff, #ff6b9d);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.step-text {
  color: #1e293b;
}

.fortune-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(80px, 1fr));
  gap: 8px;
}

.fortune-card {
  border: 1px solid #e6e6f0;
  border-radius: 12px;
  background: #fff;
  padding: 10px;
  text-align: center;
}

.fortune-card .card-title {
  font-weight: 800;
  color: #223;
}

.fortune-card .card-rank {
  margin-top: 4px;
  font-weight: 700;
  color: #ff4f91;
}

.fortune-note {
  margin-top: 10px;
  color: #445;
}

.fortune-detail {
  border: 1px solid #dbe0ff;
  border-radius: 12px;
  background: #fff;
}

.fortune-detail[open] {
  border-color: #5b8cff;
  background: #f4f8ff;
}

.fortune-detail summary {
  padding: 12px 14px;
  cursor: pointer;
  font-weight: 800;
  color: #1e293b;
}

.fortune-detail .detail-body {
  padding: 12px 14px;
  color: #1e293b;
}

.info-card {
  border: 1px solid #e6e6f0;
  border-radius: 12px;
  background: #fff;
}

.info-card .card-body {
  padding: 12px;
}

.wikitable-like {
  border: 1px solid #e6e6f0;
  border-radius: 12px;
  background: #fff;
  padding: 12px;
}

.wikitable-like .column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wikitable-like .column ul li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  border: 1px solid #e6e6f0;
  border-radius: 8px;
}

.wikitable-like .column ul li strong {
  color: #223;
}

.wikitable-like .column ul li span {
  color: #445;
}

html[data-theme="dark"] .fortune-section {
  background: #121a29;
  border-color: rgba(159, 208, 255, .18);
}

html[data-theme="dark"] .fortune-page .section-header h2 {
  color: #cfe6ff;
}

html[data-theme="dark"] .section-lead {
  color: #a8c6e8;
}

html[data-theme="dark"] .hero-subtitle {
  color: #cfe6ff;
}

html[data-theme="dark"] .status-pill {
  background: linear-gradient(135deg, #5b8cff, #88c0ff);
}

html[data-theme="dark"] .fortune-grid .info-inline .info-box {
  background: rgba(22, 28, 41, .85);
  border-left-color: #7bbbff;
}

html[data-theme="dark"] .chip {
  background: linear-gradient(135deg, rgba(61, 97, 146, .22), rgba(61, 97, 146, .28));
  border-color: rgba(159, 208, 255, .18);
  color: #cfe6ff;
}

html[data-theme="dark"] .chip span {
  color: #cfe6ff;
}

html[data-theme="dark"] .info-card {
  background: #141c2a;
  border-color: rgba(159, 208, 255, .18);
}

html[data-theme="dark"] .info-card .card-body {
  color: #cfe6ff;
}

html[data-theme="dark"] .point-list li {
  color: #cfe6ff;
}

html[data-theme="dark"] .fortune-cards .fortune-card {
  background: #141c2a;
  border-color: rgba(159, 208, 255, .15);
}

html[data-theme="dark"] .fortune-card .card-title {
  color: #cfe6ff;
}

html[data-theme="dark"] .fortune-card .card-rank {
  color: #9fd0ff;
}

html[data-theme="dark"] .fortune-note {
  color: #a8c6e8;
}

html[data-theme="dark"] .fortune-detail {
  background: #121a29;
  border-color: rgba(159, 208, 255, .25);
}

html[data-theme="dark"] .fortune-detail[open] {
  background: #172235;
  border-color: rgba(159, 208, 255, .35);
}

html[data-theme="dark"] .fortune-detail summary {
  color: #cfe6ff;
}

html[data-theme="dark"] .fortune-detail .detail-body {
  color: #cfe6ff;
}

html[data-theme="dark"] .wikitable-like {
  background: #141c2a;
  border-color: rgba(159, 208, 255, .15);
}

html[data-theme="dark"] .wikitable-like .column ul li {
  background: #121a29;
  border-color: rgba(159, 208, 255, .12);
}

html[data-theme="dark"] .wikitable-like .column ul li strong {
  color: #cfe6ff;
}

html[data-theme="dark"] .wikitable-like .column ul li span {
  color: #cfe6ff;
}

html[data-theme="dark"] .fortune-grid .info-inline .cta-box {
  background: rgba(22, 28, 41, .85);
  border-left-color: #7bbbff;
  color: #cfe6ff;
}

html[data-theme="dark"] .step-text {
  color: #cfe6ff;
}

html[data-theme="dark"] .quick-access a {
  background: linear-gradient(135deg, #1b2a44, #223b66);
  border-color: rgba(159, 208, 255, .25);
  color: #cfe6ff;
  box-shadow: 0 2px 8px rgba(159, 208, 255, .12);
}

html[data-theme="dark"] .quick-access a:hover {
  box-shadow: 0 6px 16px rgba(159, 208, 255, .18);
}

.cora-tip-box {
  background: rgba(61, 97, 146, 0.1);
  border-left: 4px solid #3d6192;
  padding: 15px;
  border-radius: 4px;
  margin: 20px 0;
}

.warning-box {
  background: rgba(255, 87, 87, 0.1);
  border-left: 4px solid #ff5757;
  padding: 15px;
  border-radius: 4px;
  margin: 20px 0;
}

.warning-box strong {
  color: #d63030;
  display: block;
  margin-bottom: 5px;
}

html[data-theme="dark"] .warning-box {
  background: rgba(255, 87, 87, 0.15);
  border-left-color: #ff6b6b;
}

html[data-theme="dark"] .warning-box strong {
  color: #ff6b6b;
}