Template:Main page/gamestatus/styles.css: Difference between revisions

From IxWiki
Jump to navigation Jump to search
No edit summary
ย 
m 1 revision imported
ย 
(No difference)

Latest revision as of 13:37, 29 July 2024

#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;
}