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

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

Template page
No edit summary
No edit summary
 
(25 intermediate revisions by the same user not shown)
Line 5: Line 5:
#home-nav .home-card__foreground {
#home-nav .home-card__foreground {
     font-weight: var( --font-weight-medium );
     font-weight: var( --font-weight-medium );
}
html.skin-citizen-light .mw-parser-output .template-navpill-background:after {
    background: linear-gradient(to right, #f2f4f8, transparent);
}
html.skin-citizen-dark .mw-parser-output .template-navpill-background:after {
    background: linear-gradient(to right, #0c0e12, transparent);
}
html.skin-citizen-dark.citizen-feature-pure-black-clientpref-1 .mw-parser-output .template-navpill-background:after {
    background: linear-gradient(to right, #000, transparent);
}
}


Line 77: Line 63:




.home-header {
.home-section-header {
border: 1px solid var( --border-color-base );
border: 1px solid var( --border-color-base );
border-radius: var( --border-radius-medium );
border-radius: var( --border-radius-medium );
Line 83: Line 69:
}
}


.home-header .home-card {
.home-section-header {
height: 2rem;
margin-top: 0.25rem;
border-top-left-radius: 0;
margin-bottom: 0.25rem;
border-top-right-radius: 0;
}
 
.home-section-header .home-card {
height: 2.0rem;
}
}


.home-header .home-card__background:after {
.home-section-header .home-card__background:after {
/*
/*
* Theme gradient color
* Theme gradient color
* FIXME: Find a way to make customize it through wikitext  
* FIXME: Find a way to make customize it through wikitext  
*/
*/
background: linear-gradient(to right,#101e3c 1%,transparent 33.3%);
/*background: linear-gradient(to right,#101e3c 1%,transparent 33.3%);*/
}
 
.home-section-header .home-card__background, .home-section-header .home-card.home-card--button {   
background: var( --color-surface-1 );
}
 
.home-section-header .home-card__foreground, .home-section-header .home-card__foreground .home-card__header {
    color: var( --color-emphasized );
}
}

Latest revision as of 23:22, 28 December 2024

#home-nav {
	margin-top: 1rem;
}

#home-nav .home-card__foreground {
    font-weight: var( --font-weight-medium );
}

.home-event {
	border: 1px solid var( --border-color-base );
	border-radius: var( --border-radius-medium );
	background: var( --color-surface-1 );
}

.home-gameinfo {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: var( --space-xs ) var( --space-md );
	white-space: nowrap;
	line-height: 1;
	overflow-x: auto;
	font-size: var( --font-size-small );
	gap: var( --space-xl );
}

.home-gameinfo-label {
	color: var( --color-subtle );
	font-size: var( --font-size-x-small );
	letter-spacing: 0.05em;
}

.home-gameinfo-list {
	display: flex;
}

.home-gameinfo-list-item {
	display: flex;
	align-items: center;
	gap: var( --space-xs );
	font-weight: var( --font-weight-medium );
}

.home-gameinfo-list-item + .home-gameinfo-list-item {
	margin-left: var( --space-sm );
	border-left: 1px solid var( --border-color-base );
	padding-left: var( --space-sm );
}

.home-event .home-card {
	height: 5rem;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

.home-event .home-card__background:after {
	/*
	 * Theme gradient color
	 * FIXME: Find a way to make customize it through wikitext 
	 */
	background: linear-gradient(to right,#101e3c 1%,transparent 33.3%);
}


.home-section-header {
	border: 1px solid var( --border-color-base );
	border-radius: var( --border-radius-medium );
	background: var( --color-surface-1 );
}

.home-section-header {
	margin-top: 0.25rem;
	margin-bottom: 0.25rem;
}

.home-section-header .home-card {
	height: 2.0rem;
}

.home-section-header .home-card__background:after {
	/*
	 * Theme gradient color
	 * FIXME: Find a way to make customize it through wikitext 
	 */
	/*background: linear-gradient(to right,#101e3c 1%,transparent 33.3%);*/
}

.home-section-header .home-card__background, .home-section-header .home-card.home-card--button {     
	background: var( --color-surface-1 );
}

.home-section-header .home-card__foreground, .home-section-header .home-card__foreground .home-card__header {
    color: var( --color-emphasized );
}