Toggle 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-top: 20px; padding-bottom: 20px; line-height: 20px; text-align: center; } .home-header__pretitle { margin-bottom: 20px; color: blue; font-size: 20px; letter-spacing: 0.05em; } .home-header__title { margin: 0; font-size: 3rem; text-transform: uppercase; letter-spacing: 0.025em; line-height: 1; } .home-header__subtitle { margin-top: 20px; font-size: 20px; } .home-header__search { padding: 20px; margin-top:..."
 
No edit summary
Line 47: Line 47:


.home-header__search:hover {
.home-header__search:hover {
background-color: blue;
background-color: #f2ac00;
}
}



Revision as of 00:18, 16 June 2024

.home-header {
	position: relative;
	padding-top: 20px;
	padding-bottom: 20px;
	line-height: 20px;
	text-align: center;
}

.home-header__pretitle {
	margin-bottom: 20px;
    color: blue;
	font-size: 20px;
	letter-spacing: 0.05em;
}

.home-header__title {
	margin: 0;
	font-size: 3rem;
	text-transform: uppercase;
	letter-spacing: 0.025em;
	line-height: 1;
}

.home-header__subtitle {
	margin-top: 20px;
	font-size: 20px;
}

.home-header__search {
	padding: 20px;
	margin-top: 20px;
	margin-bottom: 20px;
	margin-left: auto;
	margin-right: auto;
	border: 1px solid;
	border-color: blue;
	border-radius: 20px;
	cursor: pointer;
	font-size: 20px;
	font-weight: 100;
	text-align: center;
}

.home-header__search .desktoponly {
	margin-left: 20px;
}

.home-header__search:hover {
	background-color: #f2ac00;
}

.home-header__searchIcon img {
	margin-right: 20px;
    opacity: 1;
}

/* 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;
	}
}