Template:Home/Header/styles.css: Difference between revisions
< Template:Home | Header
m Heku moved page Template:Star Citizen Wiki/Header/styles.css to Template:Home/Header/styles.css without leaving a redirect |
mNo edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
. | .home-header { | ||
position: relative; | |||
padding-top: var( --space-xl ); | |||
padding-bottom: var( --space-xl ); | |||
line-height: var( --line-height-sm ); | |||
text-align: center; | |||
} | } | ||
. | .home-header__pretitle { | ||
margin-bottom: var( --space-xxs ); | |||
color: var( --color-base--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; | |||
border: 1px solid; | |||
border-color: var( --border-color-interactive ); | |||
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-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; | |||
} | |||
} | } |
Latest revision as of 22:44, 31 July 2024
.home-header {
position: relative;
padding-top: var( --space-xl );
padding-bottom: var( --space-xl );
line-height: var( --line-height-sm );
text-align: center;
}
.home-header__pretitle {
margin-bottom: var( --space-xxs );
color: var( --color-base--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;
border: 1px solid;
border-color: var( --border-color-interactive );
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-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;
}
}