MediaWiki:ChaosTokens.css

From CoraTO Wiki - Official Wiki
Revision as of 22:58, 5 December 2025 by Noorisei (talk | contribs) (Created page with ".tokens-section { max-width: 1200px; margin: 0 auto; padding: 24px; } .tokens-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; width: 100%; } .token-card { background: #ffffff; border-radius: 16px; padding: 16px; box-shadow: 0 6px 24px rgba(255, 79, 145, 0.18); border: 1px solid rgba(255, 107, 157, 0.15); box-sizing: border-box; max-width: 100%; } .tokens-section .token-card { width: 100%; justify-s...")
(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.
.tokens-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}
.tokens-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  width: 100%;
}
.token-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 6px 24px rgba(255, 79, 145, 0.18);
  border: 1px solid rgba(255, 107, 157, 0.15);
  box-sizing: border-box;
  max-width: 100%;
}
.tokens-section .token-card { width: 100%; justify-self: stretch }
.token-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.token-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2d2d2d;
}
.token-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  margin-top: 8px;
}
.token-meta-item {
  background: linear-gradient(135deg, #fff5f8, #ffeef3);
  border: 1px solid rgba(255, 107, 157, 0.2);
  border-radius: 12px;
  padding: 10px;
  font-size: 0.9rem;
  color: #666666;
}
.token-cfs {
  display: inline-block;
  background: linear-gradient(135deg, #ff6b9d 0%, #ffc3e0 100%);
  color: #ffffff;
  padding: 6px 10px;
  border-radius: 12px;
  font-weight: 700;
}
.npc-inline {
  display: flex;
  align-items: center;
  gap: 10px;
}
.npc-inline img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}
.note-box {
  margin-top: 16px;
  background: linear-gradient(135deg, #fff5f8, #ffeef3);
  border: 1px solid rgba(255, 107, 157, 0.2);
  border-left: 4px solid #ff6b9d;
  border-radius: 12px;
  padding: 16px;
  color: #666666;
}
 
html[data-theme="dark"] .token-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"] .token-title { color: #cfe6ff }
html[data-theme="dark"] .token-meta-item { background: linear-gradient(135deg, rgba(39,76,119,.12), rgba(39,76,119,.06)); border: 1px solid rgba(159,208,255,.18); color: #cfe6ff }
html[data-theme="dark"] .token-cfs { background: linear-gradient(135deg, #274c77, #1b2b41); color: #ffffff }
html[data-theme="dark"] .note-box { background: linear-gradient(135deg, rgba(39,76,119,.12), rgba(39,76,119,.06)); border: 1px solid rgba(159,208,255,.18); color: #cfe6ff }

@media (max-width: 600px) {
  .tokens-section { padding: 16px }
  .tokens-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px }
}

@media (max-width: 575px) {
  .tokens-grid { grid-template-columns: 1fr }
  .token-meta { grid-template-columns: 1fr }
  #tab-solo.tab-content.active { padding: 8px 12px }
  #tab-solo .tokens-section { padding: 8px }
  #tab-solo .nested-content { padding: 8px }
}

/* Minimum width for nested content to avoid squeezing */
#tab-solo .nested-content.active,
#tab-party .nested-content.active { min-width: 325px }