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/header/styles.css: Difference between revisions

Template page
Created page with ".home-header { position: relative; padding-block: 3.5rem; line-height: var( --line-height-xx-small ); text-align: center; } .home-header__pretitle { margin-bottom: var( --space-xxs ); color: var( --color-subtle ); font-size: var( --font-size-small ); letter-spacing: 0.05em; } .home-header__title { --display-font-size: min( calc( 2.5rem + 3.9vw ), 4.5rem ); margin: 0; font-size: var( --display-font-size ); text-transform: uppercase; line-height: 0.9; fo..."
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 17: Line 17:
margin: 0;
margin: 0;
font-size: var( --display-font-size );
font-size: var( --display-font-size );
text-transform: uppercase;
line-height: 0.9;
line-height: 0.9;
font-weight: var( --font-weight-semi-bold );
font-weight: var( --font-weight-semi-bold );
Line 50: Line 49:


.home-header__search:hover {
.home-header__search:hover {
--gradient: #120d0e, #321d13, #512d19, #713d1e, #90571d, #b0701b, #cf8a1a, #de9822, #eeA529, #fdb331, #eeA529, #de9822, #cf8a1a, #b0701b, #90571d, #713d1e, #512d19, #321d13, #120d0e;
--gradient: #2b0057, #4b0082, #5a2ca0, #6a5acd,  
#4169e1, #1e90ff, #00bfff, #87cefa,  
#1e90ff, #4169e1, #6a5acd, #5a2ca0, #4b0082, #2b0057;
--gradient-blur: 8px;
--gradient-blur: 8px;
background: var( --color-surface-0 );
background: var( --color-surface-0 );

Latest revision as of 14:39, 6 September 2025

.home-header {
	position: relative;
	padding-block: 3.5rem;
	line-height: var( --line-height-xx-small );
	text-align: center;
}

.home-header__pretitle {
	margin-bottom: var( --space-xxs );
    color: var( --color-subtle );
	font-size: var( --font-size-small );
	letter-spacing: 0.05em;
}

.home-header__title {
	--display-font-size: min( calc( 2.5rem + 3.9vw ), 4.5rem );
	margin: 0;
	font-size: var( --display-font-size );
	line-height: 0.9;
	font-weight: var( --font-weight-semi-bold );
}

.home-header__subtitle {
	margin-top: var( --space-xxs );
	color: var( --color-subtle );
	font-size: var( --font-size-small );
}

.home-header__search {
	--gradient: #87bfdb, #77abC8, #6797b5, #577f9d, #476684, #43668a, #3e668f, #304a66, #212e3d, #304a66, #3e668f, #43668a, #476684, #577f9d, #6797b5, #77abC8, #87bfdb;
	--gradient-blur: 4px;
	padding: var( --space-md );
	margin-top: var( --space-xl );
	margin-left: auto;
	margin-right: auto;
	max-width: 600px;
	border: var( --border-base );
	border-radius: var( --border-radius-pill );
	background-color: var( --color-surface-1 );
	cursor: pointer;
	font-size: var( --font-size-small );
	font-weight: var( --font-weight-medium );
	text-align: center;
}

.home-header__search .desktoponly {
	margin-left: var( --space-xs );
}

.home-header__search:hover {
	--gradient: #2b0057, #4b0082, #5a2ca0, #6a5acd, 
#4169e1, #1e90ff, #00bfff, #87cefa, 
#1e90ff, #4169e1, #6a5acd, #5a2ca0, #4b0082, #2b0057;
	--gradient-blur: 8px;
	background: var( --color-surface-0 );
}

.home-header__searchIcon img {
	margin-right: var( --space-md );
    opacity: var( --opacity-icon-base );
}

/* Fix vertical alignment problem */
.home-header__search .keyboard-key {
	display: inline;
	padding-top: 0.1em;
	padding-bottom: 0.1em;
}

.home-header:before,
.home-header__searchIcon img {
	filter: var( --filter-invert );
}

@media ( hover: none ) {
	.home-header__search .desktoponly {
		display: none;
	}
}