(放克麦子已使用非默认内容模型“纯文本”创建页面模板:首页/header/styles.css) |
无编辑摘要 |
||
第1行: | 第1行: | ||
.home-header { | |||
position: relative; | |||
margin-top: -1rem; | |||
margin-bottom: 2rem; | |||
padding-top: 1rem; | |||
line-height: var( --line-height-sm ); | |||
} | |||
.home-header__pretitle { | |||
margin-bottom: var( --space-xs ); | |||
color: var( --color-base--subtle ); | |||
font-size: 1rem; | |||
text-transform: uppercase; | |||
letter-spacing: 0.5em; | |||
} | |||
.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-xs ); | |||
font-size: 0.875rem; | |||
letter-spacing: 0.3em; | |||
} | |||
.home-header__search { | |||
max-width: 600px; | |||
padding: var( --space-sm ) var( --space-md ); | |||
margin-top: var( --space-md ); | |||
margin-bottom: var( --space-md ); | |||
margin-left: auto; | |||
margin-right: auto; | |||
border: 1px solid; | |||
border-color: var( --border-color-base--darker ); | |||
border-radius: var( --border-radius--pill ); | |||
color: var( --color-base--subtle ); | |||
cursor: pointer; | |||
font-size: 0.875rem; | |||
} | |||
.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 ); | |||
} | |||
.keyboard-text { | |||
padding: 0 5px; | |||
border: 1px solid; | |||
margin: 0 2px; | |||
border-radius: 4px; | |||
} | |||
html.skin-citizen-dark .home-header__searchIcon img { | |||
filter: invert( 1 ); | |||
} | |||
@media ( hover: none ) { | |||
.desktoponly { | |||
display: none; | |||
} | |||
} |