(Created page with ".home-header { margin-top: 2rem; margin-bottom: 2rem; padding-top: 1rem; } .home-header__title { margin-top: 0; font-size: 1.5rem; } .home-header .home-header__subtitle { margin-top: 0.4rem; color: var( --color-base--subtle ); font-size: 0.875rem; } .home-header__search { max-width: 600px; padding: 0.6rem 0.8rem; margin: 0.8rem auto 0 auto; background: var( --color-surface-1 ); border-radius: 100px; box-shadow: var( --box-shadow-card ); color: var( --co...") Â |
No edit summary  |
||
Line 1: | Line 1: | ||
.home-header { | .home-header { | ||
position: relative; | |||
margin-bottom: | padding-top: var( --space-xxl ); | ||
padding-bottom: var( --space-xxl ); | |||
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 { | .home-header__title { | ||
margin | margin: 0; | ||
font-size: 1 | font-size: 3rem; | ||
text-transform: uppercase; | |||
letter-spacing: 0.025em; | |||
line-height: 1; | |||
} | } | ||
.home-header__subtitle { | |||
margin-top | margin-top: var( --space-xxs ); | ||
font-size: var( --font-size-small ); | |||
font-size: | |||
} | } | ||
.home-header__search { | .home-header__search { | ||
padding: var( --space-md ); | |||
margin-top: var( --space-lg ); | |||
margin-bottom: var( --space-md ); | |||
margin-left: auto; | |||
margin-right: auto; | |||
max-width: 600px; | max-width: 600px; | ||
background-color: var( --color-surface-2 ); | |||
border-radius: var( --border-radius-pill ); | |||
background: var( --color-surface- | |||
border-radius | |||
cursor: pointer; | cursor: pointer; | ||
font-size: | 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-color: var( --background-color-button-quiet--hover ); | |||
} | } | ||
.home-header__searchIcon img { | .home-header__searchIcon img { | ||
margin-right: | margin-right: var( --space-md ); | ||
   opacity: var( --opacity-icon-base ); |    opacity: var( --opacity-icon-base ); | ||
} | } | ||
.keyboard- | /* 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 { | html.skin-citizen-dark .home-header__searchIcon img { | ||
filter: invert( 1 ); | filter: invert( 1 ); | ||
} | } | ||
@media ( hover: none ) { | @media ( hover: none ) { | ||
.desktoponly { | .home-header__search .desktoponly { | ||
display: none; | display: none; | ||
} | } | ||
} | } |
Latest revision as of 11:02, 12 February 2025
.home-header {
position: relative;
padding-top: var( --space-xxl );
padding-bottom: var( --space-xxl );
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;
text-transform: uppercase;
letter-spacing: 0.025em;
line-height: 1;
}
.home-header__subtitle {
margin-top: var( --space-xxs );
font-size: var( --font-size-small );
}
.home-header__search {
padding: var( --space-md );
margin-top: var( --space-lg );
margin-bottom: var( --space-md );
margin-left: auto;
margin-right: auto;
max-width: 600px;
background-color: var( --color-surface-2 );
border-radius: var( --border-radius-pill );
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-color: var( --background-color-button-quiet--hover );
}
.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;
}
}