MediaWiki:ChaosTokens.css
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: 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 }