Template:Main page/gamestatus/styles.css

From IxWiki
Revision as of 13:37, 29 July 2024 by Heku (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
#home-gamestatus {
	padding: 0;
	display: flex;
}

.home-gamestatus-patches,
.home-gamestatus-links {
	padding: var(--space-md);
}

.home-gamestatus-patches {
	background: var(--color-surface-2);
	border-top-left-radius: var(--border-radius--medium);
	border-bottom-left-radius: var(--border-radius--medium);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.home-gamestatus-links {
	flex-grow: 1;
}

.home-badge.home-gamestatus-patch__type {
	background: var(--color-surface-3);
}

.home-badge.home-gamestatus-patch__type::before {
	content: '🗓';
}
.home-badge.home-gamestatus-patch__type--live {
	background: var( --background-color-success-subtle );
	color: var( --color-success );
}

.home-badge.home-gamestatus-patch__type--live::before {
	content: '🎉 ';
}

.home-badge.home-gamestatus-patch__type--evo {
	background: var( --background-color-destructive-subtle );
	color: var( --color-destructive );
}

.home-badge.home-gamestatus-patch__type--evo::before {
	content: '🚨 ';
}

.home-badge.home-gamestatus-patch__type[ class*="ptu" ] {
	background: var( --background-color-warning-subtle );
	color: var( --color-base );
}

.home-badge.home-gamebuild-patch__type[ class*="ptu" ]::before {
	content: '🧪 ';
}

.home-gamestatus-patch {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
    gap: var(--space-xs);
}

.home-gamestatus-patches__divider {
    height: 1px;
    background: var(--border-color-base);
}

.home-gamestatus-patch__name {
    font-size: var(--font-size-xxx-large);
    font-weight: var(--font-weight-medium);
}

.home-gamestatus-links .home-link {
	margin-top: 0;
}