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
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 9: Line 9:
.home-header__pretitle {
.home-header__pretitle {
margin-bottom: 20px;
margin-bottom: 20px;
     color: blue;
     color: #f2ac00;
font-size: 20px;
font-size: 20px;
letter-spacing: 0.05em;
letter-spacing: 0.05em;
Line 34: Line 34:
margin-right: auto;
margin-right: auto;
border: 1px solid;
border: 1px solid;
border-color: blue;
border-color: #f2ac00;
border-radius: 20px;
border-radius: 30px;
cursor: pointer;
cursor: pointer;
font-size: 20px;
font-size: 20px;
Line 69: Line 69:
@media ( hover: none ) {
@media ( hover: none ) {
.home-header__search .desktoponly {
.home-header__search .desktoponly {
display: none;
display: initial;
}
}
}
}

Latest revision as of 01:54, 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: #f2ac00;
	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: #f2ac00;
	border-radius: 30px;
	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: initial;
	}
}