2018-09-18 13:10:44 +03:00
|
|
|
.docs-header {
|
|
|
|
display: flex;
|
2022-06-02 23:57:07 +09:00
|
|
|
justify-content: space-between;
|
2019-02-15 17:56:56 +03:00
|
|
|
flex-shrink: 0;
|
2022-06-02 23:57:07 +09:00
|
|
|
padding: 12px var(--layout-padding-horizontal);
|
2019-01-25 02:23:00 +03:00
|
|
|
border-bottom: 1px solid var(--color-line-gray);
|
2022-06-02 23:57:07 +09:00
|
|
|
font-size: 18px;
|
2019-02-15 17:56:56 +03:00
|
|
|
flex-wrap: wrap;
|
|
|
|
position: relative;
|
2022-06-16 21:37:37 +08:00
|
|
|
height: var(--layout-height-header);
|
|
|
|
box-sizing: border-box;
|
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
|
|
|
background: white;
|
|
|
|
z-index: 10;
|
2018-09-18 13:10:44 +03:00
|
|
|
|
2019-02-18 11:15:03 +03:00
|
|
|
@media (--mobile){
|
|
|
|
line-height: 40px;
|
|
|
|
}
|
|
|
|
|
2022-05-24 12:49:06 +08:00
|
|
|
&__menu-link,
|
|
|
|
&__logo {
|
2018-09-18 13:10:44 +03:00
|
|
|
display: inline-block;
|
2022-06-02 23:57:07 +09:00
|
|
|
text-decoration: none;
|
|
|
|
align-self: center;
|
|
|
|
line-height: 24px;
|
2018-09-18 13:10:44 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
&__logo {
|
2022-06-02 23:57:07 +09:00
|
|
|
padding: 4px 0;
|
2018-09-18 13:10:44 +03:00
|
|
|
font-weight: bold;
|
2018-09-19 01:47:32 +03:00
|
|
|
color: inherit;
|
2018-09-18 13:10:44 +03:00
|
|
|
}
|
|
|
|
|
2022-06-02 23:57:07 +09:00
|
|
|
&__menu-link {
|
|
|
|
padding: 4px 10px;
|
|
|
|
font-weight: 500;
|
|
|
|
border-radius: 8px;
|
|
|
|
transition: background-color .13s;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: var(--color-link-hover);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-09-18 13:10:44 +03:00
|
|
|
&__menu {
|
|
|
|
display: flex;
|
2022-06-02 23:57:07 +09:00
|
|
|
margin: 0;
|
|
|
|
gap: 10px;
|
2019-02-15 17:56:56 +03:00
|
|
|
padding-left: 0;
|
2022-06-02 23:57:07 +09:00
|
|
|
font-size: 16px;
|
2019-02-15 17:56:56 +03:00
|
|
|
|
|
|
|
@media (--mobile) {
|
|
|
|
flex-basis: 100%;
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
2018-09-18 13:10:44 +03:00
|
|
|
|
|
|
|
li {
|
2019-02-15 17:56:56 +03:00
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
2018-09-18 13:10:44 +03:00
|
|
|
list-style: none;
|
2019-02-15 17:56:56 +03:00
|
|
|
|
|
|
|
@media (--mobile) {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 15px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-06-16 21:37:37 +08:00
|
|
|
li&-add {
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
|
|
|
&--desktop {
|
2019-02-15 17:56:56 +03:00
|
|
|
@media (--mobile) {
|
2022-06-16 21:37:37 +08:00
|
|
|
display: none;
|
2019-02-15 17:56:56 +03:00
|
|
|
}
|
|
|
|
}
|
2018-09-19 01:47:32 +03:00
|
|
|
|
2022-06-16 21:37:37 +08:00
|
|
|
&--mobile {
|
|
|
|
display: none;
|
|
|
|
|
2022-05-24 12:49:06 +08:00
|
|
|
@media (--mobile) {
|
2022-06-16 21:37:37 +08:00
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
right: 15px;
|
|
|
|
top: 15px;
|
|
|
|
line-height: 1em;
|
2022-05-24 12:49:06 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-09-19 01:47:32 +03:00
|
|
|
}
|
2018-09-18 13:10:44 +03:00
|
|
|
}
|