MediaWiki:ChaosTokens.css: Difference between revisions

From CoraTO Wiki - Official Wiki
Jump to navigation Jump to search
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..."
 
No edit summary
 
Line 11: Line 11:
}
}
.token-card {
.token-card {
   background: #ffffff;
   background: var(--bg-1);
   border-radius: 16px;
   border-radius: 16px;
   padding: 16px;
   padding: 16px;
   box-shadow: 0 6px 24px rgba(255, 79, 145, 0.18);
   box-shadow: 0 6px 24px var(--shadow-soft);
   border: 1px solid rgba(255, 107, 157, 0.15);
   border: 1px solid var(--border);
   box-sizing: border-box;
   box-sizing: border-box;
   max-width: 100%;
   max-width: 100%;
Line 29: Line 29:
   font-size: 1.1rem;
   font-size: 1.1rem;
   font-weight: 600;
   font-weight: 600;
   color: #2d2d2d;
   color: var(--heading);
}
}
.token-meta {
.token-meta {
Line 38: Line 38:
}
}
.token-meta-item {
.token-meta-item {
   background: linear-gradient(135deg, #fff5f8, #ffeef3);
   background: var(--bg-1);
   border: 1px solid rgba(255, 107, 157, 0.2);
   border: 1px solid var(--border);
   border-radius: 12px;
   border-radius: 12px;
   padding: 10px;
   padding: 10px;
   font-size: 0.9rem;
   font-size: 0.9rem;
   color: #666666;
   color: var(--text-muted);
}
}
.token-cfs {
.token-cfs {
   display: inline-block;
   display: inline-block;
   background: linear-gradient(135deg, #ff6b9d 0%, #ffc3e0 100%);
   background: var(--primary);
   color: #ffffff;
   color: var(--text-strong);
   padding: 6px 10px;
   padding: 6px 10px;
   border-radius: 12px;
   border-radius: 12px;
Line 65: Line 65:
.note-box {
.note-box {
   margin-top: 16px;
   margin-top: 16px;
   background: linear-gradient(135deg, #fff5f8, #ffeef3);
   background: var(--bg-1);
   border: 1px solid rgba(255, 107, 157, 0.2);
   border: 1px solid var(--border);
   border-left: 4px solid #ff6b9d;
   border-left: 4px solid var(--primary);
   border-radius: 12px;
   border-radius: 12px;
   padding: 16px;
   padding: 16px;
   color: #666666;
   color: var(--text-muted);
}
}
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) {
@media (max-width: 600px) {

Latest revision as of 08:23, 2 January 2026

.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: var(--bg-1);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 6px 24px var(--shadow-soft);
  border: 1px solid var(--border);
  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: var(--heading);
}
.token-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  margin-top: 8px;
}
.token-meta-item {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.token-cfs {
  display: inline-block;
  background: var(--primary);
  color: var(--text-strong);
  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: var(--bg-1);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  padding: 16px;
  color: var(--text-muted);
}

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