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; line-height: 1.1; text-align: center; } .home-header__pretitle { margin-bottom: 0.5rem; color: #6b7280; font-size: 0.875rem; letter-spacing: 0.05em; } .home-header__title { margin: 0; font-size:10rem; text-transform: uppercase; line-height: 0.9; font-weight: 600; } .home-header__subtitle { margin-top: 0.5rem; color: #6b7280; font-size: 0.875rem; } .home-header__search { padding: 1rem; margin-top: 2rem; margin-left:..."
 
No edit summary
Line 14: Line 14:
.home-header__title {
.home-header__title {
margin: 0;
margin: 0;
font-size:10rem;
font-size: 5rem;
text-transform: uppercase;
text-transform: uppercase;
line-height: 0.9;
line-height: 0.9;

Revision as of 00:01, 29 April 2025

.home-header {
	position: relative;
	line-height: 1.1;
	text-align: center;
}

.home-header__pretitle {
	margin-bottom: 0.5rem;
	color: #6b7280;
	font-size: 0.875rem;
	letter-spacing: 0.05em;
}

.home-header__title {
	margin: 0;
	font-size: 5rem;
	text-transform: uppercase;
	line-height: 0.9;
	font-weight: 600;
}

.home-header__subtitle {
	margin-top: 0.5rem;
	color: #6b7280;
	font-size: 0.875rem;
}

.home-header__search {
	padding: 1rem;
	margin-top: 2rem;
	margin-left: auto;
	margin-right: auto;
	max-width: 600px;
	border: 1px solid #ccc;
	border-radius: 9999px;
	background-color: #ffffff;
	cursor: pointer;
	font-size: 0.875rem;
	font-weight: 500;
	text-align: center;
}

.home-header__search .desktoponly {
	margin-left: 0.75rem;
}

.home-header__search:hover {
	background: #f9fafb;
}

.home-header__searchIcon img {
	margin-right: 1rem;
	opacity: 0.8;
}

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

html.skin-citizen-dark .home-header:before,
html.skin-citizen-dark .home-header__searchIcon img {
	filter: invert(1);
}

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