(Новая страница: «.home-header { position: relative; margin-top: -1rem; margin-bottom: 2rem; padding-top: 1rem; line-height: 1.375; } .home-header:before { content: ""; position: absolute; top: 1rem; bottom: 4.75rem; left: 0; right: 0; opacity: 0.1; →background-image: url(https://starcitizen.tools/resources/assets/sitelogo.svg);: background-repeat: no-repeat; background-position: right; } .home-header__pretitle { margin-botto...») |
Bliacia (обсуждение | вклад) Нет описания правки |
||
| Строка 1: | Строка 1: | ||
.home-header { | .home-header { | ||
text-align: center; | |||
margin: 3rem 0; | |||
} | } | ||
.home-header__pretitle { | .home-header__pretitle { | ||
color: #7faad9; | |||
font-size: 0.9rem; | |||
letter-spacing: 1px; | |||
margin-bottom: 0.5rem; | |||
text-transform: uppercase; | |||
} | } | ||
.home-header__title { | .home-header__title { | ||
font-size: 2.5rem; | |||
font-weight: 700; | |||
color: #fff; | |||
margin: 0.5rem 0; | |||
} | } | ||
.home-header__subtitle { | .home-header__subtitle { | ||
font-size: 1rem; | |||
color: #bbb; | |||
margin-bottom: 2rem; | |||
} | } | ||
.home-header__search { | .home-header__search { | ||
display: inline-flex; | |||
align-items: center; | |||
background: #1d242c; | |||
border: 1px solid #2e3a46; | |||
border-radius: 12px; | |||
padding: 0.7rem 1.2rem; | |||
font-size: 0.95rem; | |||
color: #ccc; | |||
cursor: text; | |||
transition: all 0.2s ease; | |||
} | } | ||
.home-header__search:hover { | .home-header__search:hover { | ||
border-color: #4a90e2; | |||
color: #fff; | |||
} | } | ||
.home-header__searchIcon | .home-header__searchIcon { | ||
margin-right: 0.6rem; | |||
opacity: 0.7; | |||
} | } | ||
.home-header__searchText a { | |||
.home- | color: #7faad9; | ||
text-decoration: none; | |||
} | } | ||
.home-header__searchText a:hover { | |||
text-decoration: underline; | |||
} | } | ||
kbd { | |||
background: #2e3a46; | |||
padding: 2px 6px; | |||
border-radius: 4px; | |||
font-size: 0.85rem; | |||
color: #eee; | |||
} | } | ||
Версия от 12:05, 29 сентября 2025
.home-header {
text-align: center;
margin: 3rem 0;
}
.home-header__pretitle {
color: #7faad9;
font-size: 0.9rem;
letter-spacing: 1px;
margin-bottom: 0.5rem;
text-transform: uppercase;
}
.home-header__title {
font-size: 2.5rem;
font-weight: 700;
color: #fff;
margin: 0.5rem 0;
}
.home-header__subtitle {
font-size: 1rem;
color: #bbb;
margin-bottom: 2rem;
}
.home-header__search {
display: inline-flex;
align-items: center;
background: #1d242c;
border: 1px solid #2e3a46;
border-radius: 12px;
padding: 0.7rem 1.2rem;
font-size: 0.95rem;
color: #ccc;
cursor: text;
transition: all 0.2s ease;
}
.home-header__search:hover {
border-color: #4a90e2;
color: #fff;
}
.home-header__searchIcon {
margin-right: 0.6rem;
opacity: 0.7;
}
.home-header__searchText a {
color: #7faad9;
text-decoration: none;
}
.home-header__searchText a:hover {
text-decoration: underline;
}
kbd {
background: #2e3a46;
padding: 2px 6px;
border-radius: 4px;
font-size: 0.85rem;
color: #eee;
}