MediaWiki:ChaosTokens.css: Difference between revisions
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: | background: var(--bg-1); | ||
border-radius: 16px; | border-radius: 16px; | ||
padding: 16px; | padding: 16px; | ||
box-shadow: 0 6px 24px | box-shadow: 0 6px 24px var(--shadow-soft); | ||
border: 1px solid | 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: | color: var(--heading); | ||
} | } | ||
.token-meta { | .token-meta { | ||
| Line 38: | Line 38: | ||
} | } | ||
.token-meta-item { | .token-meta-item { | ||
background: | background: var(--bg-1); | ||
border: 1px solid | border: 1px solid var(--border); | ||
border-radius: 12px; | border-radius: 12px; | ||
padding: 10px; | padding: 10px; | ||
font-size: 0.9rem; | font-size: 0.9rem; | ||
color: | color: var(--text-muted); | ||
} | } | ||
.token-cfs { | .token-cfs { | ||
display: inline-block; | display: inline-block; | ||
background: | background: var(--primary); | ||
color: | 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: | background: var(--bg-1); | ||
border: 1px solid | border: 1px solid var(--border); | ||
border-left: 4px solid | border-left: 4px solid var(--primary); | ||
border-radius: 12px; | border-radius: 12px; | ||
padding: 16px; | padding: 16px; | ||
color: | color: var(--text-muted); | ||
} | } | ||
@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 }