Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

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

Template page
Content deleted Content added
Created page with "#home-gamestatus { padding: 0; display: flex; } .home-gamestatus-patches, .home-gamestatus-links { padding: 10px; } .home-gamestatus-patches { background: var(--color-surface-2); border-top-left-radius: 10px; border-bottom-left-radius: 10px; display: flex; flex-direction: column; gap: 5px; } .home-gamestatus-links { flex-grow: 1; } .home-badge.home-gamestatus-patch__type { background: var(--color-surface-3); } .home-badge.home-gamestatus-patch__t..."
 
No edit summary
 
Line 6: Line 6:
.home-gamestatus-patches,
.home-gamestatus-patches,
.home-gamestatus-links {
.home-gamestatus-links {
padding: 10px;
padding: 1rem;
}
}


.home-gamestatus-patches {
.home-gamestatus-patches {
background: var(--color-surface-2);
background: var(--color-surface-2);
border-top-left-radius: 10px;
border-top-left-radius: 8px;
border-bottom-left-radius: 10px;
border-bottom-left-radius: 8px;
display: flex;
display: flex;
flex-direction: column;
flex-direction: column;
gap: 5px;
gap: 0.75rem;
}
}


Line 31: Line 31:
.home-badge.home-gamestatus-patch__type--live {
.home-badge.home-gamestatus-patch__type--live {
background: var( --background-color-success-subtle );
background: var( --background-color-success-subtle );
color: green;
color: var( --color-success );
}
}


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


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


Line 61: Line 61:
align-items: flex-start;
align-items: flex-start;
line-height: 1;
line-height: 1;
gap: 2px;
gap: 0.5rem;
}
}


Line 70: Line 70:


.home-gamestatus-patch__name {
.home-gamestatus-patch__name {
font-size: 1rem;
font-size: 1.75rem;
font-weight: 600;
font-weight: 500;
}
}



Latest revision as of 12:57, 29 September 2024

#home-gamestatus {
	padding: 0;
	display: flex;
}

.home-gamestatus-patches,
.home-gamestatus-links {
	padding: 1rem;
}

.home-gamestatus-patches {
	background: var(--color-surface-2);
	border-top-left-radius: 8px;
	border-bottom-left-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.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: 0.5rem;
}

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

.home-gamestatus-patch__name {
    font-size: 1.75rem;
    font-weight: 500;
}

.home-gamestatus-links .home-link {
	margin-top: 0;
}
Cookies help us deliver our services. By using our services, you agree to our use of cookies. We only use cookie to make the site function and save your preferences, nothing else.