Template:Main page/header/styles.css
Template page
More actions
/*.home-header {
position: relative;
margin-top: -1rem;
margin-bottom: 2rem;
padding-top: 1rem;
line-height: var( --line-height-xx-small );
text-align: center;
}
.home-header__pretitle {
color: var( --color-subtle );
font-size: 0.875rem;
}
.home-header__title {
margin: 0;
font-size: 3rem;
line-height: 1;
}
.home-header__subtitle {
margin-top: var( --space-xs );
font-size: 0.875rem;
}
@media ( hover: none ) {
.desktoponly {
display: none;
}
}*/
.home-header {
position: relative;
margin-top: -1rem;
margin-bottom: 2rem;
padding-top: 1rem;
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 {
margin: 0;
font-size: 3rem;
line-height: 1;
}
.home-header__subtitle {
margin-top: var( --space-xxs );
color: var( --color-subtle );
font-size: var( --font-size-small );
}
.home-header__search {
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 {
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;
}
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;
}
}